日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > python >内容正文

python

运行pip list报错:Fatal error in launcher: Unable to create process using...python\Scripts\pip.exe list

發布時間:2025/3/20 python 19 豆豆
生活随笔 收集整理的這篇文章主要介紹了 运行pip list报错:Fatal error in launcher: Unable to create process using...python\Scripts\pip.exe list 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

文章目錄

    • 更新
    • 今天重裝了電腦,將python系統變量添加了,但是pip打不開

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

更新下pip就好了- -

python -m pip install --upgrade pip

如果安裝超時就用鏡像源裝:

python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip


可以用了,撒花??:

參考文章1:win10如何將已有python環境變量添加到電腦中 錯誤 Fatal error in launcher: Unable to create process using pip.exe 解決辦法

參考文章2:解決"pip Fatal error in launcher: Unable to create process using … "的錯誤

參考文章3:解決pip安裝時速度慢的問題 鏡像源(pip install -i [鏡像源地址] [包名])

更新

but,但我發現這不是解決問題的根本辦法!!雖然pip能用了,其他的卻不能,比如jupyter notebook

據說可以用python安裝包修復一下,,但是我就不那么做了,我卸載不能用的包,再重裝一下算了!!

but,不行,還是用不了!!

老老實實下python安裝包修復:

but,當我運行python后,居然沒看到有修復選項!!應該很有可能是沒寫進注冊表里!!

重裝吧!!



安裝完成!!

試試

但不是我想指定的python,我要指定原來的python!!

修改環境變量:

居然沒找到python的!!!

一定是剛剛裝的時候沒點add path,重裝!!!




測試!!

更改環境變量:


不行,搞不定,得直接將python裝到我的目標文件夾!!

先卸載:

我明明都卸載了怎么還有,見鬼了!

到這卸看你還卸不掉?

發現還是沒卸掉,運行pip list,哎,這不是我自己的那個python嗎???

好吧 - -

還是搞不定,準備重新弄個python專用包

不勾選最后一個

這樣選

裝好了

庫全部都要重裝了0 - 0

不過用鏡像庫裝,也快。。

終于能打開jupyter notebook了。。

今天重裝了電腦,將python系統變量添加了,但是pip打不開

Microsoft Windows [版本 10.0.17763.194] (c) 2018 Microsoft Corporation。保留所有權利。C:\Users\Administrator>pip Fatal error in launcher: Unable to create process using '"d:\20200228_play_with_pytorch\python\python.exe" "E:\20200228_play_with_pytorch\python\Scripts\pip.exe" ': ???????????C:\Users\Administrator>

按照上面更新pip也沒用,說pip已經是最新版本了

那我卸載pip試試

在pip文件夾運行cmd

E:\20200228_play_with_pytorch\python\Lib\site-packages\tensorflow\tools\pip_package


然后執行python setup.py install

