-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS X install error #27
Comments
Hello @duncangeere, what's your python and pip version? Can you give me the output of edit: from what I see online, upgrading pip might solve the problem: |
@abey79 Thanks! I'm on Python 2.7.1.13 and pip 9.0.1. Upgrading pip gives me a new exciting error!
Should I be running |
Yes, python 2.7 is not going to work. So try with python3 and pip3 (I assume). 3.6 is the minimum requirement for vpype. If that's the OS base python, let's see. It's usually best to install python with, e.g., Homebrew. |
Thanks for your help. It does say 3.6 in the installation instructions, so apologies, I should have checked that before filing an issue! pip3 worked and it downloaded and installed a bunch of stuff (and running it again just gives me a load of "requirement already satisfied" messages. However, when I run |
Depending on the python install, some directory has to be added to the path and I'm unsure which. The easiest would be either to install python from MacPort or Homebrew (these tool should setup the path properly) or use a virtual environment, which is always a good idea. Here is how to do it: python3 -m venv vpype_venv
source vpype_venv/bin/activate
pip install --upgrade pip
pip install git+https://github.com/abey79/vpype#egg=vpype Then you should be able to run vpype. Note that if you close the terminal and want to use another one, you will need to activate the virtual environment again: |
Hey @duncangeere have you been able to sort this out? |
Sorry for the delay! Got caught up in a few things. Will try this afternoon and let you know. |
Actually I just tried now. Installing python from Homebrew didn't work, but the virtual environment approach worked a treat. I saw you recommended one on the install page, but didn't know how to do it so skipped that bit! May be worth adding the instructions above to that page :) Thanks for helping me solve the problem! |
Good news! I'm in the middle of a complete documentation overhaul. I've made sure the venv stuff is better explained now. |
When installing vpype on OS X I get the following error:
Is this my error, or a bug somewhere?
The text was updated successfully, but these errors were encountered: