'Permission denied' error when using pip install in virtualenv

后端 未结 2 1518
鱼传尺愫
鱼传尺愫 2021-02-07 11:15

Edit: FIXED!

Just had to chown the .cache directory

I\'ve tried the virtualenvwrapper docs instructions, I\'ve tried this guy\'s instructions as well as these...

相关标签:
2条回答
  • 2021-02-07 11:34

    you need to change the owner of directory of pip.

    run chown -R <user>:<group> /home/aweeeezy/.cache/pip.

    0 讨论(0)
  • I think that if you do that pip install numpy --no-cache-dir it will work.

    If you run pip --help you will find:

    --no-cache-dir Disable the cache.

    Hope that it can help to someone in the future.

    0 讨论(0)
提交回复
热议问题