0
votes
1answer
25 views

Python path is not recognized after adding a new variable under environment variables, picture provided

'python' is not recognized as an internal or external command, operable program or batch file. My Python folder is directly in C:\python34..... Please look at the picture.... ...
0
votes
0answers
50 views

Mavericks: managing paths when using homebrew

I do not have a firm grasp of how paths work. I did a clean install of python with homebrew and had to mess around with the paths, but I am worried that they are not correct as stands. which python ...
0
votes
1answer
100 views

Why does my path not default to using Python 2.7 instead of 2.6?

I am using Google App Engine but starting programs from its interface is not working. The logs in GAE indicate it is trying to use python 2.6 and it needs 2.7 so it fails to run. I have used python ...
0
votes
2answers
44 views

Using two python paths for vim in Windows

I wanted to simply :!python % in order to run the file im using in vim, but the obvious conflict is that there's no way for me to distinguish python2 and python3 since including both to $PATH$ would ...
1
vote
2answers
2k views

How do I create a Python 3.3 environment with Anaconda (& Windows)

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 ...
2
votes
4answers
678 views

python not in command line even though it is in path

When I type 'python' at the command line it says ''python' is not recognized as an internal or external command...' I have Python in both User and System paths. In the past I have been able to run ...
0
votes
1answer
635 views

Changing Windows 7 PATH avriable [duplicate]

I saw this question and answer but this is not working for me. I am following Python tutorials. There is a section that requires me to change the path variable. I used the instructions in the command ...
1
vote
0answers
492 views

Messed up Python path in OS X

I am using python 2.7 in Mac OS X (10.7). I have been trying to install OpenCV, but to no avail. In one attempt to get OpenCV to install properly I tried the MacPorts version of OpenCV, and I ...
1
vote
3answers
2k views

Python in command line runs the wrong version?

I have several versions of Python installed on a Windows 7 computer. I want to run Python 2.7 by default, but for whatever reason, typing python in the command line runs Python version 2.4.5. I've ...
1
vote
0answers
355 views

Fix Python sys.path after MacPorts install of Python

So I have reinstalled MacPorts Python. I have port select --set python python27 and which python returns the proper location, i.e., /opt/local/bin. Now, when I import modules in the python ...
5
votes
4answers
12k views

How can I update the default Python installation/fix my $PATH on Mac OS X 10.6.7?

I know this question has been asked before on this site, and I have found a couple worthy discussions, but the solutions I've found and tried do not work. I want to learn Python and I'm having trouble ...
13
votes
3answers
42k views

How to globally modify the default PYTHONPATH (sys.path)?

On a Ubuntu (10.10) system, I have a Python package that installs itself into /usr/local/lib/python2.6/site-packages/. This isn't contained in the default path (sys.path). How do I add this directory ...
1
vote
1answer
757 views

Python version priority in OSX/UNIX PATH environment variable

I want my system to use /usr/bin/python, but it's currently using /opt/local/bin/python, which points to /usr/bin/python2.6. I tried modifying the PATH variable in my .bashrc as PATH=~/bin:$PATH ...
1
vote
2answers
10k views

Getting PATH right for python after MacPorts install

I can't import some python libraries (PIL, psycopg2) that I just installed with MacPorts. I looked through these forums, and tried to adjust my PATH variable in ~/.bash_profile in order to fix this ...
11
votes
4answers
13k views

How To Add Python to the Windows Path

How do I add python to the windows PATH permanently?