在El Capitan osx 10.11和python上發布xcode 7的設置 - Issue setting up xcode 7 on El Capitan osx 10.11 and python -开发者知识库

在El Capitan osx 10.11和python上發布xcode 7的設置 - Issue setting up xcode 7 on El Capitan osx 10.11 and python -开发者知识库,第1张

got a new mac, wanting to setup python and xcode, I am facing two issues.

有了新的mac,想要安裝python和xcode,我面臨兩個問題。

  1. python directory is showing up as "/Library/Frameworks/Python.framework/Versions/2.7/bin/python" which I think should be "usr/bin/python"...is this correct? if so how do I change it back?
  2. python目錄顯示為“/Library/ framework/ python .framework/ version /2.7/bin/python”,我認為應該是“usr/bin/python”…這是正確的嗎?如果是的話,我該怎么換回去呢?
  3. I have followed this tutorial https://www.youtube.com/watch?v=ysik6P5MIVs to setup xcode but when I go to run my simple code, I get a error "There is an problem launching using posix_spawn (error code: 8)." but it also says "build successful". I think this issue is somehow related to #1.
  4. 我已經遵循了這個教程https://www.youtube.com/watch?當我運行我的簡單代碼時,我得到一個錯誤,“使用posix_spawn(錯誤代碼:8)啟動一個問題”,但是它也說“構建成功”。我認為這個問題與第一條有關。

How to setup my computer?

如何設置我的電腦?

1 个解决方案

#1


1  

You have to use "/usr/bin/pythonw"

你必須使用"/usr/bin/pythonw"

It works!

它的工作原理!

最佳答案:

本文经用户投稿或网站收集转载,如有侵权请联系本站。

发表评论

0条回复