Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Ipython notebook and python virtualenv, permission

$
0
0
Hello,
I was playing with ipython-notebook and python virtualenv. I met a "permission denied Error" when I tried to run ipython notebook.
Code:

~/test $ ipython
Traceback (most recent call last):
  File "/usr/local/bin/ipython", line 5, in <module>
    from pkg_resources import load_entry_point

IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/numpydoc-0.5-py2.7.egg/EGG-INFO/top_level.txt'

But if I do under root account, it works fine, which seems not right anyhow.
I could not remember what I did at installation for either package and the related dependencies like numpy, scipy etc, but copy-paste those commands from website. Most of the time with sudo pip install or sudo easy_install for ipython notebook and python virtualenv.
I suspect there might be some conflict between ipython notebook and the virtualenv, or the path settings, but I am not sure how to ask the question. Googled for a couple of hours, no clue at all for this error. What may have caused this problem?
Thanks a lot!

Viewing all articles
Browse latest Browse all 16232

Trending Articles