Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove ColourPicker if installed through Python #62

Open
lvanderwiele opened this issue Oct 9, 2019 · 4 comments
Open

How to remove ColourPicker if installed through Python #62

lvanderwiele opened this issue Oct 9, 2019 · 4 comments

Comments

@lvanderwiele
Copy link

Hi!

I wanted to install Pick and tried the snap version which worked but, as is usually the case with snaps didn't pickup my theme so I installed the python version which I hoped would integrated better with my desktop only to find out it didn't launch. I reinstalled the snap version and now it doesn't launch either and Pick appears twice in my menus. I think the presence of both version causes a problem and prevents the snap version to launch and I'd like to know how to remove the python version after having done a sudo python3 setup.py install.

@stuartlangridge
Copy link
Owner

That's a good question :-( It seems that uninstalling such things isn't as easy as it should be; https://stackoverflow.com/questions/1550226/python-setup-py-uninstall lists a few approaches, none of which are great, so thank you for bringing this up. I think I shall update the install instructions to not recommend installing that way.

@Natetronn
Copy link

Natetronn commented Mar 11, 2020

On Manjaro (arch) I did the following. Not sure it's correct but, I think I was able to install and uninstall too.

Downloaded the repo, unzipped, renamed the folder to pick-colour-picker and moved it to my custom ~/Applications (just a folder I have setup for Appimages and WINE apps etc.)

Updated setup.py to current version 1.51, as it was still at 1.0.

Then I ran the following from within ~/Applications folder:

sudo pip install -e pick-colour-picker

Note: pip's -e option needs to point to the pick-colour-picker folder itself, where setup.py resides; change the path if you renamed it something else. Also, other people were trying to run pip install setup.py and getting errors and or having issue with uninstall afterwards.

Lastly, I updated pick-colour-picker.desktop icon path using an absolute path to point to pick-colour-picker/pick-colour-picker.png and this so the icon shows up on the desktop shortcut. Sudo copied the .desktop to the correct spot so it shows up in the launcher/menu:

cd pick-colour-picker
sudo cp ./pick-colour-picker.desktop /usr/share/applications

Seems to have worked a treat.

To uninstall:
pip uninstall pick-colour-picker

P.s. thanks for the cool color picker. It's nice and clean and simple. I like it!

@Prn-Ice
Copy link

Prn-Ice commented Jun 11, 2020

Thanks a lot works on Pop OS 20.04.

@maxreuben
Copy link

Unable to uninstall on Fedora 34 after following these instructions. Used sudo pip install -e ColourPicker to install as that was the name of the directory. But now when i run pip uninstall ColourPicker it gives me a warning saying: WARNING: Skipping ColourPicker as it is not installed..

And when I run pip uninstall pick-colour-picker it says:

Found existing installation: pick-colour-picker 1.0
Can't uninstall 'pick-colour-picker'. No files were found to uninstall.

What kind of pickle have I gotten myself into? Anybody who knows how to fix this?

On Manjaro (arch) I did the following. Not sure it's correct but, I think I was able to install and uninstall too.

Downloaded the repo, unzipped, renamed the folder to pick-colour-picker and moved it to my custom ~/Applications (just a folder I have setup for Appimages and WINE apps etc.)

Updated setup.py to current version 1.51, as it was still at 1.0.

Then I ran the following from within ~/Applications folder:

sudo pip install -e pick-colour-picker

Note: pip's -e option needs to point to the pick-colour-picker folder itself, where setup.py resides; change the path if you renamed it something else. Also, other people were trying to run pip install setup.py and getting errors and or having issue with uninstall afterwards.

Lastly, I updated pick-colour-picker.desktop icon path using an absolute path to point to pick-colour-picker/pick-colour-picker.png and this so the icon shows up on the desktop shortcut. Sudo copied the .desktop to the correct spot so it shows up in the launcher/menu:

cd pick-colour-picker
sudo cp ./pick-colour-picker.desktop /usr/share/applications

Seems to have worked a treat.

To uninstall: pip uninstall pick-colour-picker

P.s. thanks for the cool color picker. It's nice and clean and simple. I like it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants