Skip to content
Advertisement

Tag: macos

How do I upgrade to Python 3.6 with conda?

I want to get the latest version of Python to use f-strings in my code. Currently my version is (python -V): How would I upgrade to Python 3.6? Answer Anaconda has not updated python internally to 3.6. a) Method 1 If you wanted to update you will type conda update python To update anaconda type conda update conda If you

Why i can’t install autopy?

I’m using MacBook and Operating System is MacOS Sierra. I use this command to install autopy: But i get this error: Why am i getting this error? Answer There is a known issue that for some reason wasn’t fixed. Issue: https://github.com/msanders/autopy/issues/75 It contains following workaround (commands to type in console):

pip installs packages successfully, but executables not found from command line

I am working on mac OS X Yosemite, version 10.10.3. I installed python2.7 and pip using macport as done in http://johnlaudun.org/20150512-installing-and-setting-pip-with-macports/ I can successfully install packages and import them inside my python environment and python scripts. However any executable associated with a package that can be called from the command line in the terminal are not found. Does anyone know

How to create OS X app with Python on Windows

I need to automate a cross-platform application build. Entire build runs on Windows machine. Part of it is written in Python and compiles for OS X. Currently this part of build is done manually on OS X. I tried pyinstaller but it looks like it only building for the platform that it is running on. I also tried py2app but

Error Installing Psycopg2 on MacOS 10.9.5

I’m trying to install Psycopg2 on my Macbook, but I am getting an error. I found a lot of the same questions on StackOverflow but no answer seems to work. I’m using: OS: MacOS 10.9.5 Python Version: 3.4.3 My error code is: Answer I ran pip install psycopg2-binary and it worked like charm More info about the binary package Python

How to install pyaudio on mac using Python 3?

I first tried: but I was told that Then I tried: Then I got: but I had installed portaudio Warning: portaudio-19.20140130 already installed So what can I do? Answer I’m assuming you are on a Mac. This is a simple issue to fix. First install Xcode. Then restart your computer. Afterwards run the commands in sequence, So to clarify, Xcode

Advertisement