homebrew

brew or pip - install credstash - errors - No named formulae found in taps / OSErr six-1.4.1-py2.7.egg-info operation not permitted

青春壹個敷衍的年華 提交于 2019-12-06 05:23:40
Getting the following error on my Mac Terminal window. $ pip --version pip 6.1.1 from /Library/Python/2.7/site-packages (python 2.7) Python version is 2.7.10 While trying to install credstash using brew, I'm getting the following error. $ `which python` --version && brew update && brew install credstash Python 2.7.10 Already up-to-date. Error: No available formula with the name "credstash" ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... Error: No formulae found in taps. Got the similar error, when I tried to install pip3 using brew.

How do I get Sublime Text 2 to work with Ruby on Rails?

半城伤御伤魂 提交于 2019-12-06 04:32:13
I'm new to Ruby on Rails. Here’s what I’ve done so far: I’ve installed XCode, Homebrew, RVM, Ruby and Rails. Now how do I get Sublime Text 2 to work with Ruby on Rails? First thing you should do is install Package Control if you haven't already. This will make downloading packages and plugins way easier. Then you can look at some of the Rails specific packages to make your life easier when coding with Sublime Text. Sublime Text has native support for syntax coloring in .rb files, so you don't have to install anything for that. Dragging your project folder and dropping it on Sublime Text will

Why am I told to 'cd' when updating Homebrew? [duplicate]

浪子不回头ぞ 提交于 2019-12-06 04:31:04
问题 This question already has answers here : Homebrew fatal: needed a single revision (MacOs Sierra) (3 answers) Closed 3 years ago . Since my latest update of Homebrew (to 1.0.0), instead of just seeing Checking out v1.0.1 in /usr/local/Homebrew... when I brew update or brew upgrade --all I now see Checking out v1.0.1 in /usr/local/Homebrew... To checkout v1.0.1 in /usr/local/Homebrew run: 'cd /usr/local/Homebrew && git checkout v1.0.1 Is that an error I should do something about? What's going

brew services list shows mysql running but cannot connect

半世苍凉 提交于 2019-12-06 04:24:30
问题 I followed instructions on installing mysql using brew from here https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e brew services list shows below output Name Status User Plist mysql started <username> /Users/<username>/Library/LaunchAgents/homebrew.mxcl.mysql.plist But when I run 'mysql' or 'mysqladmin -u root password '' I get error. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Can anybody tell the issue here. 回答1: What is your

Permission problems with /usr/local/bin and /usr/local/share

回眸只為那壹抹淺笑 提交于 2019-12-06 04:09:07
问题 I'm using OS X Yosemite in a fresh MacBook. Just installed Homebrew and some essential packages, having moved to this new computer recently. I noticed that once in a while I get linking errors when I install new brew packages. For some reason, the permissions of /usr/local/bin and /usr/local/share keeps changing back to root:wheel even after I did chmod and chgrp several times to make it FP:admin (FP being my username). Take note, it fixes the permissions for a time, allowing me to install

Mac下安装Navicat12之破解

前提是你 提交于 2019-12-06 03:48:46
新入手了个mbp,想装个环境简直了,搞了大半天真的搞吐了。。。 系统:10.14 仅此记录下个人破解过程: 1.安装HomeBrew 问题 brew: command not found 常见方法: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 报错: Failed to connect to raw.githubusercontent.com port 443: Operation   查看多篇博客,均不可行,后面去官网搜索得到答案,可以从官网下载。。 解决:   1.1 https://developer.apple.com/download/more/ 登录后搜索下载,如本人: Command Line Tools (macOS 10.14) for Xcode   1.2 https://raw.githubusercontent.com/Homebrew/install/master/install 打开网页,保存为brew_install.rb的文件,到某个文件夹   1.3 cd 到上一步骤文件夹的位置,$ ruby brew_install.rb 此时,即安装成功, brew --version 查看版本号。 2.

MySQLdb and Python ImportError

守給你的承諾、 提交于 2019-12-06 03:40:06
问题 I cannot for the life of me figure this one out. I've been searching around the web all day and all the resources seem terribly out dated. From what I can tell getting MySQLdb and Python to play nice together is fairly difficult. I've gotten about as far as I can on this, and I'm not sure how to proceed going forward. First off, I am running Python 2.7 The error I get when I try and run "import MySQLdb" in the live interpreter is this: ImportError: this is MySQLdb version (1, 2, 2, 'final', 0

Dylibs and OS X

元气小坏坏 提交于 2019-12-06 03:19:27
问题 I am trying to run a program called vowpal-wabbit (version 6.0) in mac os x. I've used homebrew to install some things, such as lib tools and, importantly, boost. However -- I'm finding that, even though /usr/local/Cellar/boost/1.49.0/lib Clearly has all the boost libs, (including lib boost_program_options.dylib)... The error message i get when trying to run a binary is : dyld: Library not loaded: libboost_program_options.dylib I get the same (basically) error when running "make" to build

Installing Sqlite3 for Ruby (Mac OSX 10.5.8)

倾然丶 夕夏残阳落幕 提交于 2019-12-06 02:58:20
I am following this guide ATM - http://guides.rubyonrails.org/getting_started.html#getting-up-and-running-quickly-with-scaffolding When trying to create a database, I got: Morgans-Computer:blog Morgan$ rake db:create Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in your Gemfile. Run bundle install to install missing gems. When I try to run 'bundle install', I get more errors: Installing sqlite3 (1.3.4) with native extensions /Users/Morgan/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:551:in `rescue in block in build_extensions': ERROR: Failed

macbook安装LightGBM

≯℡__Kan透↙ 提交于 2019-12-06 02:38:34
一开始直接用pip install lightgbm 报错: OSError: dlopen(/Users/{xxx}/anaconda3/lib/python3.6/site- packages/lightgbm/lib_lightgbm.so, 6): Library not loaded: /usr/local/opt/gcc/lib/gcc/7/libgomp.1.dylib Referenced from: /opt/anaconda3/lib/python3.7/site-packages/lightgbm/lib_lightgbm.so Reason: image not found 看了一些网络回答,原因:主要是编译器的版本不一致(mac默认是gcc-8,pip安装的包则是用gcc-7编译的) 然后我看了一下我的gcc,原来都没有安装,这个需要自己安装的。安装这个之前,还要先安装一下Homebrew。 什么是homebrew? 简单说就是一款mac os软件包管理工具。 什么是CMake? 是一个跨平台的安装、编译工具。 什么是Apple Clang? 是一个c语言、c++的轻量级编译器。 什么是Xcode? 是运行在mac os上的集成开发环境(IDE)。里面包含了Apple Clang。 什么是gcc ?GNU Compiler Collection