Comments (9)
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.
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.
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.
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.
@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.
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.
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.
Hey @duncangeere have you been able to sort this out?
from vpype.
Sorry for the delay! Got caught up in a few things. Will try this afternoon and let you know.
from vpype.
Related Issues (20)
- Request For Comment: Vpype2 - Next Gen Primitive HOT 8
- Help with Raspberry PI installation HOT 6
- `read`'s layer ID attribution doesn't appropriately handle well-formed inkscape layers in some cases HOT 2
- Default to QT_QPA_PLATFORM=xcb on Linux/Wayland HOT 1
- Request: Splitdist with overlapping segments HOT 3
- Can't install on macOS HOT 2
- PySide 6.4.2 has a refresh bug on macOS when the viewer window is resized by a windows manager
- Add support for Axidraw layer name syntax
- Add more filter options HOT 2
- reloop puts the seams where the points are rather than spreading them uniformly over the length of the closed path HOT 1
- `read` entirely discards file containing NaN
- Is there a way to use vpype to count the number of lines/paths in an svg file? HOT 1
- Pyside 6.5.0 breaking changes (Linux)
- Enhancement suggestion -- allow getting document width/height in non-pixel units HOT 2
- Change the layer ID interpretation to match EMSL standard HOT 1
- `--fit-to-margins` adds boarder around margin HOT 1
- Curved Line Spacing Problem HOT 4
- Allow for `layout` arg to maintain size of svg element
- Output error messages when using `execute` from vpype API HOT 4
- Cursive font glyphs are split in multiple strokes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vpype.