E:\20200228_play_with_pytorch\python\Lib\site-packages\tensorflow\tools\pip_package>python setup.py install running install running bdist_egg running egg_info creating tensorflow.egg-info writing tensorflow.egg-info\PKG-INFO writing dependency_links to tensorflow.egg-info\dependency_links.txt writing entry points to tensorflow.egg-info\entry_points.txt writing requirements to tensorflow.egg-info\requires.txt writing top-level names to tensorflow.egg-info\top_level.txt writing manifest file 'tensorflow.egg-info\SOURCES.txt' reading manifest file 'tensorflow.egg-info\SOURCES.txt' writing manifest file 'tensorflow.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_ext warning: install_lib: 'build\lib' does not exist -- no Python modules to installcreating build creating build\bdist.win-amd64 creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\EGG-INFO copying tensorflow.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying tensorflow.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying tensorflow.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO copying tensorflow.egg-info\entry_points.txt -> build\bdist.win-amd64\egg\EGG-INFO copying tensorflow.egg-info\not-zip-safe -> build\bdist.win-amd64\egg\EGG-INFO copying tensorflow.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO copying tensorflow.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO creating dist creating 'dist\tensorflow-1.11.0-py3.7-win-amd64.egg' and adding 'build\bdist.win-amd64\egg' to it removing 'build\bdist.win-amd64\egg' (and everything under it) Processing tensorflow-1.11.0-py3.7-win-amd64.egg creating e:\20200228_play_with_pytorch\python\lib\site-packages\tensorflow-1.11.0-py3.7-win-amd64.egg Extracting tensorflow-1.11.0-py3.7-win-amd64.egg to e:\20200228_play_with_pytorch\python\lib\site-packages Adding tensorflow 1.11.0 to easy-install.pth file Installing freeze_graph-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing freeze_graph.exe script to E:\20200228_play_with_pytorch\python\Scripts Installing saved_model_cli-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing saved_model_cli.exe script to E:\20200228_play_with_pytorch\python\Scripts Installing tensorboard-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing tensorboard.exe script to E:\20200228_play_with_pytorch\python\Scripts Installing tflite_convert-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing tflite_convert.exe script to E:\20200228_play_with_pytorch\python\Scripts Installing toco-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing toco.exe script to E:\20200228_play_with_pytorch\python\Scripts Installing toco_from_protos-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing toco_from_protos.exe script to E:\20200228_play_with_pytorch\python\ScriptsInstalled e:\20200228_play_with_pytorch\python\lib\site-packages\tensorflow-1.11.0-py3.7-win-amd64.egg Processing dependencies for tensorflow==1.11.0 Searching for setuptools<=39.1.0 Reading https://pypi.org/simple/setuptools/ Downloading https://files.pythonhosted.org/packages/8c/10/79282747f9169f21c053c562a0baa21815a8c7879be97abd930dbcf862e8/setuptools-39.1.0-py2.py3-none-any.whl#sha256=0cb8b8625bfdcc2d43ea4b9cdba0b39b2b7befc04f3088897031082aa16ce186 Best match: setuptools 39.1.0 Processing setuptools-39.1.0-py2.py3-none-any.whl Installing setuptools-39.1.0-py2.py3-none-any.whl to e:\20200228_play_with_pytorch\python\lib\site-packages Adding setuptools 39.1.0 to easy-install.pth file Installing easy_install-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing easy_install.exe script to E:\20200228_play_with_pytorch\python\Scripts Installing easy_install-3.6-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing easy_install-3.6.exe script to E:\20200228_play_with_pytorch\python\ScriptsInstalled e:\20200228_play_with_pytorch\python\lib\site-packages\setuptools-39.1.0-py3.7.egg Searching for wheel==0.33.6 Best match: wheel 0.33.6 Adding wheel 0.33.6 to easy-install.pth file Installing wheel-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing wheel.exe script to E:\20200228_play_with_pytorch\python\ScriptsUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for grpcio==1.23.0 Best match: grpcio 1.23.0 Adding grpcio 1.23.0 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for termcolor==1.1.0 Best match: termcolor 1.1.0 Adding termcolor 1.1.0 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for tensorboard==1.11.0 Best match: tensorboard 1.11.0 Adding tensorboard 1.11.0 to easy-install.pth file Installing tensorboard-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing tensorboard.exe script to E:\20200228_play_with_pytorch\python\ScriptsUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for protobuf==3.9.1 Best match: protobuf 3.9.1 Adding protobuf 3.9.1 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for six==1.11.0 Best match: six 1.11.0 Adding six 1.11.0 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for numpy==1.18.5 Best match: numpy 1.18.5 Adding numpy 1.18.5 to easy-install.pth file Installing f2py-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing f2py.exe script to E:\20200228_play_with_pytorch\python\ScriptsUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for Keras-Preprocessing==1.1.0 Best match: Keras-Preprocessing 1.1.0 Adding Keras-Preprocessing 1.1.0 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for Keras-Applications==1.0.8 Best match: Keras-Applications 1.0.8 Adding Keras-Applications 1.0.8 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for gast==0.2.2 Best match: gast 0.2.2 Adding gast 0.2.2 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for astor==0.8.0 Best match: astor 0.8.0 Adding astor 0.8.0 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for absl-py==0.8.0 Best match: absl-py 0.8.0 Adding absl-py 0.8.0 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for Markdown==3.1.1 Best match: Markdown 3.1.1 Adding Markdown 3.1.1 to easy-install.pth file Installing markdown_py-script.py script to E:\20200228_play_with_pytorch\python\Scripts Installing markdown_py.exe script to E:\20200228_play_with_pytorch\python\ScriptsUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for Werkzeug==0.15.5 Best match: Werkzeug 0.15.5 Adding Werkzeug 0.15.5 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Searching for h5py==2.9.0 Best match: h5py 2.9.0 Adding h5py 2.9.0 to easy-install.pth fileUsing e:\20200228_play_with_pytorch\python\lib\site-packages Finished processing dependencies for tensorflow==1.11.0E:\20200228_play_with_pytorch\python\Lib\site-packages\tensorflow\tools\pip_package>

執行了一大堆不知道什么鬼的東西

然后執行pip還是不行。。

是不是只得重裝修復python了

重裝修復python還是不行,一定是我的方式不對!!

先卸載python!!!

卸完記得把安裝文件夾清理掉

重裝



終于好了哈哈

隨之而來的是,其他庫都得重裝o(╥﹏╥)o

總結

以上是生活随笔為你收集整理的运行pip list报错:Fatal error in launcher: Unable to create process using...python\Scripts\pip.exe list的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。