I have a specific python2.7 folder where I would like to install packages using pip. The default python install is python 2.6
I managed to install numpy with <python2.7Folder>/pip -t ... numpy. The problem is that it compiled using the default python 2.6 libs and not it does not work .
When I try to run numpy from python 2.7 I get this : undefined symbol: _PyUnicodeUCS4_IsWhitespace ... expectable.
So I try to uninstall this, but can't do it as it tried to uninstall it from the default python install.
File "/usr/local/lib/python2.6/dist-packages/pip-1.1-py2.6.egg/pip/req.py", line 410, in uninstall
raise UninstallationError("Cannot uninstall requirement %s, not installed" % (self.name,))
The questions are:
- how can I first uninstall the numpy package from a specific folder, from a specific python path.
- How can I reinstall numpy, this itme using a specific path for the python includes ?