I have spyderlib installed on my MacOS X (10.6.8) using the official dmg file. In parallel, I installed packages using both pip and homebrew from the terminal (i.e. opencv, gdal ...). Since Spyder uses its own version of python, I cannot access my external packages in Spyder.
When Homebrew installs the package, it installs it in the / usr / local / lib ... directory, which is not available for addition using the Python Path Manager for Spyder. The entire / usr / ... directory is hidden.
The only relevant similar case that I found on the Internet was the following: Adding a module (specifically pymorph) to Spyder (Python IDE)
I tried their recommendations unsuccessfully. So, two related questions to solve the problem:
1- is it possible to actually use the same python in Spyder as the one that was available in the terminal?
2- otherwise, how to add external packages to the original Spyder python when the packages are installed in the / usr / local ... folder?
thanks
python homebrew spyder
Simon
source share