CODEMONDAY
Published in

CODEMONDAY

Warning Install Python Package from Source

my first hand experience

When you install it from source? How to uninstall it?

I’ve been installing some unpopular package from source.

Now it’s not working and I think about trying the different version

So how to revert the installation?

Now it not easy

If I can warn you, it better to do it this way

python setup.py install --record installation.txt

now when you have to uninstall go to installation.tx

Not too late

Some people have installed with out --record already. Yuck.

So … what to do then? Where to look at it now?

Yes. I have a solution

python setup.py install --record installation.txt

run it again and see what happen

then trace it and revert the process.

Cheers!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store