0
我尝试使用来自standard libary的导入scrypt。无法从hashlib导入scrypt
无论是在我的本地计算机(ubuntu 16.04)还是服务器(heroku/heroku堆栈),导入都会失败。
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'scrypt'
在这两个系统上都安装了openssl 1.0.2g。这是一个知道的问题,或者我该如何解决它?
正如前面提到的openssl 1.0.2安装。 – R3turnz
是的,但是您需要在版本> = ** 1.1 **中使用OpenSSL。 – sbhle