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

后端 未结 16 687
花落未央
花落未央 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:05

    This also happens to me when I try to install the opencv-python package:

    I can fix it with command line

    python3 -m pip install {name of package} --user
    

    When I try to install the said package, the command becomes:

    python3 -m pip install opencv-python --user
    

    Resulting in this:

提交回复
热议问题