今天使用:
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter
报错:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: ‘d:\anaconda3\lib\site-packages\~mq\backend\cython\constants.cp37-win_amd64.pyd’
Consider using the --user
option or check the permissions.
解决方法:
加上 --user 选项
pip3 install --user --upgrade --force-reinstall --no-cache-dir jupyter
安装成功。