0
votes
1answer
15 views

Problems when installing NumPy on MacOS 10.9.4

I am using MacOS 10.9.4 with Xcode 5.1 (command line tools installed) Today I upgraded macports and installed py27-numpy. Everything looked ok in my terminal window. Then I tried to install PyCogent ...
0
votes
0answers
19 views

Mac OSX finder requiring permissions when deleting file, even after chmod

I created a Python script that requires sudo permissions to run (doing ICMP requests). This script creates a small directory and a couple .csv files, as well as a log.txt file. At first, after running ...
0
votes
0answers
6 views

Homebrew App Not Using Python Package

I installed duply using Homebrew and tried to create a backup to Google Drive. Doing so results in the following error: BackendException: Google Docs backend requires Google Data APIs Python ...
0
votes
0answers
20 views

How can I remove anything related to python aside from the default installation on os x mavericks?

I have a really messed up python installation. I have the preinstalled version of python that comes with os x mavericks. then I installed the homebrew version with brew install python. Then I ...
0
votes
2answers
46 views

How to update Mac's system Python

I'm on Mavericks at the moment, and i want to update the Python system's version (2.7.5) to the latest (2.7.7) from http://www.python.org, because i want to install pygame. What i have to do? I would ...
2
votes
2answers
46 views

How do I use caffeinate to prevent my computer from sleeping while a script runs?

This morning I started a very long running script with: caffeinate python spam.py and when I checked in on the computer several hours later, the computer was asleep! I moved the mouse and the ...
1
vote
2answers
16 views

Can't run the Python interpreter in Mac's Terminal

At the moment i'm on Mavericks, and i just uninstalled homebrew. With homebrew i had installed python, but after uninstalling it my terminal can't start the python interpreter. I receive this message: ...
0
votes
1answer
20 views

Batch APPEND (RENAME) a specific keyword to set of files

I have few files namely - "a", "b", "c",etc.. I want to add the keyword: ".mov" to all files in that folder. Please suggest me an approach which script will be best suited for this - AppleScript, ...
2
votes
1answer
246 views

Attempting to bootstrap and getting weird errors

I'm on a new computer(mac 10.9.2) and I am attempting to bootstrap my companies project, but setuptools is failing. I can run python bootstrap.py, which creates the ./bin/buildout, but when I run ...
1
vote
1answer
46 views

How to delete python interpreters

