how to get spyder's python recognize external packages on MacOS X?

淺唱寂寞╮ 提交于 2019-12-03 13:42:33

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!