2013-05-30 42 views
2

我在看到新鮮與PIP一個令人難以置信的奇怪的問題OS X 10.8PIP安裝增加了額外的空間,以在OS X 10.8的命令

的安裝適用於各種需要C語言編譯程序包(GEVENT,zeromq,等)似乎是PIP增加額外空間的命令,導致它失敗:

building 'zmq.libzmq' extension 

/A p p l i c a t i o n s/X c o d e . a p p/C o n t e n t s/D e v e l o p e r/T o o l c h a i n s/X c o d e D e f a u l t . x c t o o l c h a i n/u s r/b i n/c l a n g - f n o - s t r i c t - a l i a s i n g - f n o - c o m m o n - d y n a m i c - I/u s r/l o c a l/i n c l u d e - I/u s r/l o c a l/o p t/s q l i t e/i n c l u d e - i s y s r o o t /A p p l i c a t i o n s/X c o d e . a p p/C o n t e n t s/D e v e l o p e r/P l a t f o r m s/M a c O S X . p l a t f o r m/D e v e l o p e r/S D K s/M a c O S X 1 0 . 8 . s d k - I/A p p l i c a t i o n s/X c o d e . a p p/C o n t e n t s/D e v e l o p e r/P l a t f o r m s/M a c O S X . p l a t f o r m/D e v e l o p e r/S D K s/M a c O S X 1 0 . 8 . s d k/S y s t e m/L i b r a r y/F r a m e w o r k s/T k . f r a m e w o r k/V e r s i o n s/8 . 5/H e a d e r s - D N D E B U G - g - f w r a p v - O 3 - W a l l - W s t r i c t - p r o t o t y p e s -Ibundled/zeromq/include -I/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c buildutils/initlibzmq.c -o build/temp.macosx-10.8-x86_64-2.7/buildutils/initlibzmq.o 
unable to execute /: Permission denied 

error: command '/' failed with exit status 1 

PIP經brew install python安裝。

任何想法是什麼原因或如何解決它?

回答

6

非常奇怪的錯誤,非常新手問題:我忘了進入Xcode並明確下載命令行工具(在首選項>下載)。現在一切都很開心。

+0

繼續並將此標記爲已解決,您自己回答它並不重要。 – aptwebapps