homebrew

How to remove Homebrew formula/keg that no longer exists?

青春壹個敷衍的年華 提交于 2019-12-11 01:51:50
问题 I'm trying to remove extempore but I get the following: $ brew uninstall extempore Error: No available formula with the name "extempore-llvm" Trying to uninstall extempore-llvm $ brew uninstall extempore-llvm Error: No such keg: /usr/local/Cellar/extempore-llvm Adding --force does not do anything. How do I remove this keg/formula completely? Brew can't uninstall/install/reinstall anything while this is an issue. 回答1: Remove /usr/local/Cellar/extempore-llvm manually, then execute brew prune .

How to install sshd on Mac? [closed]

柔情痞子 提交于 2019-12-11 01:38:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am trying to use Hadoop on my Mac, but it requires Java and ssh , so I need to install them. I have already done the ssh part with the help of Homebrew, but after I download sshd , I don't know how to install it. How can I do this? 回答1: OS X comes with sshd , you only need to enable it in System Preferences ,

Additional scripts in PATH

两盒软妹~` 提交于 2019-12-11 01:37:49
问题 I am trying to install Rails on OS X 10.7.5, using Homebrew and continue to receive the below Warning. I have tried many times to change the PATH to exclude the Python Directories (modifying .bash_profile, but am not even sure this is what is causing the Warning. Apologies if this is serious noob territory, but I could not find anything helpful after hours of searching. Homebrew warning: Warning: "config" scripts exist outside your system or Homebrew directories. ./configure scripts often

PHPUnit - This version of PHPUnit requires PHP 5.6; using the latest version of PHP is highly recommended - OSX 10.11

自闭症网瘾萝莉.ら 提交于 2019-12-11 01:36:07
问题 I am using MAC OS X El Capitan (Version 10.11.1). I installed PHPUint using the following command: brew install homebrew/php/phpunit When I type which phpunit in the terminal it outputs: /usr/local/bin/phpunit but when I run phpunit /pathto/file.php , it gave me this error: Parse error: parse error, expecting '&'' or "variable (T_VARIABLE)"' in phar:///usr/local/Cellar/phpunit/5.0.0/libexec/phpunit-5.0.0.phar/phar/phpunit-mock-objects/Framework/MockObject/Builder/InvocationMocker.php on line

OSX not using latest Ruby version

僤鯓⒐⒋嵵緔 提交于 2019-12-11 00:56:37
问题 When I try to run a ruby command in terminal I get an error: Ruby >= 2.1.9 required to run app (You have 2.0.0) When I try brew upgrade ruby I get Error: ruby 2.3.1 already installed Previously I tried installing ruby with rvm curl -sSL https://get.rvm.io | bash -s stable --ruby Maybe I have two different versions of ruby running? How can I get my system to use the latest version of ruby? EDIT: Definitely two versions installed /usr/local/bin/ruby -v ruby 2.3.1p112 (2016-04-26 revision 54768)

matplotlib backend for remote plot display (alternative for gtk/x11) OS X El Capitan with homebrew

怎甘沉沦 提交于 2019-12-11 00:33:13
问题 Lost enough time on this one today to justify a post... I previously relied on GTKAgg matplotlib backend for remote display and interactive plotting from the ipython command line on a remote server. This approach is similar to the one described here: https://stackoverflow.com/a/3453527/1665400 This week I upgraded to El Capitan (10.10.5), and a fresh homebrew install. Everything is working correctly, but I recently learned that the homebrew project dropped x11 support for gtk, and is

HomeBrew -bash: $: command not found

烂漫一生 提交于 2019-12-10 21:39:17
问题 I am trying to install pyqt on my mac. I have installed homebrew and it seems to be "fine" but when I run the command $ brew install pyqt I get the following error: -bash: $: command not found Could someone please point me in the right direction, I have looked at several websites but I can't seem to troubleshoot it. Thanks 回答1: It looks like you copied a line from a website or other source. Generally, terminal commands are prefixed by a sample terminal prompt in documentation. For example, if

Updating 'pip' after configuring 'pip' to point to Homebrew's pip3 causes errors

谁说我不能喝 提交于 2019-12-10 21:37:16
问题 After installing Python 3 using Homebrew and putting the Homebrew aliases (e.g. pip -> pip3 ) on my path export PATH=/usr/local/opt/python/libexec/bin:$PATH and then updating pip with pip3 install -U pip I get errors whenever I run pip : pkg_resources.VersionConflict: (pip 19.1 (/usr/local/lib/python3.7/site-packages), Requirement.parse('pip==19.0.3')) How do I configure my Homebrew Python 3 correctly with pip3 so that updates to pip (and other packages) work when the aliases provided with

Installing pygame with homebrew

一曲冷凌霜 提交于 2019-12-10 21:11:41
问题 I am trying to install pygame for Python3 using Homebrew. (I have both Python 2 and Python 3 on my machine.) I used this Reddit page, which says: brew tap Homebrew/python brew update brew install pygame This works perfect and installs pygame successfully on my Python 2.7. However, Python 3 still does not have pygame . I also found that I can do it using pip3 . However, I am looking for a way to install pygame for Python 3 using Homebrew. 回答1: Adding --with-python3 is the key here. You can

Does installing gfortran with homebrew and with an installer create a conflict?

给你一囗甜甜゛ 提交于 2019-12-10 19:51:29
问题 I was following an online tutorial to install some Python modules using homebrew and one step was to install gfortran with brew install gfortran . Later on, I tried using another third-party installation script to install some Python modules and after the fact I realized that part of what the script did was download and run http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg. I don't know that much about gfortran, but looking at the brew formula for gfortran it appears that brew uses a