churchill-lab / g2gtools

Personal diploid genome creation and coordinate conversion
http://churchill-lab.github.io/g2gtools
21 stars 9 forks source link

Installation from source modifies base python package permissions #3

Closed erscott closed 7 years ago

erscott commented 7 years ago

It appears g2gtools setup.py changes/overwrites permissions for essential files in the /Users/anaconda/lib/python2.7/site-packages folder. I had to manually change all permissions using chmod -R for this folder to restore IPython. This also occurs with g2gtools installation in a virtualenv.

Errors will look like: Permission denied: '/Users/anaconda/lib/python2.7/site-packages/llvmlite-0.16.0-py2.7.egg-info/PKG-INFO'

If this happens to you, check if:

sudo ipython can start an ipython session.

kbchoi-jax commented 7 years ago

There's no way setup.py would possibly change existing permissions if you are not installing it with sudo privilege. Is 'anaconda' your user name? What do the following two commands give you?

$ which conda $ whoami