How to remove a module using Anaconda in Python

I have a package called "Prody" that installs in 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 want to delete this file with this command, but failed:

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

What is the right way to do this?

+5
source share
2 answers

Have you installed Prody via pip ? Then I do not think conda remove can remove it. AFAIK, conda only manages conda packages.

+4
source

You can remove packages installed with pip using pip uninstall .

+4
source

Source: https://habr.com/ru/post/1204074/


All Articles