osx-elcapitan

'pip install MySQL-python' fails with 'IndexError'

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 08:26:33
I'm on OSX El Capitan, using Python 2.7 (Anaconda). Launching the command pip install MySQL-python yields: Collecting MySQL-python Using cached MySQL-python-1.2.5.zip Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/d2/gd004m2s35z5dlyz9mfn6sc40000gn/T/pip-build-FYvb_T/MySQL-python/setup.py", line 17, in <module> metadata, options = get_config() File "setup_posix.py", line 53, in get_config libraries = [ dequote(i[2:]) for i in libs if i.startswith(compiler_flag("l")) ] File "setup_posix.py"

ERROR: While executing gem … (Errno::EPERM) Operation not permitted [duplicate]

和自甴很熟 提交于 2019-11-27 04:09:19
问题 This question already has answers here : Can't install gems on OS X “El Capitan” (14 answers) Closed 4 years ago . I just updated my Mac to OSX 10.11 El Capitan and some gems didn't remain. The problem arose when I tried to run installations of different gems... e.g.: > sudo gem install compass Once I execute, I get the error: > ERROR: While executing gem ... (Errno::EPERM) Operation not permitted This happens with other gems, as well... I've run Homebrew and tried to install Ruby again, but

PDFtk Server on OS X 10.11

主宰稳场 提交于 2019-11-27 02:25:59
I've been using PDFTK Server on OSX pre 10.11 for over a year without any issues running commands on the command line. After installing OSX 10.11 beta, I can no longer run any PDFTK Server commands on the command line. It does not throw any error, all the commands I try to execute just hang indefinitely. I installed from a pkg I downloaded from the PDFTK Server website as always: https://www.pdflabs.com/tools/pdftk-server/ I've also tried installing from source with Homebrew. The installation works, but I get the same results, the commands just hang in the terminal: Homebrew tap I've sent in

Xcode 6.4 on OSX 10.11 (El Capitan) beta 2 / beta 3

五迷三道 提交于 2019-11-27 02:13:58
问题 I am trying to run Xcode 6.4 on El Capitan and I can run with the instructions on this post. But I am looking for a way to run it without any external program as I ran before with OSX 10.10 (Yosemite). I found this post that point to this instructions but it does not work. These are the instructions Open this file /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exception.plist Find lines with name xcode in them (http://i.imgur.com/tcKWLhz.png) Edit value HardDisabled from YES

Android Device Monitor will not launch, either from Android Studio or from Terminal — UnsupportedClassVersionError

有些话、适合烂在心里 提交于 2019-11-27 02:04:52
问题 I am getting the following error when trying to launch Android Device Monitor from the Tools window in Android Studio on a Mac. and when I open the log file I find an error report very similar to the other SO questions similar to this, esp this one. However, using sudo did not work for me, although I get similar, though much shorter, error data: Macs-MBP:tools macuser$ sudo ./monitor Password: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/archquery/Main :

'Library not loaded: @rpath/libcudart.7.5.dylib' TensorFlow Error on Mac

让人想犯罪 __ 提交于 2019-11-27 01:49:51
I'm using OS X El Capitan (10.11.4). I just downloaded TensorFlow using the pip install instructions here . Everything went pretty smoothly, though I did get a few warning messages like: The directory '/Users/myusername/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag. and You are using pip version 6.0.8, however version 8.1.2 is available. Even though I just installed pip. Then, when I tested TensorFlow in Python, I

How to fix broken python 2.7.11 after OSx updates

允我心安 提交于 2019-11-27 01:21:05
问题 What happened: After an OSx update and installing a new version of python 2.7 my virtualevn environment completely broke and I struggled in fixing it. I wasn't sure what caused it and went through a whole set of things that I did and read initially that didn't work are listed below. What solved my problem is provided in the answer section. What didn't work to fix virtualenv command not found: Installed python through homebrew and then used pip to install virtualenv Installed python through

Xcode 6.4/7 crashing after El Capitan beta

老子叫甜甜 提交于 2019-11-27 01:15:41
问题 I updated my computer to the latest beta that was released to developers last night and the same project that was compiling fine yesterday night now fails due to a supposed .xib/.storyboard error. I have tried cleaning the project, downloading a previous version off of github, etc.. and yet the project still gives me the following error. "Failed to communicate with Interface Builder" as well as Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255 .

“restricted” folder/files in OS X El Capitan

巧了我就是萌 提交于 2019-11-26 21:32:41
After upgrading from OS X Yosemite to OS X El Capitan Developer Preview, I tried to edit /System/Library/LaunchDaemons/ssh.plist to change the default SSH port to a custom one. This is the process I've been using for a couple of years. The problem is that El Capitan doesn't allow me to change anything in this folder (not even with "sudo"). The folder and its files are marked as "restricted" when I list the contents with "ls -lO" . The same folder listing in previous versions of OS X does not show "restricted". Is this something new to OS X El Capitan? How can I edit files/folders that are

Link Spark with iPython Notebook

我们两清 提交于 2019-11-26 20:17:41
I have followed some tutorial online but they do not work with Spark 1.5.1 on OS X El Capitan (10.11) Basically I have run this commands download apache-spark brew update brew install scala brew install apache-spark updated the .bash_profile # For a ipython notebook and pyspark integration if which pyspark > /dev/null; then export SPARK_HOME="/usr/local/Cellar/apache-spark/1.5.1/libexec/" export PYSPARK_SUBMIT_ARGS="--master local[2]" fi run ipython profile create pyspark created a startup file ~/.ipython/profile_pyspark/startup/00-pyspark-setup.py configured in this way # Configure the