Could not install packages due to an EnvironmentError: [Errno 13]

后端 未结 16 644
花落未央
花落未央 2020-12-02 09:50

In my MacOS Mojave terminal I wanted to install a python package with pip. At the end it says:

You are using pip version 10.0.1, however version 18.1 is avai         


        
16条回答
  •  情深已故
    2020-12-02 10:22

    I got the same error when I was trying to install a package (flask-classful).
    I made the mistake of installing anaconda as root. I changed the ownership of the installed anaconda folder and I could install the package successfully.

    Use the command chown with option -R to recursively change ownership of the installed anaconda folder like so:

    chown -R owner:group /path/to/anaconda

    Here owner is your username and group is the group name.

提交回复
热议问题