cls1991 / pef

Enhancement for pip uninstall command, that it removes all dependencies of an uninstalled package.
Apache License 2.0
49 stars 13 forks source link

supporting conda environments #2

Open omry opened 5 years ago

omry commented 5 years ago

Can you add conda environment support? per this post:

This works:

import sys, os
is_conda = os.path.exists(os.path.join(sys.prefix, 'conda-meta'))

verified it on a conda environment with python 2.7 and python 3.6

cls1991 commented 5 years ago

OK, i wil add the feature soon, but it may take some time. 😺

AnnaSafaryan commented 2 months ago

Hi! There is still no support for conda, isn't it? I've installed pef via pip inside of conda environment (had to install pip there previosly), but when I try to use it, I get Warning! You are not in an active virtual environment. This may purge system-level packages!