Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
944 views
in Technique[技术] by (71.8m points)

python - PIP install rasa-x is not working and pip downgrade too


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I had this issue as well and for me installing pip packages with python -m pip install <package> worked. So python -m pip install --upgrade pip==20.2 should work for you.

See here:

(rasa) C:Users<user>>pip install --upgrade pip==20.2
Collecting pip==20.2
  Downloading pip-20.2-py2.py3-none-any.whl (1.5 MB)
     |████████████████████████████████| 1.5 MB 6.8 MB/s
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.3.3
    Uninstalling pip-20.3.3:
      Successfully uninstalled pip-20.3.3
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\Users\<user>\AppData\Local\Temp\pip-uninstall-qmjwuv0x\pip.exe'
Consider using the `--user` option or check the permissions.


(rasa) C:Users<user>>python -m pip install --upgrade pip==20.2
Requirement already up-to-date: pip==20.2 in c:users<user>appdatalocalcontinuumanaconda3envs
asalibsite-packages (20.2)
WARNING: You are using pip version 20.2; however, version 21.0 is available.
You should consider upgrading via the 'C:Users<user>AppDataLocalContinuumanaconda3envs
asapython.exe -m pip install --upgrade pip' command.

(rasa) C:Users<user>>pip --version
pip 20.2 from c:users<user>appdatalocalcontinuumanaconda3envs
asalibsite-packagespip (python 3.7)

Edit: Answer for the update: Hey it seems that you do not have Visual C++ Build tools installed. Here is a guide on how to install C++ Build Tools on Windows.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...