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

learn more… | top users | synonyms

3
votes
1answer
672 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 ...
2
votes
1answer
51 views

Force a specific version of a framework for a process

So I think it's known that OS X 10.10.5 breaks calendar server because of incompatibilities between the version of Python on 10.10.5 and a specific part of the Calendar Server. It does work in 10.10.3 ...
2
votes
0answers
11 views

homebrew - trouble upgrading openssl?

I'm on osx 10.11. (Background: I'm having trouble getting the system installed Python to use TLS 1.1.) From what I've read I need to use brew to manage Python. But I want to upgrade openssl first ...
2
votes
0answers
148 views

Where are Anaconda's libraries for PYTHONPATH?

I installed Anaconda's graphical installer successfully. I configured it to Python 3.5 by conda create -n py35 python=3.5 source activate py35 % to deactive source deactivate conda install notebook ...
2
votes
0answers
282 views

Command line tool for interacting with Bluetooth Low Energy devices, similar to gatttool

I've just found out that some Python code I've got working on Linux also needs to work on OSX. For reliability reasons, on Linux I've been using a cludgy but effective approach to reading and writing ...
2
votes
0answers
119 views

python2.7 cannot be opened because of a problem

Running into an odd issue when my system starts up: I have not been able to track the point of failure down yet. I assume that it is some application that is attempting to start at system startup, ...
2
votes
0answers
159 views

How can I customize the symlinks that MacPorts creates/deletes when using its `port select --set <group>` command?

I use MacPorts to manage certain *nix packages on my Mac. One such Mac has multiple Python versions installed. When I switch between Python versions, I use a command like: port select --set python ...
2
votes
0answers
2k 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, ...
2
votes
0answers
736 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
69 views

Why Pip Failing to install Conda in El-Capitan?

System: El Capitan OS X 10.11.5, Python 2.7.11. I am trying to setup Python 3.x in my IPython Notebook by following the thread here. I run pip install conda where conda i.e. Anaconda but I get ...
1
vote
0answers
20 views

How to View .tex file in IPython-Notebook of OS X?

My system: OS X El Capitan 10.11.5, Python 2.7.11, IPython 4.2.0 (Jyputer), Macbook Air 2013-Mid. I would like to have Internet browser frontend for my LaTeX source codes. In my Jupyter, there is no ....
1
vote
0answers
59 views

How do you homebrew cleanup except to skip specified formula?

In Homebrew, to clean up outdated packages, we do brew cleanup, and currently I have about 9.5GB worth of old packages, pending for removal. However, I really do not like to remove old python ...
1
vote
0answers
36 views

Apple Server.app not showing website

I have tried to host a Django WebApp (app.example.com) following this tutorial: http://jelockwood.blogspot.de/2013/06/running-django-webapps-with-os-x.html The WebApp will be hosted next to a ...
1
vote
0answers
71 views

Will upgrading to 10.11 restore tkinter or do I need to reset to factory settings?

It is my understanding that OS X comes with some sort of tkinter already installed. I believe I deleted this while trying to restore matplotlib (see my current problem posted to SO). If I upgrade from ...
1
vote
0answers
54 views

cv2 module not found

I installed OpenCV 2.4.X using Homebrew on my MacBook Pro OS X El Capitan, but when I try to run a program in Python 2.7.X I get this error: ImportError: No module named cv2 I have looked ...
1
vote
0answers
178 views

Problem with Livestreamer after updating Python to 3.4

After upgrading to Python 3.4 i get this message when trying to use livestreamer: /usr/local/bin/livestreamer: line 3: __requires__: command not found /usr/local/bin/livestreamer: line 4: import: ...
1
vote
0answers
256 views

Changing color of text in terminal for program output

This might be answered already but I could not figure out a good way to phrase it to look for an answer so I hope you'll bear with me. I want to change the color of the text output on Terminal if it ...
1
vote
0answers
112 views

Terminal appears to ignore autoproxyurl setting

I can't get easy_install to install anything as it complains it gets a connection refused.: Searching for BeautifulSoup Reading https://pypi.python.org/simple/BeautifulSoup/ Download error on https:...
1
vote
0answers
63 views

can't commit network settings via command line

I'm writing a Python script that changes network settings with commands like networksetup -setv4off 'PANTECH UML295' and networksetup -setdhcp 'PANTECH UML295'. When I enter these in Terminal, I enter ...
1
vote
0answers
276 views

“brew install python” without Xcode 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 Xcode. I had installed Python as well as PosgreSQL from the gui installer and ...
1
vote
0answers
447 views

Error when installing PyObjC on OS X 10.9.3 (Mavericks)

pip install -U pyobjc returns Command python setup.py egg_info failed with error code 1 in /private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc-framework-AddressBook ...
1
vote
0answers
587 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 fault:...
0
votes
0answers
6 views

How do I get rid of the python dock icon when using jupyter

The python rocketship pops up in the dock when I use jupyter and run something that uses matplotlib. Is there a way to make this not happen when I'm running jupyter?
0
votes
0answers
12 views

OS X updating 2 versions of conda

In my computer I got installed two versions of anaconda which I need for different purposes. However, the launcher has stopped working for both. While I managed to install the navigator for the ...
0
votes
0answers
26 views

Calling terminal command (pdfcrop) either directly from python or from within applescript (do shell script)

on OSX, I am using applescript to get a latex string from an application (OmniOutliner), process it via a python script that calls pdflatex and pdfcrop, and paste the final cropped pdf back into ...
0
votes
0answers
21 views

