osx-elcapitan

How to install cx_Oracle on El Capitan

耗尽温柔 提交于 2019-12-01 05:10:38
As I understand it, there was some change related to SIP that makes installing this difficult. These pages have the background and advice to install. http://sourceforge.net/p/cx-oracle/mailman/message/34534872/ , http://stefanoapostolico.com/2015/10/08/install_cx_oracle_with_sip_enabled.html Putting all this together, here was my best shot at installing it to my virtualenv but alas, still no good. The error I'm getting is: Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: dlopen(/Users/me/sx_direct_env/lib/python2.7/site-packages/cx_Oracle.so, 2): Library not

Image resources (xcassets) not displayed correctly on Yosemite in application built on El Capitan using xcode6.4

*爱你&永不变心* 提交于 2019-12-01 03:46:30
When I build my application on El Capitan using Xcode6.4 (Xcode7 is no option right now), all images/icons (except the AppIcon) does not show, or looks garbled. Looking at the output from the asset compiler it looks fine, but there are two outputs I suspect could be related, but I am far from certain: 2015-10-02 12:26:53.569 ibtoold[28899:273288] NSFileCoordinator is doing nothing. 2015-10-02 12:26:54.906 ibtoold[28899:276436] CoreUI(DEBUG): CSIGenerator using 'LZFSE' Compression coreui version (362.000000) Could it be that the LZFSE compression messes up so that Yosemite is unable to

Extract .xip files into a specific folder

本秂侑毒 提交于 2019-12-01 03:44:39
A XIP file is an analog to zip, but allows for a digital signature to be applied and verified on the receiving system, before the archive is expanded. When a XIP file is opened (by double-clicking), Archive Utility will automatically expand it (but only if the digital signature is intact). Essentially, a .xip file is just a .zip with a signature to verify that the file has not changed since its creator saved it. This protects from both damage from a disk error and from a third-party tampering with the file. Does anyone know, how to extract this file, e.g. using Terminal , to a specific folder

sudo mkdir in /usr/, Operation not permitted. El Capitan

こ雲淡風輕ζ 提交于 2019-11-30 11:10:23
Attempting to install PHP, which requires the creation of an extensions directory within /usr/lib/php/extensions . The installation returned an error "Operation not permitted". I have since found out, sudo is not able to create any directories under /usr/ . Anyone else experienced this? Gordon Davisson Local installations really should be installed under /usr/local, not directly under /usr. Starting in El Capitan, this is enforced by System Integrity Protection . Shouldn't be a big change, just install the extensions in /usr/ local /lib/php/extensions, and edit php.ini to set extension_dir to

Symbol not found: _BIO_new_CMS

给你一囗甜甜゛ 提交于 2019-11-30 09:11:38
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 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python

Error installing Numba on OS X

天涯浪子 提交于 2019-11-30 08:56:36
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: brew unlink llvm cd /usr/local/Cellar/llvm/X.X.X/include/llvm/Config/ # X.X.X = 3.6.2 ln -s llvm-config.h

Quit MySQL without it restarting on El Capitan

帅比萌擦擦* 提交于 2019-11-30 06:54:22
问题 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

Matplotlib Error: “figure includes Axes that are not compatible with tight_layout”

纵饮孤独 提交于 2019-11-30 06:39:09
After adding bbox_inches="tight" to an invocation of plt.savefig that has worked for several years, I get /usr/local/lib/python2.7/site-packages/matplotlib/figure.py:1744: UserWarning: This figure includes Axes that are not compatible with tight_layout, so its results might be incorrect The figure in question appears to work (without truncation of annotations now), but I wonder what this error could mean and whether there's anything obvious or known (without digging deep into complex figure code) that I can do to address it. Is there some known or common cause for this that I should look for

How do I remove MacPorts on an “unsupported OS” i.e. El Capitan Public beta?

女生的网名这么多〃 提交于 2019-11-30 05:02:17
The MacPorts installation that I had on Yosemite doesn't work on the El Capitan since it isn't supported yet. I want to remove the Port installation here but I'm not able to run any of the Port commands. Does anyone have an idea how to clean it up? On running any port command, I get the following error: Error: Current platform "darwin 15" does not match expected platform "darwin 14" Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration OS platform mismatch while executing "mportinit ui_options global_options global_variations" Error:

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

半世苍凉 提交于 2019-11-30 04:14:51
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? trianta2 Opening up bin/scala , there's a line: java_release="$(cat $JAVA_HOME/release | grep JAVA_VERSION)" My $JAVA_HOME wasn't set. All fixed