Skip to content Skip to sidebar Skip to footer

How To Get Spyder's Python Recognize External Packages On Macos X?

I have spyderlib installed on my MacOS X (10.6.8) using the official dmg file. In parallel, I have installed packages using both pip and homebrew from the terminal (i.e. opencv, gd

Solution 1:

I don't use a mac, but I would go with option 1, building and installing Spyder on your regular Python. Install PyQt4 if you don't have it:
brew install pyqt
Then download the Spyder 2.2.5 source (spyder-2.2.5.zip) from here, unzip the folder where you like. Then open a terminal, and go inside the Spyder source folder (you must input the next commands from inside this folder). Then build using your regular python executable:
python setup.py build
and install:
python setup.py install

If all dependencies are met, you should then have Spyder as a package under your main Python installation. There should be a script to execute it under the Scripts folder.

You can also see "Install or run directly from source" from the main Spyder installation page.


Post a Comment for "How To Get Spyder's Python Recognize External Packages On Macos X?"