homebrew

Installing OpenCV3 with Homebrew: No head is defined for opencv

試著忘記壹切 提交于 2019-12-11 05:10:46
问题 I am having trouble installing OpenCV3 with the error I have... No head is defined for opencv I have not found any solution to on the internet. I used these websites as references: https://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/ https://www.learnopencv.com/install-opencv3-on-macos/ The exact steps I followed were: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" echo "# Homebrew" >> ~/.bash_profile echo

OpenCV installed but not linked error message on OS-X Mavericks

元气小坏坏 提交于 2019-12-11 04:39:51
问题 When I give the following command brew install homebrew/science/opencv or brew install opencv I get the following message. Warning: opencv-2.4.7.1 already installed, it's just not linked Any idea how to fix this. I already have the following in the .bash_profile based on the links. Installing openCV 2.4.2 on Mac OS X 10.9 (Mavericks) export PYTHONPATH=/usr/local/Cellar/opencv/2.4.6.1/lib/python2.7/site-packages:$PYTHONPATH Linking Python with Open CV on Mac export PYTHONPATH=/usr/local/lib

Python and 'print ssl.OPENSSL_VERSION' prints wrong version

微笑、不失礼 提交于 2019-12-11 04:24:55
问题 I was working with Steffen Ullrich on a previous issue, and now it is morphing into a new issue. So taking his advice (thank you Steffen), I am posting a separate question: $ python -c 'import ssl; print ssl.OPENSSL_VERSION' OpenSSL 0.9.8zh 14 Jan 2016 I have attempted just about everything under the sun (so it feels) to fix it. $ brew install openssl Warning: openssl 1.0.21 is already installed So I have both, but it only reads/links to OpenSSL 0.9.8zh? I am new to Python/Homebrew on my Mac.

How can I install and use latest Git on Mac OS X 10.9?

心已入冬 提交于 2019-12-11 03:43:47
问题 I downloaded Git 2.4.3 from sourceforge via http://git-scm.com/download/mac for my Macbook Pro OS X 10.9.5, then installed it. When I typed git --version into the terminal, this message appeared: xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools When I typed which git this appeared: /usr/bin/git . When I typed git version 2.4.3 this appeared: git version 1.9.5 (Apple

Is there a method to use switch to Homebrew version of node when using nvm?

自闭症网瘾萝莉.ら 提交于 2019-12-11 03:09:56
问题 Lots of my packages such as heroku depends on Homebrew’s node, so I have to keep one in the system. I wonder if I can switch between nvm and Homebrew’s node so I don't have to upgrade twice. 回答1: For temporary switch, use nvm use system For every new shell Use nvm alias default system to use brew version. 来源: https://stackoverflow.com/questions/45625898/is-there-a-method-to-use-switch-to-homebrew-version-of-node-when-using-nvm

Installing MEAN Stack: npm -v module.js: 338 throw err; Error: Cannot find module './cache/caching-client.js'

删除回忆录丶 提交于 2019-12-11 03:09:44
问题 I think I have installed node.js before but never used homebrew to do it. Today I tried to do a walkthrough of an application but got stuck at the very beginning. I am fairly new to programming so I am utterly confused as to why I can't get this to work. I have tried a lot of things but can't seem to find the answer. These are the commands I run in order to install the MEAN stack: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" (succesful no errors)

brew: /usr/bin occurs before /usr/local/bin

ⅰ亾dé卋堺 提交于 2019-12-11 03:05:30
问题 As subject says, running brew doctor responds with following warnings: Warning: /usr/bin occurs before /usr/local/bin This means that system-provided programs will be used instead of those provided by Homebrew. The following tools exist at both paths: ... Warning: Homebrew's bin was not found in your PATH. .... Warning: Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin. However, when I echo PATH, it shows /usr/local/bin as being

Postgresql server will not start after OS X Yosemite upgrade, homebrew

主宰稳场 提交于 2019-12-11 02:54:17
问题 Steps to recreate error: brew uninstall postgresql brew prune brew install postgresql run postgresql start commands psql yields: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? Suggested fixes I have tried that don't work: create missing symbolic link: sudo mkdir /var/pgsql_socket/ sudo ln -s /private/tmp/.s.PGSQL.5432 /var/pgsql_socket/ remove postmaster.pid file (same link as

Rails and Postgres aren't getting along after switching from Macports to Homebrew; PGError: ERROR: unrecognized time zone name: “UTC”

隐身守侯 提交于 2019-12-11 02:38:07
问题 I moved everything that I had in /opt/local (where Macports' things lived) into ~/.macports . That included my old postgres database cluster. Then I installed postgres using Homebrew and ran the setup that it told me to (creating a new database cluster in /usr/local ). In my project, I ran rake db:drop:all and rake db:create . These did their work cheerfully. But when I tried to rake db:migrate , postgres and rails fight and tell me rake aborted! PGError: ERROR: unrecognized time zone name:

moving python3 to brew and updating

梦想与她 提交于 2019-12-11 02:34:10
问题 I am running osx 10.11.6 (el-capitan) a long time ago I installed Python3 using the download on python.org (3.5.0) since then I've installed brew and would like to use brew to manage python3 instead. I have to upgrade to python3.6 because I'm getting the tlsv1 alert protocol version error. How do I uninstall my current python3 How do I get brew to install python 3.6 (it seems to only want to install 3.5.1) or is it better to just run different python versions beside one another? Thanks! 回答1: