osx-elcapitan

Python - ValueError: unknown locale: UTF-8 [duplicate]

眉间皱痕 提交于 2019-12-05 02:05:19
问题 This question already has answers here : Pelican 3.3 pelican-quickstart error “ValueError: unknown locale: UTF-8” (6 answers) Closed 4 years ago . I run the python script that contain Pandas (that one cause the problem) library I got this error: Traceback (most recent call last): File "test.py", line 2, in <module> import pandas ImportError: No module named pandas But if I import from package path to make sure it detects Pandas library, I got this error message Traceback (most recent call

MAMP not starting Apache server on El Capitan 10.11.1

↘锁芯ラ 提交于 2019-12-05 00:13:01
问题 So I've been using MAMP just fine for an Apache server on Yosemite for some time now. I only need one local host, so I'm using regular MAMP and not MAMP Pro. I am on MAMP 3.4 When I click the "start servers" button, it doesn't respond to the click. It just shows the colored spinner like the application froze, and then nothing happens. Only the SQL server will start but not the Apache.(I don't even use SQL) I can click through the preferences window just fine, and I can click the quit button,

Xcode 6.4 Scheme Option Disappeared in El Capitan Beta

余生长醉 提交于 2019-12-04 23:33:56
After I upgraded my Mac from Yosemite to El Capitan developer beta, the scheme option button in Xcode 6.4 is disappeared from the tool bar: But Xcode 7 beta works fine Is this an El Capitan bug? Is there any solution to fix this apart from rolling back to Yosemite? Thank You don't need that button; the same options are available from the Product menu. So even though it's a bug, you can work around it for now, easily enough. It is a UI bug and will probably be fixed soon. I've been working around the issue by dragging the Xcode window so that it is very wide (wider than my monitor). After a

Python GDAL does not install on Mac OSX El Capitan

半腔热情 提交于 2019-12-04 17:35:57
I am having several issues when installing pygdal in my Mac OSX El capitan. The procedure is the folowing: Install GDAL Libraries from http://www.kyngchaos.com/software/frameworks#gdal_complete pip install gdal The output is the following: . . . extensions/gdal_wrap.cpp:3085:10: fatal error: 'cpl_port.h' file not found #include "cpl_port.h" ^ 2 warnings and 1 error generated. error: command 'cc' failed with exit status 1 Looks like the installer cannot find the GDAL libraries, or headers (libgdal or gdal-devel in ubuntu). Where are they placed in OSX? FYI, the following /Library/Frameworks

Unable to link against Boost.Python on OS X

可紊 提交于 2019-12-04 11:08:25
I am trying to build a really trivial example with Boost.Python. I have installed boost and boost-python with homebrew. I am using python 3.4.3 and boost 1.59. My OS is El Capitan. Boost.Python was installed with python3 like this: brew install boost-python --with-python3 I have 3 files: /* greet.hpp */ #ifndef BOOSTPYTHONHELLOWORLD_GREET_HPP #define BOOSTPYTHONHELLOWORLD_GREET_HPP char const* greet(); #endif //BOOSTPYTHONHELLOWORLD_GREET_HPP /* greet.cpp */ #include "greet.hpp" char const* greet() { return "Hello world"; } /* greet_ext.cpp */ #include "greet.hpp" #include <boost/python.hpp>

Install wxPython 2.8 (For Ride) on OSX “El Capitan”

故事扮演 提交于 2019-12-04 07:56:25
问题 I'm trying to install wxPython 2.8 unicode version, to be able to use robotframework-ride. So far the installer downloaded from the site failed with an error saying "There was no software to install" And using Brew installs the 3.0 version, that is not compatible with ride. I would appreciate some help on this issue, I'm a new Mac user (just got given one at the office, and have to use it for my project) , and this is the only thing so far that I haven't been able to solve at all. The version

Xcode 7 crashes while it is creating new file

岁酱吖の 提交于 2019-12-04 07:50:39
I have "El Capitan GM" and I've updated my Xcode to Xcode 7 GM. Now I can't create new classes, Xcode crashes with message: UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSOpenPanel setAccessoryViewDisclosed:]: unrecognized selector sent to instance 0x7f940cf89af0 Is someone had faced with this problem? Is someone had solved it? UPD Now I'm using AppCode to create new files and Xcode to write a code. This also happened to me. I updated my system to El Capitan GM (previously, I updated from Yosemite to El Capitan Beta versions), updated Xcode from 6.5 to 7.0. When I create any kind of

brew install mysql on mac os el capitan

为君一笑 提交于 2019-12-04 07:50:11
问题 I'm trying to install mysql on MAC OS version 10.11.2 by following the methods in this link, The following command has been successfully executed, brew install mysql but when I type the following command, mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp I get the following error: mysql_install_db: [ERROR] unknown variable 'tmpdir=/tmp' 2015-12-17 17:35:54 [ERROR] Unrecognized options Please help. Thanks in advance. 回答1:

Migrating project to Xcode 7.2 on OS X El Capitan breaks the build

隐身守侯 提交于 2019-12-04 07:43:21
I was running OS X Mavericks before with Xcode 7.1, I just updated to OS X El Capitan and Xcode 7.2. My app was launching fine on the simulator and device without any kind of warnings for storyboard. Now I see a bunch of warnings for missing constraints in storyboard and the app crashes with this error: Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named IBNSLayoutConstraint' I also tried the solution posted on here : Could not instantiate class named IBNSLayoutConstraint I couldn't find placeholder="YES" anywhere in xml

Upgraded to OSX 10.11 El Capitan, now cannot use MySQL with Python/Django

旧巷老猫 提交于 2019-12-04 07:08:28
I have a Python/Django project that I manage using PyCharm. Everything was working perfectly under Mac OSX Yosemite. This morning I upgraded to the final release version of El Capitan, now I cannot run the project. The error I get is: Error loading MySQLdb module: No module named MySQLdb I've tried all the suggestions from past questions, but none has resolved it. The most common suggestion seems to be: sudo pip install MySQL-python When I do that, I get: Requirement already satisfied (use --upgrade to upgrade): MySQL-python in /Library/Python/2.7/site-packages None of the other suggestions