Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

I would try:

$ conda create -p path\to\your\virtualenv python=3.3 nameOfVirtualenv
share|improve this answer
Would that be in place of a certain line or would it be on its own? – Raystafarian Jul 21 '13 at 21:18
The is a command to be run from terminal (cmd). Or did I get You wrong? – Adobe Jul 21 '13 at 21:19
No, it's not my question, I was just asking for some clarification on the answer – Raystafarian Jul 21 '13 at 21:23
I expect it to be a clean new anaconda virtualenv with python3.3. – Adobe Jul 21 '13 at 21:29
I think You should only move to anaconda a) once You master vanilla python ecosystem b) once You really have to. Otherwise it's just another setup level. – Adobe Jul 23 '13 at 5:38

This has been cleaned up a bit. You can now do:

conda update conda  
conda create -n py33 python=3.3 anaconda
activate py33

Unfortunately scitools fails to build still, are you sure it's python 3 compatible?

share|improve this answer
Thanks. I haven't really done anything with Python in a long time. Matlab, Octave, and Maple seem to do everything I need. A previous commenter recommended against using anaconda until I'd mastered basic python. I'm a math person, not a computer person, and unfortunately it seem difficult for a non-computer type to install and use a really good GUI for Python, let alone decide which one to use. Eventually, if I move to a "real" language, I would like to use Python. – Stefan Smith Dec 6 '13 at 14:24
I think those are all great systems. If you do plan on using Python, I actually disagree with your commenter. Anaconda will use all the tools needed to get started (just like Matlab and others). It includes the excellent Spyder GUI. Good luck! – aterrel Dec 6 '13 at 18:18
I have done this successfully. One tips, download miniconda instead of Anaconda. Since we are going to setup all 3.3 Anaconda packages, there is no point in installing the 2.7 anaconda, which takes 1.5 GB disc space. miniconda includes only the base Python and you can install your choice of packages later. – Wai Yip Tung Dec 16 '13 at 5:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .