Python is a programming language that is included in the standard OSX installation.

learn more… | top users | synonyms

2
votes
1answer
70 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/: ...
2
votes
1answer
357 views

Scapy on Mavericks via Homebrew “AttributeError: 'module' object has no attribute 'intf'”

I tried to install Scapy on OS X via Homebrew which seemed to work fine. After installation there were some Python modules missing which I installed via Homebrew. Now when I start Scapy I get the ...
2
votes
1answer
100 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 ...
0
votes
1answer
55 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
126 views

How do I uninstall python 3.2.2 on Mountain Lion?

How do I uninstall Python 3.2.2 on my MacBook Pro? I’m using Mountain Lion. Any answers greatly appreciated. I’m a beginning programmer.
0
votes
1answer
359 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 ...
0
votes
1answer
296 views

Python no longer working, Config directory empty

I tried debugging this on my own, but to no avail. Here's the problem - I have a MacBook Pro 13" OS X 10.7.3 with Python 2.7 (no other version installed) I recently installed MAMP from their ...
2
votes
0answers
88 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 ...
1
vote
0answers
49 views

How can I install a working bluetooth library for Python?

I need to access Bluetooth from Python. I have tried installing lightblue via easy_install. It installs properly, but when I try to import it it fails. User@Mac:codes$ python Python 2.7.5 (default, ...
1
vote
0answers
121 views

Error when installing matplotlib

I tried to install matplotlib on OS X Lion with the pip install command, but I get the following error: error: command 'clang' failed with exit status 1 Does anyone have a solution?
1
vote
0answers
206 views

Python Weirdness on Terminal Open

When I open Terminal I see the following: Last login: Wed Feb 8 18:30:05 on ttys029 Traceback (most recent call last): File ...
0
votes
0answers
23 views

Map date and time entries to single day in Numbers

I am keeping track of a certain value that varies during the day, and from day to day. I make entries in my Numbers table as I get the values during the day. Column A is the time entry: month day year ...
0
votes
0answers
20 views

What scripting framework could work with google translate for a non-programmer?

So I want to create a small workflow that I can integrate into my OS that does this: Translate selected sentence with google translate (fixed languages) and make it automatically get pasted where I ...
0
votes
0answers
20 views

Python / matplotlib graphics & OS X 10.9: mission control?

I just got set up on OS X 10.9, and I have matplotlib working with the OS X backend, but the "python" window that shows up is partially inaccessible to Mission Control. If I activate full Mission ...
0
votes
0answers
102 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 ...
0
votes
0answers
298 views

PyQt with Homebrew'd Python3 and Systemw-wide Qt5

I'm trying to get my software development environment set up on my new MBA, but it's being a pain. Thanks to this awesome link I got as far as the Qt section. However, I cannot get past the Qt ...
0
votes
0answers
393 views

How to restore System/Library Files without Time Machine

I fell for the tarp. In an attempt to fix an installation issue with Python and Pygame I read something stupid online telling me to delete this file and that file to completely get rid of python on my ...
0
votes
0answers
111 views

macports installing python module matplotlib

I just installed the python module: matplotlib.pyplot from macports at: link. I tried to import the module in python and it could not find the module as I got an error message saying: ImportError: No ...
0
votes
0answers
170 views

Connecting to Postfix using Python or Telnet

I managed to configure a local postfix server, which works correctly when using the mail command (and I receive emails from the cron deamon), however, if I try to connect using telnet localhost 25 ...
0
votes
0answers
326 views

Geektool twitter quotes glet not working

I have GeekTool for Lion and am trying to run the Glet located at - http://www.macosxtips.co.uk/geeklets/messaging/latest-tweet-1/ On my system. It's just not working. The same code is running ...