玖叶教程网

前端编程开发入门

fatal error in launcher:unable to create process using 解决办法

安装python库的时候老是提示:fatal error in launcher:unable to create process using,script目录也添加到了系统变量path中,就是报错。不直接pip安装了,换了命令:python -m pip install 库名称+下载源,运行成功。遇到同问题的朋友也可以尝试下。

附几个常用的库:

pygame库
命令安装 python -m pip install pygame -i https://pypi.tuna.tsinghua.edu.cn/simple
PIL库(pillow)
命令安装 python -m pip install pillow -i https://pypi.tuna.tsinghua.edu.cn/simple
requests库
命令安装 python -m pip install requests -i https://pypi.tuna.tsinghua.edu.cn/simple
baidu-aip库
命令安装 python -m pip install baidu-aip -i https://pypi.tuna.tsinghua.edu.cn/simple
easygui库
命令安装 python -m pip install easygui -i https://pypi.tuna.tsinghua.edu.cn/simple
matplotlib库
命令安装 python -m pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
BeautifulSoup库
命令安装 python -m pip install beautifulsoup4 -i https://pypi.tuna.tsinghua.edu.cn/simple
lxml库
命令安装 python -m pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple
PyAudio库
命令安装 python -m pip install PyAudio -i https://pypi.tuna.tsinghua.edu.cn/simple
numpy库
命令安装 python -m pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
如果matplotlib库安装成功,numpy库应该也会被安装上,可以使用pip list 查看一下。
python -m pip install aiohttp

发表评论:

控制面板
您好,欢迎到访网站!
  查看权限
网站分类
最新留言