When I type ipython notebook it works fine. However I need to work into a virtual environment:
What I do
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt
Now I type
ipython notebook
This given the error:
/home/derk/assignment2/.env/bin/python: bad interpreter: No such file or directory
So when not in the virtual environment I can start the notebook. However, when not into the virtual environment it gives an error.
The requirements.txt looks like this:
Cython==0.21.2
Jinja2==2.7.3
MarkupSafe==0.23
Pillow==2.7.0
backports.ssl-match-hostname==3.4.0.2
certifi==14.05.14
gnureadline==6.3.3
ipython==2.3.1
matplotlib==1.4.2
mock==1.0.1
nose==1.3.4
numpy==1.9.1
pyparsing==2.0.3
python-dateutil==2.4.0
pytz==2014.10
pyzmq==14.4.1
scipy==0.14.1
six==1.9.0
tornado==4.0.2
wsgiref==0.1.2
Everything worked correctly before, but now (maybe after some software updates) it doesnot. I tried reinstalling Anaconda (as suggested on some sites), but without success. What could be the problem here?