Cannot open D:\Program Files\Anaconda3\Scripts\pip-script.py error solution

Cannot open D:\Program Files\Anaconda3\Scripts\pip-script.py error solution


When I installed pydicom today, the problem of 
Cannot open D:\Program Files\Anaconda3\Scripts\pip-script.py appeared. I searched for the answer on the Internet and couldn't find it, so I wanted to update pip, but input pip install –upgrade pip also The above error was reported, so I had to reinstall pip, so I entered the command in the cmd window: easy_install pip (note: you must add the python environment variable, or cd to the path where easy_install is located). After entering it, I tried pip install dicom, and the installation was successful. If you encounter similar problems, you can try this method.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325858389&siteId=291194637