virtualenv is not compatible with this system

273 views
Skip to first unread message

Ravin Kohli

unread,
Dec 13, 2016, 7:38:31 AM12/13/16
to Django users

I am trying to create a virtual env on a mac when is execute the following line i get an error saying virtualenv is not compatible with this system

virtualenv env_new
Using base prefix '/Users/ravinkohli/anaconda3'
New python executable in /Users/ravinkohli/env_new/bin/python
dyld
: Library not loaded: @rpath/libpython3.5m.dylib
 
Referenced from: /Users/ravinkohli/env_new/bin/python
 
Reason: image not found
ERROR
: The executable /Users/ravinkohli/env_new/bin/python is not functioning
ERROR
: It thinks sys.prefix is '/Users/ravinkohli' (should be '/Users/ravinkohli/env_new')
ERROR
: virtualenv is not compatible with this system or executable


graeme

unread,
Dec 13, 2016, 8:30:27 AM12/13/16
to Django users
It looks like you are trying to use virtualenv with Anaconda. I would have thought conda is likely to work better with Anaconda (I do not know whether virtualenv will work at all with Anaconda, conda is certainly the usual way to create virtual environments with Anaconda).
Reply all
Reply to author
Forward
0 new messages