Problem Description:
error reporting 1: error reporting for PIP installation: script file’d:\anaconda3\envs \ pytorch\scripts\PIP script. Py ‘is not present.
error reporting 2: PIP upgrade failed: script file’d:\anaconda3\envs\pytorch\scripts\PIP script. Py’ is not present.
as shown in the following figure:
Solution:
Baidu has had the following solutions for a long time:
# Method 1: Use the command line to go to the Anconda3\Scripts\ directory and execute the command, or if it is a virtual environment, go to the \Scripts\ directory under the virtual environment
easy_install pip # I tried this method, but it didn't work for me
# Method 2: Also go to the directory and execute the following statement
python -m ensurepip --default-pip # Perfect solution
Read More:
- FileNotFoundError: Could not find module ‘D:\Anaconda3\envs\labe\Library\bin\geos_c.dll‘ [Solved]
- [Solved] Pycharm Use pip to install package error: no such option –build-dir
- onnx error: ImportError: /home/dy/anaconda3/envs/torch/lib/python3.6/site-packages/onnx…
- Install PyTorch in Anaconda environment
- [Solved] Vite build & Flask Error: Failed to load module script. Strict MIME type checking is enforced
- Pychar can’t connect to Python console, but it can run. Py file, and Anaconda’s command line can run Python command
- [Solved] Pyinstaller packaged exe error: “failed to execute script XXX”
- [Solved] Ubuntu using blender script error: Numpy cannot be found
- [Solved] VScode Configurate Python Interpreter Error: D:\Pros\virtuals\venvs\Scripts\Activate.ps1 cannot be loaded
- Pip3 install Mysqlclient Error: Command “python setup.py egg_info“ failed with error
- [Solved] Windows10 Pycharm Use Virtual Environment Error: Cannot set up a python SDK
- [Solved] Linux OS python Script Error: smtplib has no attribute SMTP_SSL
- How to Solve Error handling after upgrade pip of Anaconda
- How to Solve PIP3 error After upgrading pip3 install –upgrade pip
- [How to Solve] pyinstaller failed to execute script
- [Solved] LeNet Script Train Error: AttributeError: ‘DictIterator’ object has no attribute ‘get_next’
- Python installs virtualenv through PIP and always reports an error: response.py“, line 438, in _error_catcher yield
- [Solved] PyCharm pytest-html Install Error: Try to run this command from the system terminal. Make sure that you use
- [Solved] D2lzh_Pytorch Import error: importerror: DLL load failed while importing
- Chromdriver Install error: File “C:\python37\lib\site-packages\selenium\webdriver\common\service.py”, line 76, in start stdin=PIPE) File…