我已经安装了matplotlib-1.2.1以及numpy-1.8.0 。 注意 – 我正在使用安装了自制软件的系统python – 我有$PYTHONPATH设置,以便从/Library/Python/xy/site-packages (其中pip安装到)加载/Library/Python/xy/site-packages 。 这里是安装matplotlib的代码(configuration) BUILDING MATPLOTLIB matplotlib: yes [1.3.1] python: yes [2.7.5 (default, Aug 25 2013, 00:04:04) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]] platform: yes [darwin] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.8.0] dateutil: yes [using dateutil version 1.5] tornado: yes [tornado was not found. It is […]
安装OS X 10.9 Mavericks后,在OS X上设置我的PHP开发环境时出现问题。 这是我用来安装的命令。 sudo pecl install xdebug downloading xdebug-2.2.3.tgz … Starting to download xdebug-2.2.3.tgz (250,543 bytes) ……………………………………………..done: 250,543 bytes 66 source files, building running: phpize grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP Api Version: Zend […]
我在OS X 10.9.3 MacBook Pro上通过Homebrew安装了rbenv。 我做了: brew update brew upgrade rbenv ruby-build 根据rbenv install –list在我的笔记本电脑上rbenv install –list Ruby 2.1.0-dev是最新的。 有人知道这是关于什么吗? 我会猜测这是一个10.9.3的问题。
将Mac OSX 10.8升级到10.9后,在/ usr / sharepath中找不到Maven,但是在10.8中安装了Maven。 当我尝试这个命令: $ maven -version 得到了这个结果 -bash:找不到命令mvn: 但它在10.8上工作正常? 任何想法?
我正在运行Mac OS 10.9.5,我已经按照https://docs.docker.com/installation/mac/来安装docker。 即使boot2docker虚拟机正在后台运行,运行docker时也会收到超时错误消息。 nikhil@macbook ~> boot2docker status running nikhil@macbook ~> boot2docker ip The VM's Host only interface IP address is: 192.168.59.103 nikhil@macbook ~> docker run hello-world 2014/11/01 01:01:31 Post https://192.168.59.103:2376/v1.15/containers/create: dial tcp 192.168.59.103:2376: i/o timeout nikhil@macbook ~> docker search ubuntu 2014/11/01 01:02:40 Get https://192.168.59.103:2376/v1.15http://img.dovov.comsearch?term=ubuntu: dial tcp 192.168.59.103:2376: i/o timeout 我已经validationdocker运行在boot2docker虚拟机内,并且我的端口是正确的。 nikhil@macbook ~> boot2docker ssh […]
我正在尝试在小牛上安装以下的gem版本 libv8(3.16.14.3) therubyracer(0.12.1) 显然therubyracergem取决于libv8。 1)安装libv8 什么是libv8? 我的一点研究似乎暗示它是Google Chrome使用的某种JavaScript库? 我在安装时遇到了麻烦,但是这个好post既有我的错误,也有关于如何绕过它的一个很好解释的答案。 所以我安装了libv8 gem install libv8 — –with-system-v8 这是我的理解,这安装的gem,但使用我的本地系统安装的V8库,而不是…与版本的gem? 无论哪种方式,它都是成功的。 2)安装therubyracer 在下一步,我遇到了安装therubyracergem的麻烦。 我不太清楚这个gem是干什么的,只是这是一个我试图bundle install的rails项目的依赖项。 它给了我以下错误: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /Users/jeeves.butler/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb checking for main() in -lpthread… yes checking for main() in -lobjc… yes checking for v8.h… no *** extconf.rb failed *** Could not create […]
我试图在OSX Mavericks上安装Elasticsearch 1.1.0,但当我尝试启动时遇到以下错误: :> ./elasticsearch Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.Version at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252) at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:236) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32) 另外当我用-v arg执行相同的命令时,我得到这个错误: :> ./elasticsearch -v Exception in thread "main" java.lang.NoSuchFieldError: LUCENE_36 at org.elasticsearch.Version.<clinit>(Version.java:42) 这是我的环境: Java版本 >: java -version java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, […]
我已经安装了命令行工具: $ xcode-select –print-path /Library/Developer/CommandLineTools 但是,什么时候尝试使用xcodebuild ,我得到以下错误: $ /usr/bin/xcodebuild xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance 在Mountain Lion上,不用安装整个Xcode就可以使用,而不仅仅是命令行工具。 小牛队能做到这一点吗? 我怎样才能使它工作? NB这是一个干净的小牛安装 。 更新:为了显示,我确实安装了命令行工具: $ gcc –version Configured with: –prefix=/Library/Developer/CommandLineTools/usr –with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix
当Xcode服务机器人尝试执行一个启动了run unit tests的构build时,构build将总是失败。 当我查看日志文件时,同样的错误重复多次: xcsbuildd[1966] <Warning>: [XCSBuildOperation.m:106 7368f310 +2126ms] Preflight connection to /var/XCSControl/com.apple.XCSTestUserPreflightService failed; retrying: No such file or directory 随后几行后面是这些错误信息: xcsbuildd[1966] <Error>: [XCSBuildOperation.m:102 7368f310 +2104ms] Timed out trying to connect to CG Session; giving up after 60 seconds xcsbuildd[1966] <Error>: [XCSOperation.m:33 7368f310 +0ms] Error Domain=XCSBuildServiceDomain Code=0 "Cancelled integration because headless test environment is required […]
自上次OSX更新(小牛)以来,我是唯一一个拥有较慢模拟器的人? 我试图重置模拟器 我已经尝试在“debugging”主栏中打开/closuresanimation速度 我试图用一个简单的四边形来画我的游戏 我试图在IOS7,IOS6和Retina上运行我的应用程序,而不是在模拟器上运行 当我在Android设备上运行它时,我的应用程序不是很慢 模拟器总是很慢,在以前的OSX版本上我没有任何问题:/(我的应用程序是使用OpenGL ES2的游戏) 谢谢!