Форум сайта python.su
75
Nikitamkh
а homebrew есть ?
Попробуйте
sudo pip install setuptools --no-use-wheel --upgrade
brew update brew install hdf5 brew install gcc brew install gfortran sudo pip install cython numpy numexpr tables scipy matplotlib bottleneck pandas
Отредактировано Singularity (Янв. 9, 2014 13:15:08)
Офлайн
0
спасибо!
вобщем тоже ничего не получилось, вот что говорит
Last login: Fri Jan 10 11:37:31 on console
Niki-pro-regina-15:~ nikitamikhailov$ sudo pip install setuptools –no–use–wheel –upgrade
Password:
Usage:
pip install <requirement specifier> …
pip install -r <requirements file> …
pip install <vcs project url> …
pip install <local project path> …
pip install <archive url/path> …
no such option: –no–use–wheel
Niki-pro-regina-15:~ nikitamikhailov$ sudo pip install setuptools -upgrade
Usage:
pip install <requirement specifier> …
pip install -r <requirements file> …
pip install <vcs project url> …
pip install <local project path> …
pip install <archive url/path> …
no such option: -u
Niki-pro-regina-15:~ nikitamikhailov$ sudo pip install setuptools
Wheel installs require setuptools >= 0.8 for dist-info support.
pip's wheel support requires setuptools >= 0.8 for dist-info support.
Storing debug log for failure in /Users/nikitamikhailov/Library/Logs/pip.log
Niki-pro-regina-15:~ nikitamikhailov$ brew
Example usage:
brew
brew install FORMULA…
brew uninstall FORMULA…
brew search
brew list
brew update
brew upgrade
Troubleshooting:
brew doctor
brew install -vd FORMULA
brew
Brewing:
brew create [URL ]
brew edit
open https://github.com/mxcl/homebrew/wiki/Formula-Cookbook
Further help:
man brew
brew home
Niki-pro-regina-15:~ nikitamikhailov$ brew update
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
Error: Failure while executing: git checkout -q master
Niki-pro-regina-15:~ nikitamikhailov$ brew install hdf5
Warning: You have not agreed to the Xcode license.
Builds will fail! Agree to the license by opening Xcode.app or running:
xcodebuild -license
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
==> Installing hdf5 dependency: szip
==> Downloading http://www.hdfgroup.org/ftp/lib-external/szip/2.1/src/szip-2.1.tar.gz
######################################################################## 100,0%
==> ./configure –prefix=/usr/local/Cellar/szip/2.1
checking for config i386… no
checking for gcc… cc
checking for C compiler default output file name…
configure: error: C compiler cannot create executables
See `config.log' for more details.
Error: Homebrew doesn't know what compiler versions ship with your version
of Xcode (5.0.2). Please `brew update` and if that doesn't help, file
an issue with the output of `brew –config`:
https://github.com/mxcl/homebrew/issues
Thanks!
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:277:in `open_http': 404 Not Found (OpenURI::HTTPError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:518:in `open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:26:in `open'
from /usr/local/Library/Homebrew/utils.rb:251:in `open'
from /usr/local/Library/Homebrew/utils.rb:268:in `each_issue_matching'
from /usr/local/Library/Homebrew/utils.rb:280:in `issues_for_formula'
from /usr/local/Library/Homebrew/exceptions.rb:163:in `issues'
from /usr/local/Library/Homebrew/exceptions.rb:191:in `dump'
from /usr/local/Library/brew.rb:122
Niki-pro-regina-15:~ nikitamikhailov$
Офлайн
16
Niki-pro-regina-15:~ nikitamikhailov$ sudo pip install setuptools –no–use–wheel –upgradeнадо с двойным дефисом:
sudo pip install setuptools --no-use-wheel --upgrade
Niki-pro-regina-15:~ nikitamikhailov$ brew updateВас просят перезапустить команду с админскими правами. Попробуйте:
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
sudo brew update
Офлайн
0
спасибо! по setuptools вот сказал что
no such option: –no–use–wheel
Офлайн