简体   繁体   中英

How to uninstall python package in win10

I want to uninstall one package named fp_growth

so I use this operation in command:

python -m pip uninstall fp_growth

I also use:

python -m pip uninstall fp_growth pip3

but it shows same errors here.

how to solve it?

ERROR: Cannot uninstall 'fp-growth'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Try using this

python -m pip uninstall fp_growth

If you are using Python3 then replace pip by pip3

Have you tried python -m pip uninstall fp_growth to uninstall using pip ?

The pip command, when used with python -m (or python3 -m ) doesn't require a version modifier like it does when used standalone as pip uninstall fp_growth or pip3 uninstall fp_growth .

Go to C:\Users\ (Current User Name)\AppData\Local\Programs. Delete Python Folder. Go to Control Panel >> Uninstall a Program. Right Click on Python and then Change/Modify. Click on Repair Python. Note: This will Fail but be Patient. Now Again go to step 3. Now, after step 3, uninstall Python.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM