
python_error
python
蓝色的simon
唯有美食与爱不可辜负
展开
-
pip安装cryptography时出错
执行以下命令pip install cryptography==3.4.6 --only-binary=:all:如果还是失败尝试升级pippip install --upgrade pip如果升级失败,或者升级后Cannot open D:\XXX\XXX\venv\Scripts\pip-script.py请参考我以前的文章https://blog.youkuaiyun.com/qq_45135600/article/details/122702282?spm=1001.2014.3001.550原创 2022-01-27 11:49:57 · 1429 阅读 · 0 评论 -
Cannot open D:\XXX\XXX\venv\Scripts\pip-script.py
升级pippip install --upgrade pip升级后installpip install 时报错Cannot open D:\XXX\XXX\venv\Scripts\pip-script.py在当前虚拟环境目录下 输入easy_install pip成功以后最好在升级一次pip,在install原创 2022-01-27 11:45:00 · 1274 阅读 · 0 评论 -
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it w
环境windowspython3.6报错pip install -r requirements.txtdistutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/点开链接下载原创 2022-01-27 11:37:35 · 11147 阅读 · 0 评论 -
解决 Command “python setup.py egg_info“ failed with error code 1
在windows 命令行执行 pip install -r requirements.txt 报错Command "python setup.py egg_info" failed with error code 1解决方法升级 setuptools 和 pippip install --upgrade setuptoolspython -m pip install --upgrade pip原创 2022-01-26 16:25:58 · 362 阅读 · 0 评论 -
supervisorctl 报错[Errno 111] Connection refused
配置完应用之后,重新加载配置supervisorctl reload缺出现如下错误:error: <class 'socket.error'>, [Errno 111] Connection refused: file: /usr/lib64/python2.7/socket.py line: 224检查supervisord进程ps aux|grep supervisord手动启动进程如果上一步没发现进程号,那么可以执行下面的命令supervisord -c /etc/原创 2021-07-19 20:15:34 · 3708 阅读 · 0 评论