- 博客(7)
- 收藏
- 关注
转载 ERROR:Command errored out with exit status 1:python setup.py egg_info Check the logs for full comman
ERROR:Command errored out with exit status 1:python setup.py egg_info Check the logs for full comman运行:pip install --upgrade setuptools && python -m pip install --upgrade pip然后继续安装
2021-11-17 16:02:15 1036
转载 安装git时报错:ERROR:Could not find a version that satisfies the requirement git (from versions:none)
安装git时报错: ERROR:Could not find a version that satisfies the requirement git (from versions:none) ERROR:Not matching distribution found for git更新:sudo apt-get update然后再安装git:apt-get install git然后安装完成
2021-11-17 15:52:07 7928 6
原创 TypeError: expected str, bytes or os.PathLike object, not NoneType
使用Linux服务器时报错:TypeError: expected str, bytes or os.PathLike object, not NoneType解决方法:在 .bashrc文件中添加LD_LIBRARY_PATH=${CONDA_PREFIX}/lib pyinstaller保存退出,然后运行source ~/.bashrc更新环境变量
2021-10-31 21:44:17 1904
原创 Pycharm的terminal闪退问题解决
TOCPycharm的terminal闪退File->setting->Tools->Terminal->Shell path:把Shell path修改为cmd.exe
2021-10-20 21:31:26 3448 5
原创 运行python代码时遇到 ModuleNotFoundError: No module named ‘pygame‘的问题
运行python代码时遇到 ModuleNotFoundError: No module named 'pygame'的问题说明Anaconda没有装pygame包 ,打开Anaconda Prompt(Anaconda)窗口,如下图:输入 pip install pygame ,然后再回车即可,然后就会自动下载安装pygame(窗口不小心关掉了,没有截图)...
2021-01-08 14:58:55 619
原创 安装cv2报错,解决方法
添加链接描述报错:ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly解决方法:pip install -i https://mirrors.aliyun.com/pypi/simple opencv-python参考博客:
2021-01-02 21:47:34 1909
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人