Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51298

Re: virtualenv problem

Newsgroups comp.lang.python
Date 2013-07-26 05:25 -0700
References <626bd852-a79e-42d7-aaa9-c5cba477d155@googlegroups.com> <kssgij$ul0$1@dont-email.me>
Message-ID <4fdf3e7c-0c1f-4048-b4bb-006e8cd42f30@googlegroups.com> (permalink)
Subject Re: virtualenv problem
From "D. Xenakis" <gouzounakis@hotmail.com>

Show all headers | View raw


Yeah trying to run virtualenv under IDLE was a desperate move as i couldnt make anything work under cmd.

Apparently my problem was that i did not have correctly setup the new path.. 

Solution for me was the following from "http://forums.udacity.com/questions/100064678/pip-installation-instructions"

----------------------------------------------
..We want to add that directory to your Path environment variable. Path is a list of directories where your OS looks for executable files. You will need to change the directory if you installed Python in a non-default location.

a. go to Control Panel » System » Advanced » Environment Variables, make sure Path is selected under "user variables for
user", and click edit.

b. Add ;C:\Python33\Scripts\ and ;C:\Python33\ (no spaces after the previous entry, ';' is the delimiter) to the end of variable value, then click ok. You should not be erasing anything, just adding to what's already there.

This just makes it so we don't have to type the full path name whenever we want to run pip or other programs in those directories.
"C:\Python33\Scripts\" is the one we want now, but "C:\Python33\" might be useful for you in the future.

Restart your computer.
----------------------------------------------

I realised that even if i didn't do the above, i could still have got things rolling just by cd-ing from the cmd, to the script folder of my Python installation.

But hey - learning is a good thing

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

virtualenv problem "D. Xenakis" <gouzounakis@hotmail.com> - 2013-07-25 06:48 -0700
  Re: virtualenv problem alex23 <wuwei23@gmail.com> - 2013-07-26 10:47 +1000
    Re: virtualenv problem "D. Xenakis" <gouzounakis@hotmail.com> - 2013-07-26 05:25 -0700
      Re: virtualenv problem alex23 <wuwei23@gmail.com> - 2013-07-30 10:25 +1000

csiph-web