1
vote
0answers
12 views

brew install python without x code in snow leopard

I've been able to get brew to install many packages on Snow Leopard using just the gcc library without installing all of X-Code. I had installed Python as well as PosgreSQL from the gui installer and ...
2
votes
0answers
39 views

Disabling the dialogs shown when opening an application for the first time on OSX

I am making an app on osx 10.9 using python 2.7. But when it is launched first time, warning comes. You are opening the application MYAPP for the first time. Are you sure you want to open this ...
3
votes
1answer
61 views

What are the most convenient keyboard/keyboard layout for programming?

I do a bit of Objective-C, Matlab and Python, and start to get tired of the keyboard I use (AZERTY). It is far from being optimal as one need to press ALT+SHIFT+( to get [ for example. I think of ...
2
votes
1answer
24 views

Can my web app use a UNIX socket on OS X Server?

I'd rather have my Mavericks web app use a UNIX domain socket instead of a TCP port to effect a reverse proxy. I've tried using variants of the Apache syntax for UDS in the proxies section of the web ...
0
votes
2answers
41 views

How to make an app as default opener for particular file extension

I am making an app in python named cipherc on mac osx 10.9 This app opens a file type of extension “.secure” Now, in local system, for already present .secure file, its default file opener is some ...
1
vote
1answer
77 views

Moving terminal version of python to homebrew version

python -V shows that I am on 2.7.7 but brew upgrade python shows I have 2.7.8 so clearly my terminal isn't looking at the Homebrew version. How do I fix this?
2
votes
1answer
253 views

Preview Not Opening File - Permissions Issue (via Python)

I have a Mac VM running Mavericks (10.9.3), and for various reasons I am trying to write a script in Python to automatically transfer a PDF file to the VM and open it in Preview. For anyone who ...
0
votes
0answers
9 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
132 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
231 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 ...
3
votes
0answers
13k 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 ...
2
votes
1answer
1k 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
455 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
395 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
67 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
236 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
634 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
112 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
255 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
372 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
177 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
728 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
113 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
309 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
376 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?
4
votes
1answer
2k 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 ...
3
votes
3answers
11k 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
609 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
63 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
229 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
251 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
510 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
50 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
310 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
109 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
534 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
420 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
4answers
7k 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
6k 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 ...
10
votes
4answers
13k 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
392 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
2k 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
6k 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
305 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 ...