“config” scripts exist outside your system or Homebrew directories

I'm currently using pyenv and pyenv-virtualenv, which i've installed via Homebrew. I've added if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi to enable shims and autocompletion and if ...
0
votes
0answers
22 views

Spyder IDE App does not start on MacBook Pro mid 2010

So as I got a new Project in University, I was recommended to code on my Mac with Spyder which is an IDE for Python, especially for scientific computing. I am not that of a Power User so I just tried ...
0
votes
0answers
22 views

Hide files of single extension from command line in Python

My script is as follows (and used to work but no longer does): #!/usr/bin/env python # encoding: utf-8 import os, subprocess path = "/path/to/dir/" # write your own path here hide_files = True for ...
0
votes
0answers
35 views

Script, Workflow, or shortcut to change URL

My work has a proxy service that I need to use to access certain websites. Basically it adds extra parts the website url (after I've logged in)- I need to add something like proxy.go.com right before ...
0
votes
0answers
24 views

Running brew doctor shows I have 3 different python “config” scripts installed. How do I get rid of them so that I no longer receive this warning?

I have been told that there is a default Python installed on OSX, and that deleting it will cause SEVERE system issues, however, I want to clear these warnings in brew doctor. This is what the ...
0
votes
0answers
217 views

Pygame Error- Deprecated Carbon Component Manager Error

I'm trying to use Pygame for school and up until now I have been using Linux and Window, but I recently tried using it on OSX, and now I'm getting this error:2016-02-29 10:40:47.196 Python[1092:16106] ...
0
votes
0answers
93 views

use python to mount smb share from osx including special characters in the password field

I've seen plenty of scripts for mounting a smb share in osx via terminal and python. I'm working toward the python solution using the answer at the end of this similar question. The only issue I ...
0
votes
0answers
296 views

I get a permission denied error when trying to run pip

I am trying to run the following command: pip install -U pip setuptools However, I get this error output: Requirement already up-to-date: pip in /Library/Python/2.7/site-packages Collecting ...
0
votes
0answers
84 views

Google Earth Pro randomly crashing on El Capitan (“EXC_BAD_ACCESS (SIGSEGV)”)

And I do mean randomly, sometimes I do the exact same thing and I can't reproduce this error, but it happens enough to make me look like an amateur at work sometimes. It didn't do this in Mavericks I ...
0
votes
0answers
34 views

Upgrading from Python to 2.7.10 to 2.7.11 on OSX

How can I upgrade Python from 2.7.10 to 2.7.11 on OSX (Yosemite)?
0
votes
0answers
48 views

TV show filename format for automatic handling by iTunes

Is there a format of filenames for TV show mp4 files, such as 'S#E# - EpisodeTitle.mp4' that iTunes detects and automatically update the metadata and sort the files accordingly in my library? I hate ...
0
votes
0answers
24 views

How to figure out which exact python app regularly results in crashes of Python.app?

I have several python (server) apps running on my Macbook. One of them regularly crashes on my system, resulting in a desktop notification popup with the message: Python quit unexpectedly. Checking ...
0
votes
0answers
103 views

running python script of global keyboard shortcut in OSx

Hi I wrote a python script to get the size of the file of which I have URL I copied from browser or anywhere; I wanted to create a global keyboard shortcut so I tried to create using Automator > ...
0
votes
0answers
15 views

How can I install Dedalus using MacPorts?

Ive installed all the necessary MacPorts versions of the dependency packages listed on this page. When I run the bash install.sh installation script, it fails while installing scipy (which...I've ...
0
votes
0answers
16 views

Folder as Volume workflow

I need a way to take any local folder and make it behave just as a local mount drive. I have been using symlinks in the Volumes/ folder, but they need to be recreated after reboot. I need a solid ...
0
votes
0answers
228 views

Why is OSX python sys.path influenced by how python executed from the shell?

Using: OSX 10.10.5 (Yosemite) Python 2.7.10 (installed via the latest System update). XCode is installed. Using bash. Running from a bash shell, I found this surprising behavior I don't understand:...
0
votes
0answers
55 views

Vim Caught deadly signal SEGV

More frequent than I would like my vim crashes with the terminal prompting Vim: Caught deadly signal SEGV. I use vim with the pyflakes plugin to edit python scripts. The vim is the standard ...
0
votes
0answers
788 views

Open ipynb files by double clicking: Have custom items

I have been able to work out a method of opening IPython Notebook files (.ipynb) by double clicking on them using a combination of a python script and Automator.app. The python script is #!/usr/...
0
votes
0answers
133 views

os.Popen command is not working

I'm writing a python script that is suppose to change default display settings for all users. I run the script as sudo because it needs to change every display. This line is suppose to change the ...
0
votes
0answers
121 views

How to use Numbers to generate pdf on a web server and then email it out?

I have an issue. My client loved the report I generated using Numbers on Mavericks OS X. The bad news is that the data is being processed on a ubuntu machine running python and django. I want to ...
0
votes
0answers
37 views

How to Keep Mac apps updated

Is their anyway to keep all apps installed on my mac updated? As soon as some new version for a particular app launches i get the update automatically. I checked few softwares but all of them are ...
0
votes
0answers
30 views

How to download via home-brew when connected though Internet dongle?

I wanted to download python on my Mac OS Mavericks. I found a blog which instructed to download it via home-brew using simple command brew install python But I am getting failed to download errors. ...
0
votes
0answers
544 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
1k 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
389 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 ...