So, I made a few bummers while installing latest version of Python. Somehow I have managed to install Python more than once, and now I have several Python interpreters lying around (at least I have a ...
0
votes
0answers
18 views

Associating .pyw file with Python to run Python programs using other libraries like matplotlib, scipy,

The answer to a previous question "How do I associate .pyw files with Python in OSX" almost solves this problem - but not quite. I have a Python script that runs successfully under Andaconda's Spyder ...
0
votes
0answers
33 views

gcc fails with “No available targets” on Mac OS 10.9.2

When I try to install pycrypto or psychopg2 on my macbook, I get this error: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -std=c99 ...
0
votes
0answers
28 views

is pip install scipy fails with ld: symbol(s) not found for architecture x86_64

I am trying to install python scipy in a virtual environment using pip install scipy It fails with the following error ... ld: symbol(s) not found for architecture x86_64 collect2: error: ld ...
0
votes
0answers
43 views

How to properly install IPython on Mac with Homebrew?

How to properly install IPython on Mac with Homebrew? The method recommended by ipython.org, i.e. installing Anaconda or Enthought Canopy will introduce files that brew doctor will raise warning ...
3
votes
1answer
1k views

OSX 10.8 PIP matplotlib 'freetype/config/ftheader.h' file not found

I apologize ahead of time if this topic has already been discussed. My situation seems to vary slightly from the others such that the path to my files is different. When trying to install matplotlib ...
0
votes
0answers
140 views

py2app install error on Mac OS X mavericks

Installed py2app 0.8 on a current MacOS X mavericks. It mostly went fine except grumbling about altgraph. I tried this anyway. py2applet --make-setup pong.py and I get this ...
0
votes
1answer
154 views

Macports refuses to install python 2.7.6.0

I'm trying to upgrade various programs I have installed with MacPorts. Unfortunately, python refuses to upgrade: ---> Computing dependencies for python27 ---> Configuring python27 Error: ...
0
votes
1answer
74 views

Is giving myself write permission on my Python `site-packages` directory a way to avoid `sudo pip` risks?

I understand that there are security risks involved in installing pip under sudo, but for various reasons I would like to continue installing my packages in site-packages (on OSX 10.9), which ...
0
votes
1answer
43 views

How do I add a custom plugin to Nagios?

The Nagios documentation seems to go out of it's way to obscure this basic piece of information. I'm finding bits and pieces of the answer all over the web for the past couple hours. Either I can't ...
0
votes
1answer
98 views

Why does my path not default to using Python 2.7 instead of 2.6?

I am using Google App Engine but starting programs from its interface is not working. The logs in GAE indicate it is trying to use python 2.6 and it needs 2.7 so it fails to run. I have used python ...
0
votes
2answers
151 views

Batch file rename script swapping substrings in filename?

I have a group of files named like title_december_word1_word2.png and want to iterate through the directory and swap word1 and word2 within each file. i.e. go from button_december_state_pressed.png ...
0
votes
2answers
177 views

What is the proper way to upgrade Scrapy on a mac

I am trying to upgrade Scrapy v 0.18.4 to the latest version which I believe is 0.20.0 on a mac. I do not see in the docs how I should go about doing so. I tried running pip install --upgrade Scrapy ...
1
vote
0answers
410 views

Installing MySQL-python raises compiler warnings after Mavericks

I had many python modules installed before I upgraded Mavericks and were very disappointed when I noticed that they had been removed. I installed Mavericks, and I installed the command line tools. ...
0
votes
0answers
110 views

MacPorts pHash not showing up in Python

I am having a problem where python does not show pHash installed even though I installed it using macports. I made sure I am using the MacPorts version of Python by doing: sudo port select --set ...
0
votes
0answers
14 views

Python modules in Apple's Python packages directory?

I am trying to install the python packages installed on my computer and a few of them appear in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib Which as I read this python is ...
0
votes
1answer
29 views

Navigating to beginning/end of words/lines in the python console

I am running the python console in my terminal on OSX and I would like to know if there are any keyboard shortcuts for navigating to the next/previous word or to the beginning or end of the line. In ...
0
votes
1answer
78 views

launchctl plist file not running

I have created a python script, I would like it to run on my mac some time after 4:30 every weekday. I followed the instructions a launchctl plist file here. But it doesn't run, I looked for solutions ...
0
votes
0answers
114 views

Numpy Module not working…wrong architecture

My Bash profile looks like this : export PYTHONPATH=/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages My error looks like this import numpy Traceback (most recent call ...
0
votes
0answers
66 views

Python package binaries installation on MacOSX

I'm using the built-in python from OSX 10.8, but when I install a new package with pip or easy_install a bin executable is created on /usr/local/bin There is a way to configuration a new location? ...
0
votes
1answer
216 views

IOError: invalid Python installation …/config/Makefile (No such file or directory)

After updating from OS X 10.8.3 to 10.8.5 and XCode my python installation stopped working. This is the output when I try to execute python. Traceback (most recent call last): File ...
1
vote
0answers
50 views

SoX fails to concatenate *some* newly generated aiff files

I have a Python script that is using Mac OS X's built in speech synthesis API to create aiff files of some processed text via PyObjC/AppKit. Everything is working fine, but I can't get the aiff files ...
0
votes
2answers
274 views

Automate python script mac

I want to set up a python script to run every weekday(not sunday and saturday) on my mac OSX 10.8.4. From what I have found so far, it looks like I want to use cron. But before I do something horrible ...
1
vote
1answer
491 views

Subversion broken on OS X, recent Google/Stack answers Not Fixing It - Can't Even Reinstall

(I think this is the correct board to post on, also considered StackOverflow but this isn't really coding, and serverFault but seemed lower level OS items) After several hours trying to add ...
0
votes
0answers
43 views

Applescript to change the address of an iTunes streaming file

it's a really really simple concept, I just can't figure out to do it... I'm trying to use Applescript to use iTunes to listen to different files on a site almost like a background radio. To get this ...
0
votes
1answer
571 views

`pip install` failing with “Permission denied” in a virtualenv

I'm currently using pip + virtualenv to isolate the Python dependencies in my Django application. It's worked alright so far, and I've been able to install a bunch of packages in the past. But when a ...
2
votes
3answers
1k views

Run python script from Finder rather than edit?

Max OS X. When I double-click on a python script it opens in the default editor. How might I make it so that when I double-click, or choose the script from Applications, it executes from the python ...
0
votes
1answer
155 views

Installing Python wrapper for METIS: Cannot locate METIS_DLL shared library

I am planning to use Metis for drawing some networks and graphs using Python 2.7. I downloaded Metis from here. I compiled and installed the source code without any problems. For installing the Python ...
1
vote
0answers
76 views

Ideas for task automation [closed]

I'm looking for a better way (my current way: manual labour) to automate my tasks after I'm done with developing my Wordpress themes. The tasks I need to perform are: Copy Rename Compress (.zip) ...
0
votes
0answers
68 views

How do I choose the python-framework where to install packages with pip?

I have two python-frameworks installed on my Mac OS X 10.6.8: one standard (/usr/bin/python) and now I installed 3.3. I have already figured out that pip is installing things into site-packages but ...
1
vote
1answer
696 views

running python via mac ports

I have installed python via mac ports, using: sudo port install python33 I then did: sudo port select --set python python33 and got: Selecting 'python33' for 'python' succeeded. 'python33' is ...
0
votes
1answer
1k views

cant install numpy on mac os x 10.7 with pip and homebrew fails

I'm trying to install numpy on my mac running 10.7.5 I did the following command sudo /usr/local/bin/python /usr/local/bin/pip install numpy and the error is something related with ld: library not ...
0
votes
1answer
490 views

How to open multiple Python shells via IDLE on mac?

On my Windows 7 machine, I often run multiple Python shells at a time. This is especially helpful when testing socket servers over localhost. How would I run multiple Python shells via IDLE on my ...
1
vote
1answer
105 views

Python IDLE not starting when clicking .py files in OSX Finder

I can open IDLE. After opening IDLE, I can do File > Open > some_file.py just fine. When IDLE is open, I can also just double-click on any .py files in Finder and they will open in IDLE. ...
0
votes
0answers
126 views

“hg commit/diff” crash on my Mac OS X

I just run hg commit -m "xxx" on my Mac and then got the message: zsh: illegal hardware instruction hg commit and hg diff also be crash, but the hg commit is OK. When I save the commit message with ...
1
vote
0answers
79 views

How to install pkg in a non-standard location? (OS X)

In brief, my question is this: How can I install an OS X framework from a *.pkg file somewhere other than under /Library/Frameworks (or /System/Library/Frameworks)? Background I want to ...
0
votes
0answers
283 views

What is the risk of removing old Python versions on OSX?

I have a stock install of OSX (10.6). It has a whole bunch of different versions of Python installed: versions 2.3, 2.4, 2.5, and 2.6 came stock with the system. I can view them all in ...
0
votes
0answers
120 views

Failure in python installation

I'm trying to install Gentoo Prefix on an iMac (OS-X 10.8.2). During the installation, Python 2.7.3 installation fails. Here is the traceback: ... /usr/bin/ranlib: file: libpython2.7.a(pymath.o) has ...
1
vote
1answer
751 views

Is it safe to uninstall Python 2 from OS X 10.8 (Mountain Lion)?

I'm doing a clean-out and refresh of my programming environment and since all the coding I do is in Python 3, I'm wondering if the easiest and cleanest option is to just completely remove Python 2 ...
1
vote
1answer
86 views

python, cron and the interaction with Growl

I have the following python file called temp.py import subprocess p = subprocess.Popen('growlnotify -m \"Program is not running\"', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) ...
1
vote
1answer
544 views

From where can I get “Python Launcher” for Mac OS X Lion?

I use a macbook (air) with OS X Lion on it. I have Python 2.7 installed already but I can't seem to find a "Python Launcher.app" anywhere on the system. I tried installing with with pip but it ...