1.启动server服务提示cryptography is required for sha256_password or caching_sha2_passw
方法1:重新创建超级管理员ok
方法二:需要安装cryptography
下载exe版本
安装包地址:
http://www.voidspace.org.uk/python/pycrypto-2.6.1/pycrypto-2.6.1.win32-py3.4.exe
2.点击运行提示python version 3.4 required ,which was not found in the registry
Python version 3.4 required, which was not found in the registry.解决
问题描述: 在Win7环境下已安装Python3.4,准备安装numpy和nltk,运行安装程序报如题错误,具体解决方案如下:
1.将LOCAL_MACHINE\software\python\PyhtonCore\3.4导出,不妨设为3_4.reg,
2.编辑3_4.reg,将LOCAL_MACHINE全部替换为CURRENT_USER,点击保存,
3.双击运行3_4.reg文件,现在CURRENT_USER\software\python\PyhtonCore应该存在了3.4目录了
3.重新运行exe程序安装成功,安装cryptography成功
4.python manage.py runserver启动服务
网友评论