문제

I successfully added pip to python on my ubuntu. However when I try to install visvis using pip:

pip install visvis

I get the following error:

error: could not create '/usr/local/lib/python2.7/dist-packages/visvis': Permission denied

How do I solve this? Btw, I am downloading visvis to easily plot hundreds of spheres. Any suggestions on what else I could use?

도움이 되었습니까?

해결책

Run the command as superuser to install the package system-wide.

For example, use sudo:

sudo pip install visvis

다른 팁

Better if you use virtualenv for your packages: http://www.virtualenv.org/en/latest/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top