How to install a module for all users with pip on linux?

后端 未结 4 1818
走了就别回头了
走了就别回头了 2020-12-25 10:12

How to install a package in the standard python environment i.e. /usr/local/lib/python2.7/dist-packages using pip and make this new packag

4条回答
  •  死守一世寂寞
    2020-12-25 10:55

    You might have a wrong umask set as discussed here

    From your last edit, I guess you umask is set to 027. Try to do

    sudo pip uninstall loremipsum
    umask 022
    sudo pip install loremipsum
    

提交回复
热议问题