I am trying to activate my Virtual Python Environment to use with Pylons but I think I am executing the commands wrong.
JavaScript
x
3
1
jem@jem-laptop:~$ source env/bin/activate
2
bash: env/bin/activate: No such file or directory
3
What am I doing wrong? How should I do it right?
Advertisement
Answer
I realize I had to do
JavaScript
1
6
1
jem@jem-laptop:~$ ls
2
Desktop examples.desktop Public shortener.rb
3
Documents Mac4Lin_v1.0 ruby-1.9.1-p378 Templates
4
Downloads Music rubygems-1.3.7 Videos
5
Dropbox Pictures setcolors.vim virtualenv.py
6
And here we see virtualenv.py. From here I just had to
JavaScript
1
4
1
jem@jem-laptop:~$ virtualenv ENV
2
New python executable in ENV/bin/python
3
Installing setuptoolsdone.
4
And then
JavaScript
1
4
1
jem@jem-laptop:~$ source ENV/bin/activate
2
(ENV)jem@jem-laptop:~$ deactivate
3
jem@jem-laptop:~$
4
Solved :)