homebrew

OsX, can't use Homebrew because of Ruby permission

北城余情 提交于 2020-01-15 09:32:22
问题 I have seen many related questions and posts, but I just can't fix my problems. I am running El Capitan and I want to have Homebrew and Ruby running. But if I want to run Homebrew I get permission errors like: bio89093:~ jonbra$ brew doctor /Library/Ruby/Site/2.0.0/rubygems.rb:1219:in `register_default_spec': undefined method `default_gems_use_full_paths?' for Gem:Module (NoMethodError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb

Faulty python installation on macOS. How can I repair?

强颜欢笑 提交于 2020-01-15 09:23:10
问题 I am using macOS High Sierra. In the past at some point I installed Python via brew however for some reason (that I don't know) pip failed to work: $ pip --version Traceback (most recent call last): File "/usr/local/opt/python2/libexec/bin/pip", line 6, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3195, in <module> @_call_aside File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line

Erlang debugger error: Could not find 'wxe_driver.so'

孤者浪人 提交于 2020-01-15 07:48:26
问题 I can see the following error report when I start up the debugger. 2> debugger:start(). =ERROR REPORT==== 23-Jan-2014::11:59:08 === ERROR: Could not find 'wxe_driver.so' in: /usr/local/Cellar/erlang/R16B03/lib/erlang/lib/wx-1.1.1/priv {ok,<0.42.0>} The debugger window still starts despite the error report. Why the error? Will it cause debugger problem down the road? Erlang runtime is installed by homebrew. Version number is R16B03 回答1: I find a solution: brew install wxmac It works with

Erlang debugger error: Could not find 'wxe_driver.so'

限于喜欢 提交于 2020-01-15 07:48:13
问题 I can see the following error report when I start up the debugger. 2> debugger:start(). =ERROR REPORT==== 23-Jan-2014::11:59:08 === ERROR: Could not find 'wxe_driver.so' in: /usr/local/Cellar/erlang/R16B03/lib/erlang/lib/wx-1.1.1/priv {ok,<0.42.0>} The debugger window still starts despite the error report. Why the error? Will it cause debugger problem down the road? Erlang runtime is installed by homebrew. Version number is R16B03 回答1: I find a solution: brew install wxmac It works with

Install pipenv using brew on Python 3.6

对着背影说爱祢 提交于 2020-01-14 14:09:02
问题 I am trying to install pipenv using Homebrew as suggested in here. First, I ran $ brew install pipenv . Then, brew install python 3.7 automatically and I can use pipenv properly. But, I want to use pipenv on Python 3.6, so I ran $ brew switch python 3.7 3.6.5 and then when I tried $ pipenv install an error appeared as follow: dyld: Library not loaded: @executable_path/../.Python Referenced from: /usr/local/Cellar/pipenv/2018.11.26/libexec/bin/python3.7 Reason: image not found Abort trap: 6 Is

Install pipenv using brew on Python 3.6

北战南征 提交于 2020-01-14 14:07:32
问题 I am trying to install pipenv using Homebrew as suggested in here. First, I ran $ brew install pipenv . Then, brew install python 3.7 automatically and I can use pipenv properly. But, I want to use pipenv on Python 3.6, so I ran $ brew switch python 3.7 3.6.5 and then when I tried $ pipenv install an error appeared as follow: dyld: Library not loaded: @executable_path/../.Python Referenced from: /usr/local/Cellar/pipenv/2018.11.26/libexec/bin/python3.7 Reason: image not found Abort trap: 6 Is

How to let python3 import graph-tool installed by Homebrew?

≯℡__Kan透↙ 提交于 2020-01-14 09:42:25
问题 I tried to use Homebrew to install graph-tool, but the python3 cannot find it. brew tap homebrew/science brew install graph-tool It is said that the package is installed in homebrew/science/graph-tool-2.22_1 , where I only found /usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/graph-tool.rb . When I tried to import graph-tool in python3, it shows that from graph_tool.all import * ImportError: No module named 'graph_tool' I am using python3. which python3 /usr/local/bin/python3 Is

How to let python3 import graph-tool installed by Homebrew?

心已入冬 提交于 2020-01-14 09:42:07
问题 I tried to use Homebrew to install graph-tool, but the python3 cannot find it. brew tap homebrew/science brew install graph-tool It is said that the package is installed in homebrew/science/graph-tool-2.22_1 , where I only found /usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/graph-tool.rb . When I tried to import graph-tool in python3, it shows that from graph_tool.all import * ImportError: No module named 'graph_tool' I am using python3. which python3 /usr/local/bin/python3 Is

Alternative dependencies in a Homebrew formula (e.g. for use with gcc)

旧时模样 提交于 2020-01-14 09:11:53
问题 How can I describe alternative dependencies in a Homebrew formula? There are two different kinds I'm thinking of. 1. Alternative packages My formula can depend on package P or Q , but it must have one of them. So, I want either depends_on 'P' or depends_on 'Q' and I need at least one. 2. Alternative flags for the same package My formula requires another package X for building, and it needs a package X with one of two flags, A and B . That is, I want either depends_on 'X' => [:build, 'A'] or

Alternative dependencies in a Homebrew formula (e.g. for use with gcc)

落花浮王杯 提交于 2020-01-14 09:11:32
问题 How can I describe alternative dependencies in a Homebrew formula? There are two different kinds I'm thinking of. 1. Alternative packages My formula can depend on package P or Q , but it must have one of them. So, I want either depends_on 'P' or depends_on 'Q' and I need at least one. 2. Alternative flags for the same package My formula requires another package X for building, and it needs a package X with one of two flags, A and B . That is, I want either depends_on 'X' => [:build, 'A'] or