Created
December 3, 2013 13:52
-
-
Save JuniorLima/7769443 to your computer and use it in GitHub Desktop.
bad interpreter: Too many levels of symbolic links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@precise64:~/.virtualenvs/djangoproj$ /home/vagrant/.virtualenvs/djangoproj/bin/pip | |
-bash: /home/vagrant/.virtualenvs/djangoproj/bin/pip: /home/vagrant/.virtualenvs/djangoproj/bin/python2.7: bad interpreter: Too many levels of symbolic links |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd ~/.virtualenvs/djangoproj/bin | |
$ rm python; rm python2; rm python2.7 | |
$ ln -s /usr/bin/python python2.7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@precise64:~/.virtualenvs/djangoproj/bin$ ls -al | |
total 48 | |
drwxr-xr-x 2 vagrant root 4096 Dec 4 05:00 . | |
drwxr-xr-x 6 vagrant root 4096 Dec 4 04:59 .. | |
-rw-r--r-- 1 vagrant root 2218 Dec 4 04:59 activate | |
-rw-r--r-- 1 vagrant root 1274 Dec 4 04:59 activate.csh | |
-rw-r--r-- 1 vagrant root 2413 Dec 4 04:59 activate.fish | |
-rw-r--r-- 1 vagrant root 1129 Dec 4 04:59 activate_this.py | |
-rwxr-xr-x 1 vagrant root 319 Dec 4 04:59 easy_install | |
-rwxr-xr-x 1 vagrant root 327 Dec 4 04:59 easy_install-2.7 | |
-rwxr-xr-x 1 vagrant root 277 Dec 4 04:59 pip | |
-rwxr-xr-x 1 vagrant root 285 Dec 4 04:59 pip-2.7 | |
-rw-r--r-- 1 vagrant root 106 Dec 4 05:02 postactivate | |
-rw-r--r-- 1 vagrant root 58 Dec 4 05:02 postdeactivate | |
lrwxrwxrwx 1 vagrant root 9 Dec 4 04:59 python -> python2.7 | |
lrwxrwxrwx 1 vagrant root 6 Dec 4 05:00 python2 -> python | |
lrwxrwxrwx 1 vagrant root 6 Dec 4 05:00 python2.7 -> python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fonte: https://github.com/jbergantine/django-newproj-template/issues/17