0
votes
0answers
7 views

Closing a pygame program causes f.lux to flicker

I am running OSX 10.9.3, with Python 2.7.5 (The default one Python that comes with it). I am using pygame 1.9.2 installed from pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip at ...
2
votes
2answers
64 views

iTerm2, unicode and sympy

In my both Mac (OS X Mavericks) and Ubuntu machine, I have installed sympy that is a python library for symbolic mathematics. Part of sympy is the pretty print functionality that uses unicode ...
1
vote
0answers
54 views

Segmentation fault: 11 error ( OpenCV )

I've installed OpenCV, numpy and all other required contents using brew install opencv. Then I tried running it python >> import cv or python >> import cv2 but I get a "Segmentation ...
2
votes
0answers
3k views

How to install command line developer tools in Yosemite? [closed]

I am trying to install xcode developer tools via this command: xcode-select --install and I have this error: "Can't install this software because it is not currently available from the Software ...
1
vote
1answer
212 views

How to create a VPN connection via terminal?

I have a macbook pro with mavericks running. I am looking for a way to connect to a VPN network in terminal. The reason why I want to do this is that I want to write a small program in Python which ...
3
votes
1answer
205 views

How do I know which Python install is being used?

If I type the command which python, then I get: Oliviers-iMac:~$ which -a python /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /usr/bin/python If I then type python --version, ...
2
votes
0answers
341 views

brew doctor warning about Python config scripts

Can someone please explain what I should do about the following warning from Homebrew: Warning: "config" scripts exist outside your system or Homebrew directories. `./configure` scripts often look ...
0
votes
1answer
60 views

Which Python packages are installed on Mavericks?

The title says it all: How can I find out which Python packages are pre-installed with Mavericks?
2
votes
1answer
156 views

Upgrade to Mavericks wipes out Python site-packages directory?

