Windows – How to create a Python 3.3 environment with Anaconda (& Windows)

command lineenvironment-variablespathpythonwindows

I installed Anaconda on my Windows XP machine about a week ago. It came with Python 2.7.

I am trying to create a Python 3.3 environment on it. I followed these directions, resulting in downloading a bunch of stuff, with no error messages.

The instructions said I had to change my path, but they did not say how. There are new folders called I:\Python33 and I:\Anaconda\envs\py33 on my PC. I added I:\Python33 to my PATH.

I shut down and restarted Anaconda several times. I cannot get import scitools.pprint2 to work in a Python interpreter (I think I need Python 3.3 for this).

I get this error:

Traceback (most recent call last):

  File "<ipython-input-2-8852894fb85d>", line 1, in <module>
    import scitools.pprint2

ImportError: No module named scitools.pprint2

How should I troubleshoot this error?

Best Answer

I would try:

$ conda create -p path\to\your\virtualenv python=3.3 nameOfVirtualenv
Related Question