Run another version of Python using virtualenv

Posted by mazlor on Stack Overflow See other posts from Stack Overflow or by mazlor
Published on 2013-07-02T23:02:16Z Indexed on 2013/07/02 23:05 UTC
Read the original article Hit count: 427

Filed under:
|

I apologize in advance if the question is dummy ,i use Python 3.2.3 on Windows xp ,now i need Python3.3.2 , but i can't remove Python 3.2.3 because i have many codes and packages need to be run by it.
I installed virtualenv to run two versions of Python in two different environments , but after that i didn't know what to do to run a code using Python 3.3.2 , here what i did:

C:\>virtualenv.exe env1
C:\>env1\Scripts\activate

now i don't know what to do after a folder was created its name env1 , i downloaded Python 3.3.2 and installed it in the same folder (env1) , is that correct ? then i try the following:

(env1) C:\>python3.3.2  

I got the following :

'python3.3.2' is not recognized as an internal or external command,  
operable program or batch file. 

also i tried :

(env1) C:\>python python33  

I got the following:

python: can't open file 'python33': [Errno 2] No such file or directory   

As i mentioned , i stuck at this point , any help will be very appreciated.

Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about virtualenv