我一直难以使用新的密码哈希laravel,只是在laravel中引入了(氩气)。我收到此错误消息
Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I'
(this will throw an Error in a future version of PHP)
{"exception":"[object] (ErrorException(code: 0):
Use of undefined constant PASSWORD_ARGON2I -
assumed 'PASSWORD_ARGON2I' (this will throw an Error
in a future version of PHP)
我的php版本类型是argon建议的版本,可以在mac系统上运行
PHP 7.2.0 (cli) (built: Dec 11 2017 16:00:14) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies
请帮助
答案 0 :(得分:0)
最可能的原因是未使用from openpyxl import load_workbook
import pandas as pd
book = load_workbook(file_name)
writer = pd.ExcelWriter(file_name, engine='openpyxl')
writer.book = book
data_DifferingRates.to_excel(writer, sheet_name='Differing Rates')
data_DifferingMonthorYear.to_excel(writer, sheet_name='Differing Month or Year')
data_DoubleEntries.to_excel(writer, sheet_name='Double Entries')
writer.save()
编译PHP。
参考:PHP Warning: Use of undefined constant PASSWORD_ARGON2ID when using password_hash() in php 7.3