osx-mountain-lion

env: pythonr: No such file or directory

env: pythonr: No such file or directory Question: My Python script beak contains the following shebang: #!/usr/bin/env python When I run the script $ ./beak, I get env: pythonr: No such file or directory I previously pulled this script from a repository. What could be the reason for this? Asked By: Niklas R || Source …

Total answers: 6

Annoying message when opening windows from Python on OS X 10.8

Annoying message when opening windows from Python on OS X 10.8 Question: Whenever I run a Python script that opens any kind of window on OS X 10.8, whether it’s a GLUT window or a QT one or anything else, I get a message that looks like this: 2013-09-11 14:36:53.321 Python[3027:f07] ApplePersistenceIgnoreState: Existing state will …

Total answers: 4

pip: Could not find an activated virtualenv (required)

pip: Could not find an activated virtualenv (required) Question: I am trying to instal virtualenv and/or virtualenvwrapper on a Mac OS X 10.8.3. I have been fighting with python for the last two days. Finally I was able to install Python 2.7.4 using brew. Before I had virtualenv installed using easy_install. Then I tried to …

Total answers: 7

Pycrypto install fatal error: gmp.h file not found

Pycrypto install fatal error: gmp.h file not found Question: It seems like there are a number of people who have had a similar problem, however, after much searching I haven’t been able to find a solution that works with my particular architecture. I’m trying to install Pycrypto (as a subsidiary of Fabric) to no avail. …

Total answers: 5

Recompile MacPort's version of MacVim with Python, Ruby & Perl

Recompile MacPort's version of MacVim with Python, Ruby & Perl Question: Linux guy making the switch to Mac (10.8). Because I’m lazy… I used MacPorts to install MacVim. It seemed to install without error. I just need python, ruby and perl support in mvim. $ /opt/local/bin/mvim –version | egrep ‘patches|python|ruby|perl’ Included patches: 1-244, 246-646 +multi_lang …

Total answers: 2

Mountain Lion update and mercurial libraries python

Mountain Lion update and mercurial libraries python Question: I updated the mac to Mountain Lion (10.8) and now the project I developed with Python and Google App Engine does not work. GAE libraries are found, while standard Python libraries (are these Python libraries?) are missed (e.g. cgi, logging, json). When I open eclipse (which has …

Total answers: 7