homebrew

Which npm/bin folder(s) should be in the PATH ? ( OS X 10.8.2 / npm installed with homebrew )

試著忘記壹切 提交于 2019-12-09 17:58:56
问题 Upgrading node by using homebrew ==> Downloading http://nodejs.org/dist/v0.8.21/node-v0.8.21.tar.gz ######################################################################## 100.0% ==> ./configure --prefix=/usr/local/Cellar/node/0.8.21 ==> make install I'm noticed this ==> Caveats Homebrew installed npm. We recommend prepending the following path to your PATH environment variable to have npm-installed binaries picked up: /usr/local/share/npm/bin In the $PATH I had already: /usr/local/share/npm

“node -v” shows wrong version after “brew upgrade node”

若如初见. 提交于 2019-12-09 17:05:17
问题 I upgraded my version of Node.js with :> brew upgrade node which installed v5.3.0. But when I get the version of node with :> node -v it shows v0.10.29. I tried :> brew link --overwrite node but that didn't work. Brew has node linked to /usr/local/Cellar/node/0.10.29 so I went there and noticed that there are other versions of node including the version I want in /usr/local/Cellar/node/ . How do I tell brew to link node to /usr/local/Cellar/node/5.3.0 ? 回答1: Try to brew link --override node

Installing pyside with python3 on os x

泄露秘密 提交于 2019-12-09 13:44:15
问题 I have tried to install pyside together with python3 on osx mountain lion. I have been trying both brew install pyside But then it only works in python2. I have also tried using the buildscripts from the pyside github rep. Making the changes needed ./build_and_install fails however, with Linking CXX shared library libpyside.cpython-33m.dylib [ 4%] Built target pyside [ 4%] Running generator for QtCore... /bin/sh: /Users/einar/devel/pkg/pyside-sandbox-python3/bin/SHIBOKEN_GENERATOR-NOTFOUND:

“Bad” Python Install

不羁岁月 提交于 2019-12-09 13:33:06
问题 I've been having issues with Python recently, such as compatibility with anaconda. When I ran Homebrew's brew doctor , I think I came across the problem, as laid out below. How can I wipe these files and do a clean install of Python? Warning: "config" scripts exist outside your system or Homebrew directories. `./configure` scripts often look for *-config scripts to determine if software packages are installed, and what additional flags to use when compiling and linking. Having additional

Error installing homebrew on mac (curl: (6) Could not resolve host: raw.githubusercontent.com)

谁说我不能喝 提交于 2019-12-09 10:01:54
问题 I am trying to following instructions on homebrew homepage but the following ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" returns the following error: curl: (6) Could not resolve host: raw.githubusercontent.com Any suggestions? 回答1: If you happen to be behind a proxy, You might need a way out, to exit export http_proxy=http://YOURPROXY:PORT export ALL_PROXY=$http_proxy For some other users, setting back their github https and https-proxy to default

配置React Native环境及解决运行异常

巧了我就是萌 提交于 2019-12-09 09:55:39
一. 安装 Homebrew : Homebrew的官网 (多语言版本)简单明了地介绍了如何安装和使用这个工具,;并提供了自己的Wiki。 brew的安装很简单,使用一条ruby命令即可,Mac系统上已经默认安装了ruby": ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 等待一段时间后会出现 Press RETURN to continue or any other key to abort 敲回车后提示输入你的电脑密码:(输入密码的过程中终端不会有任何变化) 输入密码后提示 Downloading and installing Homebrew... 继续耐心等待.. 二. 安装 Node.js : 使用 Homebrew 来安装nvm,watchman 和 flow.(建议每次用Homebrew的时候先更新brew,命令: brew update ) 1,安装nvm: 终端中输入: brew install nvm 最后终端会提示 大概意思就是如果没有.nvm文件的话就要创建一个,终端中输入 mkdir ~/.nvm 就可以创建.nvm文件了 ,然后去~/.bash_profile或者在shell的配置文件中配置如下内容: export NVM

brew install python, but then: “python-2.7.6 already installed, it's just not linked”

旧时模样 提交于 2019-12-09 07:28:34
问题 disclaimer: noob OSX 10.8.5 When I installed python in bash I got this warning and error: Warning: Could not link python. Unlinking... Error: The 'brew link' step did not complete successfully The formula built, but is not symlinked into /usr/local You can try again using 'brew link python So I went ahead and typed brew link python and got Linking /usr/local/Cellar/python/2.7.6... Warning: Could not link python. Unlinking... Error: Could not symlink file: /usr/local/Cellar/python/2.7.6/bin

Installing OpenCV with Brew never finishes

我的梦境 提交于 2019-12-09 05:39:47
问题 So I'm trying to install opencv using Homebrew but it isn't working. I used brew tap homebrew/science and then brew install opencv What happens is: ==> Installing opencv from homebrew/homebrew-science ==> Installing dependencies for homebrew/science/opencv: gcc, eigen, jpeg, libpng, libtiff, ilmbase, openexr, homebrew/python/numpy ==> Installing homebrew/science/opencv dependency: gcc ==> Downloading http://ftpmirror.gnu.org/gcc/gcc-5.1.0/gcc-5.1.0.tar.bz2 Already downloaded: /Library/Caches

Incompatible library version: nokogiri.bundle requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

白昼怎懂夜的黑 提交于 2019-12-09 04:55:24
问题 In an attempt to get mysql installed on my mac for a rails project I followed an online suggestion of installing homebrew and removing mac ports. This is where the problems began. The rails project won't build, I am getting this: [rake --prereqs] rake aborted! dlopen(/Users/Parker/.rvm/gems/ruby-1.9.3-p448/gems/nokogiri-1.6.0/lib/nokogiri/nokogiri.bundle, 9): Library not loaded: /opt/local/lib/libiconv.2.dylib Referenced from: /Users/Parker/.rvm/gems/ruby-1.9.3-p448/gems/nokogiri-1.6.0/lib

How to upgrade kubectl client version

喜欢而已 提交于 2019-12-09 04:39:36
问题 I want to upgrade the kubectl client version to 1.11.3. I executed brew install kubernetes-cli but the version doesnt seem to be updating. Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.7", GitCommit:"0c38c362511b20a098d7cd855f1314dad92c2780", GitTreeState:"clean", BuildDate:"2018-08-20T10:09:03Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.4", GitCommit: