Ways to invoke python and Spyder on OSX

前端 未结 8 1906
深忆病人
深忆病人 2020-12-07 10:00

I recently bought a MacBook and install Python on it via Anaconda. Here\'s the version information:

Python 2.7.6 |Anaconda 1.8.0 (x86_64)| (default, Nov 11 2         


        
8条回答
  •  我在风中等你
    2020-12-07 10:41

    You can use Automator to create an Application that will run Unix Script. Open Automator when it asks for document type put "Application"

    Search and click on "Run Shell Script". You can leave /bin/bash as it is and type in the box the location of spyder (as given by typing which spyder in the terminal). Then you save the file and you are done. This also gets rid of the problem I had when terminal runs in the background and gives you a application you can drag to the dock. You can also change the logo as suggested above.

    (I did this with Mac OS 10.10 and a Anaconda 2.3.0)

提交回复
热议问题