On Wed, Mar 25, 2015 at 6:40 AM, pineapplehandler <[email protected]>
wrote:

> I'm brand new to using Python and so far it looks like easy_install
> doesn't have a corresponding *easy_uninstall*. Googling
> <http://stackoverflow.com/questions/1231688/how-do-i-remove-packages-installed-with-pythons-easy-install>
> led me to try the -m flag but it returns the following ambiguous
> response. :
>
> # easy_install -m
> http://trac-hacks.org/svn/blackmagictickettweaksplugin/0.11
> Downloading http://trac-hacks.org/svn/blackmagictickettweaksplugin/0.11
> Doing subversion checkout from http://
> trac-hacks.org/svn/blackmagictickettweaksplugin/0.11 to
> /tmp/easy_install-96R73F/0.11
> Processing 0.11
> Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-96R73F/0.11/egg
> -dist-tmp-547yiW
> zip_safe flag not set; analyzing archive contents...
> Removing BlackMagicTicketTweaks 0.11.2 from easy-install.pth file
>
> Installed /usr/local/lib/python2.7/dist-packages/BlackMagicTicketTweaks-
> 0.11.2-py2.7.egg
>
> Because this distribution was installed --multi-version, before you can
> import modules from this package in an application, you will need to
> 'import pkg_resources' and then use a 'require()' call similar to one of
> these examples, in order to select the desired version:
>
>     pkg_resources.require("BlackMagicTicketTweaks")  # latest installed
> version
>     pkg_resources.require("BlackMagicTicketTweaks==0.11.2")  # this exact
> version
>     pkg_resources.require("BlackMagicTicketTweaks>=0.11.2")  # this
> version or higher
>
> Processing dependencies for BlackMagicTicketTweaks==0.11.2
> Finished processing dependencies for BlackMagicTicketTweaks==0.11.2
>
> Bouncing apache2 shows that Blackmagic is now missing from the plugin
> list. Guessing that I can now delete the folder:
> /usr/local/lib/python2.7/dist-packages/BlackMagicTicketTweaks-0.11.2-py2.
> 7.egg/
> ?
>

Usually it doesn't hurt to just install the new version of a package on top
of the old version. If you wish to remove the plugin, you are on the right
track. Remove the directory you mentioned, and delete the corresponding
entry from  /usr/local/lib/python2.7/dist-packages/easy-install.pth

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to