Could not install packages due to a “Environment error :[error 13]: permission denied : 'usr/local/bin/f2py'”

前端 未结 10 2120
故里飘歌
故里飘歌 2020-11-29 00:49

I am trying to install numpy on macOS X but after executing the command pip install numpy I am getting the error:

Environment error :[err

10条回答
  •  一个人的身影
    2020-11-29 01:02

    It is always preferred to use a virtual environment ,Create your virtual environment using :

    python -m venv

    go to your environment directory and activate your environment using below command on windows:

    env_name\Scripts\activate.bat

    then simply use

    pip install package_name

提交回复
热议问题