As the subject suggests, I recently upgraded to OSX Mavericks, and... $ ls /Library/Python/*/site-packages/ /Library/Python/2.3/site-packages/: Extras.pth README /Library/Python/2.5/site-packages/: ...
0
votes
3answers
407 views

Mount Windows smb shares on a Mac using Python

I would like create a python script that mounts a Windows smb share on a Mac then copies data to it. I am falling at the first hurdle, having problems with mounting the share. It should be really easy ...
0
votes
2answers
89 views

Need help creating Global Daemon for EyeFi Server

I have been trying to come up with a headless solution for transferring images from an eyefi card to my mac. The software from the vendor is decent, but it will only transfer images if there is a ...
0
votes
0answers
181 views

how to pack python package that includes python scripts and bash scripts for OSx as pythonTool.app?

I have made a python tool which I want to share with users. I tried Automator, and it works but in that I used Application > Run Shell Script in which I hard coded the path to my python script, but ...
1
vote
1answer
262 views

how to add button to Finder toolbar to call python script with current folder as argument?

Recently I added context menu under services to execute python script but I think it would be convenient if I add a button on the Finder toolbar, like next to New Folder Button in below image. Is ...
1
vote
1answer
135 views

how to capture folder as input and pass it to python script as argument

How to capture folder as input and pass it to python script as argument? This is what I have so far, but this is always taking the user home directory as input no matter which folder i right click > ...
1
vote
2answers
617 views

Python 3.3.3 on Macbook pro, can't open IDLE at all

I'm having trouble with running python on my Macbook Pro OS X 10.9.1. Two days ago it was running with absolutely no problem and now it won't start up. I've tried uninstalling and reinstalling, ...
3
votes
2answers
82 views

Offline (Python) documentation? (for ActivePython Mac or similar)

I'm a long-time user of ActivePython, and also own a couple of Komodo licenses. I've recently moved to the Mac, and one thing that I'm missing a lot is the "offline" documentation (i.e., in Windows ...
2
votes
1answer
203 views

SCTP kernel extension for Mavericks?

I am about to do some development with SCTP using Python[1]. But this requires some kind of 3rd party kernel extensions to Mac OS X. The only link I can find about the kernel extension is completely ...
5
votes
1answer
299 views

How to add a Python application to OS X right-click menu?

I have made a Python-based application that plays a slideshow. I want to add shortcut on the right-click menu of a folder and play the slideshow. How can I achieve this?
3
votes
1answer
1k views

iTerm2 doesn't read com.googlecode.iterm2.plist

I am iTerm2 (1.0.0) user. I know how to create profiles, by using iTerm settings or modifying com.googlecode.iterm2.plist file. For convenience, I will use .plist to indicate ...
1
vote
1answer
1k views

Cannot get Python perspective with Eclipse IDE

I installed PyDev for Eclipse, but after doing so, I do not see PyDev in the list of perspectives. If I try to reinstall, it says it is already installed. Running Mac OSX 10.8.5 (Mountain Lion) and ...
2
votes
3answers
9k views

What version(s) of Python are pre-installed on OSX 10.9 Mavericks?

Now it can be asked... What python versions come pre-installed, Is python 3.x on there? Edit: From the comments: "Does it also still have 2.6? The reason I ask is, with 2.6, I can build an app ...
2
votes
2answers
435 views

Prevent “<application> quit unexpectedly” message on sigquit

I kill Python processes with SIGQUIT by pressing Ctrl/ sometimes (usually my own that are misbehaving). Can I prevent the "Python quit unexpectedly" message? I know I can just hit escape, so it's not ...
0
votes
1answer
60 views

error building phpsh from terminal

I am following the instructions on the phpsh github page I navigate to the phpsh directory and run python setup.py build and I get this error Traceback (most recent call last): File "setup.py", ...
0
votes
1answer
204 views

How to auto run a simple python program when the terminal opens

Say I have a python program called foo.py that prints a line of text. How can I auto run that program when I boot up the terminal? I know you can, but I can't find the documentation. Also no third ...
0
votes
1answer
217 views

Hazel rule using Python script

I am using a Hazel (Noodlesoft) rule with Python script. Using the "Passes Shell script" option. Placing the path to my python install /usr/local/bin/python (my python install v. 2.7.3) in the ...
0
votes
1answer
396 views

Understanding install of mod_wsgi on apache terminal commands

I'm installing a django development environment on OSX. Apache is, of course, installed by default. From my (very limited) understanding of Macs, I don't believe there is preconfigured functionality ...
0
votes
1answer
46 views

Python launching problems OS X

I'm trying to install python on mac OS X 10.7.5. I installed it from MacPort and I think before I did, I screwed up $PATH somehow. It seems to install fine but then when I try to run ipython I get ...
1
vote
2answers
264 views

Where can I get Python VTE bindings for the Mac OS X?

I'm trying to comiple Guake top-down terminal (guake.org) in Mac OS X. I've met a bunch of dependency issues while ./configure phase, but now I'm completely stuck with the following dependency issue: ...
0
votes
1answer
101 views

Removing current Python version and use other python version

First of all i installed python 2.7 with manual.After i installed python2.6 with macport with referenced this. And after i deleted my Python 2.7 files. The main point is when i write python at ...
0
votes
1answer
430 views

Python IDLE can't be opened by double-clicking .py files in Finder

I can't open .py files in IDLE by double-clicking them in Finder (IDLE is currently set as the default program for opening such files). Nor can I open those files by right-clicking and selecting ...
1
vote
1answer
1k views

How to set up multiple PATHs in the user bash_profile in OSX 10.8?

I am looking to set up my laptop for both Python development and Phonegap Android development in OSX 10.8 using Eclipse. I installed the lastest version of Python (3.3) which added the code: # ...
0
votes
1answer
378 views

How to get UUID with Python?

System Report will display the system's Hardware UUID in the format 01234567-89ab-cdef-0123-456789abcdef. Using the shell we can retrieve the same UUID: ioreg -rd1 -c IOPlatformExpertDevice | grep ...
3
votes
3answers
6k views

How do I setup Python3.3 and Sublime Text 2 correctly on OS X 10.8.2?

I am trying to setup Sublime Text 2 so that the build command correctly runs Python3 / Python3.3 scripts. I have installed Python 3.3 via the installer obtained from python.org and installed Sublime ...
1
vote
2answers
5k views

Python Imaging Library (PIL) Decoder jpeg not available — how to fix?

I've got error which is generated by PIL when I trying to process jpg-images: Python Imaging Library (PIL) Decoder jpeg not available. How to fix this problem?
6
votes
4answers
7k views

Python Virtualenv is broken since upgrading to OS X Mountain Lion

Since upgrading to Mountain Lion, when running the command "virtualenv env", I get: New python executable in env/bin/python Installing setuptools......... Complete output from command ...
9
votes
4answers
11k views

What's wrong with my launchctl config?

I'm trying to auto-run SickBeard on login python /Applications/Sick-Beard/Sickbeard.py <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN ...
2
votes
2answers
381 views

Run through terminal PYTHON

Is there a way on a mac to make it so when you click on a python script it runs python filename.py through terminal?
4
votes
3answers
1k views

Installing Python on Mac 10.5.8 64-bit

I'm working on getting Python installed on my Mac 10.5.8 and I have been having a heck of a lot of trouble. The standard downloads at Python.org do not show a compatible version. They have 10.3 - ...
1
vote
1answer
5k views

How to remove one old python installation from a system with multiple (non-system) installations of python

Disclaimer First, let me get the obvious out of the way: I have not touched the system-bundled Python. I know it’s important to leave it alone. I have, in fact, done exactly that. ☺ Background ...
3
votes
3answers
302 views

Problems integrating Python 3.1 on 10.6.5

I am beginning to learn Python, and want to "upgrade" my Python installation os OS X 10.6.5. I know it's a bad idea to directly upgrade the Python install, so I have installed Python 3.1 separately ...