Giter Site home page Giter Site logo

OS X install error about vpype HOT 9 CLOSED

duncangeere avatar duncangeere commented on May 22, 2024
OS X install error

from vpype.

Comments (9)

abey79 avatar abey79 commented on May 22, 2024 1

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: source vpype_venv/bin/activate. Alternatively, you can execute vpype with the full path: vpype_venv/bin/vpype --help

from vpype.

duncangeere avatar duncangeere commented on May 22, 2024 1

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!

from vpype.

abey79 avatar abey79 commented on May 22, 2024 1

Good news! I'm in the middle of a complete documentation overhaul. I've made sure the venv stuff is better explained now.

from vpype.

abey79 avatar abey79 commented on May 22, 2024

Hello @duncangeere, what's your python and pip version? Can you give me the output of python --version and pip --version?

edit: from what I see online, upgrading pip might solve the problem: pip install --upgrade pip

from vpype.

duncangeere avatar duncangeere commented on May 22, 2024

@abey79 Thanks! I'm on Python 2.7.1.13 and pip 9.0.1.

Upgrading pip gives me a new exciting error!

Cache entry deserialization failed, entry ignored
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Requirement already up-to-date: pip in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages

Should I be running python3 rather than python perhaps? (I have v3.6.5 of python3)

from vpype.

abey79 avatar abey79 commented on May 22, 2024

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.

from vpype.

duncangeere avatar duncangeere commented on May 22, 2024

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 ./alien.sh I get ./alien.sh: line 8: vpype: command not found. In the command line, using vpype gives me a similar error: zsh: command not found: vpype.

from vpype.

abey79 avatar abey79 commented on May 22, 2024

Hey @duncangeere have you been able to sort this out?

from vpype.

duncangeere avatar duncangeere commented on May 22, 2024

Sorry for the delay! Got caught up in a few things. Will try this afternoon and let you know.

from vpype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.