Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove a module using Anaconda in Python

I have a package called 'Prody' which is installed under anaconda directories:

$ python 
Python 2.7.8 |Anaconda 2.0.1 (x86_64)| (default, Jul  2 2014, 15:36:00) 
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>> import prody
>>> prody.__file__
'//anaconda/lib/python2.7/site-packages/ProDy-1.5.1-py2.7-macosx-10.5-x86_64.egg/prody/__init__.pyc'

I'd like to remove that file with this command but failed:

$ conda remove prody
Error: no packages found to remove from environment: //anaconda

What's the right way to do it?

like image 231
pdubois Avatar asked Oct 06 '14 03:10

pdubois


1 Answers

You can remove packages installed with pip using pip uninstall.

like image 199
asmeurer Avatar answered Oct 01 '22 22:10

asmeurer