osx-elcapitan

Trouble installing m2crypto with pip on OS X / macOS

给你一囗甜甜゛ 提交于 2019-11-29 18:57:07
pip install m2crypto Generates the following output: building 'M2Crypto.__m2crypto' extension swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c swig -python -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/include -I/usr/include/openssl -includeall -modern -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i SWIG/_m2crypto.i:30: Error: Unable to find 'openssl/opensslv.h' SWIG/_m2crypto.i:33: Error: Unable to find 'openssl/safestack.h' SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h' SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h' error: command

Error installing Numba on OS X

自作多情 提交于 2019-11-29 12:56:23
问题 I'm unable to install Numba (via pip) on my OS X system. I'm using Python: 2.7.11 (Homebrew) pip: 8.1.1 setuptools: 20.6.7 OS X: 10.11.4 (x86_64) Xcode: 7.3 Xcode CLT: 7.3.0.0.1.1457485338 Clang: 7.3 build 703 and have installed the prerequisites (I think) with brew install llvm git clone https://github.com/numba/llvmlite cd llvmlite LLVM_CONFIG=/usr/local/opt/llvm/bin/llvm-config python setup.py install cd .. rm -rf llvmlite and also tried brew install llvm brew link --force llvm # later:

Symbol not found: _BIO_new_CMS

北城余情 提交于 2019-11-29 12:51:33
问题 I am new to mac and I don't understand why my scrapy doesn't seem to work any more. I suspect openssl is not valid in my el capitan. I tried: pip install cryptography pip install pyOpenSSL brew install openssl and I still get the error below. Is there some way I can fix this? $ python Python 2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import OpenSSL

Installing “rgl” package in R, Mac OSX El Captian

柔情痞子 提交于 2019-11-29 06:49:21
I'm new to programming in R so I apologise in advance if I seem naive. I want to be able to do some principal components analysis on my data in 3D. I read that the "pca3d" function is good for this, but I need to download the "rgl" library. When I use install.packages it asks: install.packages("rgl") There is a binary version available but the source version is later: binary source needs_compilation rgl 0.95.1201 0.95.1367 TRUE Do you want to install from sources the package which needs compilation? y/n: n I have tried installing it as both binary and source, but nothing seems to work. If I

Can't install mongo-php-driver on OS X 10.11

心已入冬 提交于 2019-11-29 03:49:48
问题 I've read through all the similar Stack Overflow questions - nothing addresses my specific issue. I'm running OS X 10.11 (El Capitan). I've cloned the mongo-php-drive repo and these commands succeed: phpize ./configure make But sudo make install fails: (master) ~/tmp/mongo-php-driver $ sudo make install Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20121212/ cp: /usr/lib/php/extensions/no-debug-non-zts-20121212/#INST@39898#: Operation not permitted make: *** [install

Getting “cat: /release: No such file or directory” when running scala

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-29 02:10:43
问题 I tried to install Scala 2.12.1 on my Mac (El Capitan) via Homebrew and also by downloading the binaries from https://www.scala-lang.org/download/. In both cases, whenever I run scala (or scalac , scaladoc , etc) I get this printed to screen: cat: /release: No such file or directory The action is successful however. E.g. scala myscript.scala works just fine, but that error message gets printed first. Does anyone have an idea of why that's happening? 回答1: Opening up bin/scala , there's a line:

Change storage driver for Docker on OS X

二次信任 提交于 2019-11-28 23:53:51
This is basically a follow-up to this question , but now since the OS X Docker no longer needs Docker Toolbox (i.e. no longer needs VirtualBox), I'm totally lost how to switch from AUFS to devicemapper or something else. The issue I'm facing here as well is the missing hardlink support in AUFS which makes problems during the installation of the Android SDK, so I hope devicemapper will help me here. So, how can I change the storage driver of Docker's native implementation in OS X? Matt The Alpine Linux VM that Docker for Mac runs doesn't support the devicemapper driver but it can run the

Quit MySQL without it restarting on El Capitan

回眸只為那壹抹淺笑 提交于 2019-11-28 23:13:24
I'm running OS X 10.11 El Capitan with its built-in server stack (Apache 2.4.16, MySQL 5.6.26). I need to quit mysql, but killing the process immediately restarts it. Here's what I've tried so far: Killing the process $ ps aux | grep mysql to get the PID returns 74 49484 1 0 10:23AM ?? 0:00.46 /usr/local/mysql/bin/mysqld --user=_mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --log-error=/usr/local/mysql/data/mysqld.local.err --pid-file=/usr/local/mysql/data/mysqld.local.pid --port=3307 Then, $ sudo kill -9 49484 kills the process, but

Android studio broke up my build.gradle file after add a Fragment

泪湿孤枕 提交于 2019-11-28 23:10:29
Using Android Studio 2.0 over El Capitan like the next screenshot said: I found a bug that I can't report: After add a Fragment to my project, AS screw up my module build.gradle file. I mean, before add the fragment they file looks like this screenshot: but after add the Fragment AS screw it in this way: The way to reproduce it is like I'm showing in next screenshot: I can fix it manually, but its so annoying doing it every single time that I add a Fragment. Is there anyway to fix it? I'm on Mac OX with El Capitan. afj88 It is a still open bug, you can monitor it's state here The bug is due to

change xcrun developer path for Android Studio

坚强是说给别人听的谎言 提交于 2019-11-28 22:17:27
I'm using GIT and am trying to push my code and getting the following error when using the Terminal . I don't use XCode , I'm using Android Studio . The command I tried using was: git branch Networking Error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun` I am running on El Capitan Beta 4 update if that helps in anyway . Instead of installing xcode you can install git from here and change the path in android studio to /usr/local/git/bin/git as shown in the image below. This way you save