osx-mavericks

npm ERR! invalid: strip-ansi@0.2.2

流过昼夜 提交于 2019-12-19 07:24:25
问题 After upgrading node using brew upgrade node : $ node -v v0.10.30 I do a npm update -g : $ npm -v 1.4.23 There is a ERR when npm ls -g : npm ERR! invalid: strip-ansi@0.2.2 /usr/local/lib/node_modules/npm/node_modules/columnify/node_modules/strip-ansi npm ERR! not ok code 0 How can I fix the error? 回答1: Fixed by: npm install -g npm Source: https://github.com/npm/npm/issues/5913 来源: https://stackoverflow.com/questions/25238544/npm-err-invalid-strip-ansi0-2-2

opencv for python on mavericks

▼魔方 西西 提交于 2019-12-19 04:20:34
问题 I know its too soon, but ive upgraded to OSX mavericks and I'm unable to install opencv using Homebrew. ==> Installing dependencies for opencv: cmake, pkg-config, libpng ==> Installing opencv dependency: cmake ==> Downloading http://www.cmake.org/files/v2.8/cmake-2.8.12.tar.gz ######################################################################## 100.0% ==> ./bootstrap --prefix=/usr/local/Cellar/cmake/2.8.12 --system-libs --no-system-libarchive --datadir=/shar ==> make ==> make install

Trouble using Network Link Conditioner on OS X Mavericks

百般思念 提交于 2019-12-18 18:49:31
问题 I'm trying to get Network Link Conditioner working on my machine that is running OS X Mavericks. I'm running Developer Preview 8 (the latest as of this writing). I downloaded the "Hardware IO Tools for Xcode 5 Developer Preview - June 2013" to get the Network Link Conditioner pref pane. I have also tried the version of Network Link Conditioner from the previous Hardware IO Tools bundle which fails to open with a "Could not load Network Link Conditioner preference pane." error when trying to

Trouble using Network Link Conditioner on OS X Mavericks

那年仲夏 提交于 2019-12-18 18:49:30
问题 I'm trying to get Network Link Conditioner working on my machine that is running OS X Mavericks. I'm running Developer Preview 8 (the latest as of this writing). I downloaded the "Hardware IO Tools for Xcode 5 Developer Preview - June 2013" to get the Network Link Conditioner pref pane. I have also tried the version of Network Link Conditioner from the previous Hardware IO Tools bundle which fails to open with a "Could not load Network Link Conditioner preference pane." error when trying to

Composer could not find a composer.json

谁说胖子不能爱 提交于 2019-12-18 14:52:30
问题 I tried to install composer via brew per: In usr/local/bin (which was not on Mavricks and I had to make personally) I did. brew tap josegonzalez/homebrew-php brew install josegonzalez/php/composer I can run php composer.phar , but when I do php composer.phar install , I get the error: Composer could not find a composer.json file in /usr/local/bin To initialize a project, please create a composer.json file as described in the http://getcomposer.org/ "Getting Started" section So I go to the

Installing Gstreamer-1.0 on Mac OS X Mavericks

我们两清 提交于 2019-12-18 13:22:32
问题 I want to install Gstreamer-1.0 on Mac OS X Mavericks. So I already install gstreamer-1.0-1.6.0-x86_64.pkg and gstreamer-1.0-devel-1.6.0-x86_64.pkg from here. After that I tried to run something like this: gst-launch-1.0 fakesrc ! fakesink But got error: -bash: gst-launch-1.0: command not found So how I can install and use Gstreamer-1.0 on Mac OS X Mavericks? 回答1: From https://stackoverflow.com/a/30873313/1162305 Try installing them with the following commands from your terminal: brew install

Can't update Macports (with Mac OS X Mavericks)

那年仲夏 提交于 2019-12-18 09:54:50
问题 After upgrading Mac OS X to newest version Mavericks, I attempted to selfupdate my Macports, but it failed: $ sudo port -v selfupdate ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 210.00 bytes/sec total size is 4925440 speedup is 46908.95 receiving file list ... done sent 36 bytes received 76 bytes 74.67 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.2.0 installed, MacPorts base version 2.2.1 downloaded. --->

Installing Pillow with Mac OS X Mavericks (10.9.1)

拟墨画扇 提交于 2019-12-18 08:44:28
问题 I'm trying to install Pillow following the instruction: http://pillow.readthedocs.org/en/latest/installation.html#mac-os-x-installation The issue is that I got error with python -c 'from PIL import Image . python -c "from PIL import Image" Traceback (most recent call last): File "<string>", line 1, in <module> File "/Library/Python/2.7/site-packages/PIL/Image.py", line 53, in <module> from PIL import _imaging as core ImportError: dlopen(/Library/Python/2.7/site-packages/PIL/_imaging.so, 2):

Trouble matching the vibrant background of a Yosemite NSMenuItem containing a custom view

浪子不回头ぞ 提交于 2019-12-17 22:58:20
问题 I am attempting to add a custom view to an NSMenuItem in the OS X 10.10 Yosemite menu bar. The custom view is simply an NSView background with an NSTextField “label”. The problem is that the background NSView is given Yosemite-style vibrancy/transparency when added to the menu. The NSTextfield label is not. Through the use of NSRectFillUsingOperation I've gotten this to look good for some background colors in Yosemite. But others continue to not match. When it is working, after manually

Install any version of ruby with RVM on mavericks

六眼飞鱼酱① 提交于 2019-12-17 22:35:54
问题 I've just upgraded to osx mavericks, and I want to install ruby 2.0, but I'm getting configure: error: cannot run C compiled programs. errors. I update rvm with rvm get stable and then type rvm install 2.0.0 and get an error directing me to a log file. The log file contains: configure: WARNING: unrecognized options: --without-tcl, --without-tk checking build system type... x86_64-apple-darwin13.0.0 checking host system type... x86_64-apple-darwin13.0.0 checking target system type... x86_64