I have a remote machine with Python 2.6 installed. I then installed python 2.7 using these instructions python install. I then set up an alias so scripts will use 2.7 in future.
How do I install numpy to python 2.7.
I have a remote machine with Python 2.6 installed. I then installed python 2.7 using these instructions python install. I then set up an alias so scripts will use 2.7 in future.
How do I install numpy to python 2.7.
pip2.7 install numpy, if you also installedpip. Otherwise using the correct alias/python when installing from source, you can dopython setup.py installand it will be installed in<prefix>/lib/python2.7/site-packages.lib/pythonx.ydirectories for packages. If you also installed python itself withmake altinstall, it won't even overwrite the current defaultpythoncommand (can be safer for your system), and you'll only get things likepython2.7as commands.virtualenv, then you can specify the Python interpreter version to use and install specific tools for specific tasks.