homebrew

MacOS - automake: command not found

99封情书 提交于 2019-12-06 12:01:13
I am trying to install automake on MacOS using brew . From terminal I write, brew install automake says Warning: automake-1.15 already installed . When I then try automake version it responds -bash: automake: command not found . I am using OS X El Capitan. $ automake version -bash: automake: command not found $ brew install automake Warning: automake-1.15 already installed $ automake version -bash: automake: command not found The solution had to do with brew having failed to link the binary into the PATH . Un-linking and re-linking solved it. Fattie What an infuriating problem! In a Docker

Two versions of git installed, currently using old one, how do I switch?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 11:23:23
问题 I need some help, I had a version of git installed a while back (not sure how) not using homebrew. I just installed with homebrew and I'm not sure how to use the new one instead of the old one. Ideas? Thanks in advance $ which -a git /usr/local/bin/git /usr/bin/git /usr/local/bin/git $ which git /usr/local/bin/git $ /usr/bin/git --version git version 1.7.5.4 $ /usr/local/bin/git --version git version 1.8.4 $ git --version git version 1.7.5.4 回答1: export PATH=/usr/local/bin:$PATH 来源: https:/

Error setting up the tesseract OCR in gem in rails

Deadly 提交于 2019-12-06 09:21:10
问题 I'm trying to setup the tesseract-ocr gem in my rails environment. I have ran brew install tesseract and then ran a bundle install on the app and that all runs without errors however when starting the app ( rails s ) the following error is throw: /Users/xxxx/.rvm/gems/ruby-1.9.2-p290@xxxx/gems/ffi-inline-0.0.4.3/lib/ffi/inline/compilers/gcc.rb:35:in `compile': compile error: see logs at /var/folders/66/pm_j0lp94gvcj0qnlcnsx9pw0000gn/T/.ffi-inline-501/4239dac38f2a721e0dc5b3750d71ce2e6fa4acb6

Numpy Install RuntimeError: Broken toolchain: cannot link a simple C program

ⅰ亾dé卋堺 提交于 2019-12-06 09:12:09
问题 (macbook air) I spent a while trying to install this. First off, I can't use Homebrew because I installed it but then the 'network connection' dropped and now my computer can't find the 'brew' command, but it says homebrew in installed. So I don't know how to uninstall it without using the brew command. So I am trying to install numpy from the command line. I have xcode, command line tools, gcc fortran 4.2.3, and downloaded numpy. I am getting a RuntimeError when trying to install it! I've

PHP Laravel-Homestead开发环境安装与配置

亡梦爱人 提交于 2019-12-06 08:38:10
Laravel Homestead 是一个官方预载的 Vagrant「封装包」,提供你一个美好的开发环境,不需要在你的本机端安装 PHP、HHVM、网页服务器或任何服务器软件。 Homestead 可以在任何 Windows、Mac 或 Linux 上面运行, 里面包含了 Nginx 网页服务器、PHP 5.6、MySQL、Postgres、Redis、Memcached等软件, 还有所有你要开发精彩的 Laravel 应用程序所需的软件。 本机系统环境: $ uname -mnprs Darwin YONG-TEST.local 15.6.0 x86_64 i386 $ sw_vers ProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G31 不使用用Homestead,直接在本机安装: 使用homebrew安装PHP7: $ brew update $ brew search php70 homebrew/php/php70 homebrew/php/php70-gmagick homebrew/php/php70-maxminddb homebrew/php/php70-pdo-pgsql homebrew/php/php70-stats homebrew/php/php70-amqp $ brew

Unable to link/run Node.js v6 in Homebrew

十年热恋 提交于 2019-12-06 08:33:40
I'm trying to specifically install Node.js v6, which is proving confusingly difficult. On a new MacBook running Sierra, I've run: brew install node@6 This gave me: Please note by default only English locale support is provided. If you need full locale support you should either rebuild with full icu: `brew reinstall node --with-full-icu` or add full icu data at runtime following: https://github.com/nodejs/node/wiki/Intl#using-and-customizing-the-small-icu-build This formula is keg-only, which means it was not symlinked into /usr/local. This is an alternate version of another formula. If you

RVM + Ruby 1.9.2 + Rmagick + Lion = System Works, RVM Doesn't

☆樱花仙子☆ 提交于 2019-12-06 07:53:32
问题 I've installed Ruby 1.9.2 through RVM on a fresh install of OS X Lion. I have installed ghostscript and imagemagick through homebrew, and when running gem install rmagick using RVM, it fails. When using gem install rmagick on the system install of ruby, it works just fine. This is the error that is produced: ─wedtm@WedHQ ~/.rvm/gems/ruby-1.9.2-p290/cache ‹ruby-1.8.7› ╰─$ gem install rmagick 1 ↵ Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR:

How to uninstall homebrew?

烈酒焚心 提交于 2019-12-06 07:03:10
I installed homebrew today without really knowing what I was doing, and now my scikit-learn package is broken. I want to undo everything that I did by uninstalling homebrew, and tried following the tips here: https://github.com/Homebrew/homebrew/wiki/FAQ However, I think homebrew installed into /usr/bin/local, and not /usr/bin/, so I'm not sure I can use the instructions in the link. When I initially installed homebrew ( ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" ), I got the following messages: ==> This script will install: /usr/local/bin/brew /usr/local

Graphviz and Brew doctor - Unexpected dylibs error

落花浮王杯 提交于 2019-12-06 06:01:03
问题 Just did a brew install graphviz on Mountain Lion which gave me this error Error: Failed executing: make install (graphviz.rb:47) Thought I'd just uninstall it, so ran brew uninstall graphviz but got Error: No such keg: /usr/local/Cellar/graphviz Then thought I'd try brew doctor , but it gives me this error: Warning: Unbrewed dylibs were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.

Homebrew upgrade to Python 2.7.10_2 causes packages to fail with 'image not found'

别说谁变了你拦得住时间么 提交于 2019-12-06 05:44:49
问题 Following an update of Homebrew using brew update brew upgrade --all that results in the updating of Python to 2.7.10_2, pip (and many other scripts) fails with cffi.ffiplatform.VerificationError: importing '/usr/local/lib/python2.7/site-packages/cryptography/_Cryptography_cffi_a269d620xd5c405b7.so': dlopen(/usr/local/lib/python2.7/site-packages/cryptography/_Cryptography_cffi_a269d620xd5c405b7.so, 2): Library not loaded: /usr/local/lib/libssl.1.0.0.dylib Referenced from: /usr/local/lib