osx-mavericks

Terminal issue with virtualenvwrapper after Mavericks Upgrade

随声附和 提交于 2019-12-17 22:09:01
问题 After upgrading to OSX Mavericks, I am getting this message in the terminal: /usr/bin/python: No module named virtualenvwrapper virtualenvwrapper.sh: There was a problem running the initialization hooks. If Python could not import the module virtualenvwrapper.hook_loader, check that virtualenv has been installed for VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is set properly. 回答1: Try reinstalling pip and then reinstalling virtualenvwrapper (I had to go through these steps after

`Sudo pip install matplotlib` fails to find freetype headers. [OS X Mavericks / 10.9] [closed]

↘锁芯ラ 提交于 2019-12-17 21:44:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I already have matplotlib-1.2.1 installed as well as numpy-1.8.0 . Note - I am using system python with homebrew installed - I have $PYTHONPATH set so Python loads from /Library/Python/x.y/site-packages (where pip installs to). Here is the code for installing matplotlib (the configurations) BUILDING MATPLOTLIB

Sprite Kit OS X: SKTexture size property is incorrect

前提是你 提交于 2019-12-17 19:46:38
问题 I'm testing a game on the OS X version of Sprite Kit, and find that some textures report their size incorrectly. I'm wondering if anyone else is seeing this problem and whether there is an explanation for it? Just to rule out any other issues before I report this as a bug. If this is a known bug, please say so. I'm loading this texture, it is 256x256 pixels in size: When I log the SKTexture created from this image, then the SKTexture description gives me the correct size but the size property

SSL certificate verification failure in python on Mavericks

无人久伴 提交于 2019-12-17 19:31:20
问题 I'm stuck on a persistent SSL verification issue. SSL: CERTIFICATE_VERIFY_FAILED I discovered the error while building a Django app that had users authenticate using Mozilla Persona. (python3.4)> import requests (python3.4)> requests.get('https://verifier.login.persona.org') I get a SSL: CERTIFICATE_VERIFY_FAILED tracing back from requests to urllib3 to ssl : ... "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/ssl.py", line 805, in do_handshake self._sslobj.do_handshake() ssl

Compile VLCKit on Mac OS 10.9

给你一囗甜甜゛ 提交于 2019-12-17 18:32:08
问题 I'm trying to compile VLCKit on Mac OS 10.9 following this wiki : https://wiki.videolan.org/VLCKit/ I have clone git://git.videolan.org/vlc-bindings/VLCKit.git then open VLCKit.xcodeproj in Xcode 5.1 and finally run "Build Everything". But build failed with thoses issues : Run VLC configure PhaseScriptExecution bootstrap /Users/myname/Library/Developer/Xcode/DerivedData/VLCKit- bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Run\ VLC\ configure.build/Script

OpenGL 4.1(?) under Mavericks

怎甘沉沦 提交于 2019-12-17 18:26:27
问题 I've just upgraded my MacBook Pro to Mavericks (MacOS 10.9), including Xcode. According to Apple's "OpenGL Capabilities Table", this version has support for OpenGL 4.1, but a call to glGetString(GL_VERSION) returns "1.2" and my GLSL 3.30 shader, which begins with "#version 330" refuses to load, saying that version is not supported. Do I need to do something to Mavericks to enable 4.1 support? 回答1: When you request your pixel format using one of the lower-level APIs on OS X, you need to add

OpenCV Undefined symbols for architecture x86_64: error

安稳与你 提交于 2019-12-17 17:33:42
问题 before this gets flagged as a repeat question please read the end. Thanks for looking. I set up openCV using home-brew. These were the commands I used: brew tap homebrew/science brew install opencv I am using the following simple file I found online to test my set up: // Example showing how to read and write images #include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> using namespace cv; int main(int argc, char** argv) { // Load an image from file - change this based on your

Get list of open files (descriptors) in OS X

ⅰ亾dé卋堺 提交于 2019-12-17 15:39:44
问题 I would like to get a list of open files in a process on os x (10.9.1). In Linux I was able to get this from /proc/PID/fd . However I'm not sure how to get the same on OS X. I found that the procfs is not present on the OS X (by default. possible implementations present, but I do not want to go that way). So how do I get (natively) the list of open files in a process on OS X. One way is lsof . is there any other support available? please let me know where I can get more info on this. Thanks.

Mac OS X 10.9 - setting permanent environment variables

a 夏天 提交于 2019-12-17 15:32:45
问题 How do I set a permanent environment variable (i.e. one that does not need exporting every time I start a new Terminal session) in Mac OS X 10.9? I've found a number of answers about modifying my .bash_profile and .profile , however neither of these options seem to work as permanent solutions - only temporary. The variable I'm trying to set is MULE_HOME . I have the following line in my bash profile: export MULE_HOME=$(/opt/mule-standalone-3.4.0) However, when I start Terminal I get the

How do I install db2 Express-C 10.1 on OSX Mavericks

一世执手 提交于 2019-12-17 10:44:39
问题 I have attempted to install db2 Express-C 10.1 on OSX Mavericks, but I get the error listed here: db2 setup for Mac 回答1: Here are the steps I did to install db2 express C on Mac OSX Mavericks. Note: I did all the commands logged into my own user; when I needed to run as a different user, I used sudo. Steps: Download DB2 express C from here: https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-db2expressc&S_PKG=dlmacosx&S_TACT=100KG31W&lang=en_US&cp=UTF-8&dlmethod=http