On 6 August 2012 11:04, Petro <[email protected]> wrote: > This is a general python question but I will ask it here. To > install a new numpy on Debian testing I remove installed version with > "aptitude purge python-numpy" download numpy source code and install > numpy with "sudo python setup.py install". If I want to remove the installed > numpy how do I proceed?
Assuming your system Python is 2.7, your numpy should have been installed in /usr/local/lib/python2.7/site-packages/ (or /usr/local/lib/python2.7/dist-packages/ as on Ubuntu?) So something along these lines: $ sudo rm -rf /usr/local/lib/python2.7/site-packages/numpy/ $ sudo rm -rf /usr/local/lib/python2.7/site-packages/numpy-*.egg* $ sudo rm -rf /usr/local/bin/f2py Cheers, Scott _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
