2013-10-30 30 views
-1

所以我升級到小牛希望我的腳本會好...幸運的是,當我在Coderunner中運行我的腳本時他們工作我在終端中做簡單的測試腳本,因爲它簡單,我喜歡它的樣子。我不知道爲什麼框架,coderunner工作,但不是終端。Python 2.7.3不能在小牛終端工作:(

沒有任何人有任何想法如何解決這一問題?

enter image description here

enter image description here

我試圖更新軟件,並得到了同樣的錯誤

Last login: Wed Oct 30 11:08:51 on ttys000 
opus-magnum:~ Opus_Magnum$ python 
Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin 
Type "help", "copyright", "credits" or "license" for more information. 
>>> s = 'hello' 
>>> print s 
Segmentation fault: 11 
opus-magnum:~ Opus_Magnum$ 

`

+1

我不認爲這是值得的投票。我認爲很多人都經歷過這個問題,如果腳本在另一個解釋器中工作,那麼我覺得這是一個有效的問題。 –

+0

這是無關緊要的問題,因爲它更像是軟件安裝問題。 – chepner

+0

@chepner我看到你的觀點,但我認爲這是正常的,因爲「Q:python setup.py uninstall」軟件安裝問題有165票贊成 –

回答

3

您沒有運行的Python正確的版本,與OS X小牛釋放。

[1:17pm][[email protected] ~] /usr/bin/python2.7 
Python 2.7.5 (default, Aug 25 2013, 00:04:04) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin 
Type "help", "copyright", "credits" or "license" for more information. 
>>>