I've installed cx_Oracle (repeatedly) and I just can't get it to work on my Intel Mac. How do I deactivate/uninstall it?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
You simply delete the
.egg
fileOn OS X they are installed into
/Library/Python/2.5/site-packages/
- in that folder you should find a file namedcx_Oracle.egg
or similar. You can simple delete this file and it will be gone.One way of finding the file is, if you can import the module, simply displaying the
repr()
of the module:If the import fails, the traceback should show the location of the module also.
One thing to note, if the module installed any command-line tools, you'll have to remove these manually also.. On OS X they are installde in
/usr/local/bin/
- you can find any tool which usescx_Oracle
using grep:Or simply..