Comments (8)
We're pushing a minor update (v 3.9.5) to cover this (along with a few other bug fixes).
Here's the package ahead of formal release:
python -m pip install https://cdn.evilmadscientist.com/dl/ad/public/395/AxiDraw_API_395.zip
from axidraw.
Some tips for when you start looking into it @oskay:
If you add
requires = ["setuptools >= 40.6.0, <69.0.0"]
instead of
requires = ["setuptools >= 40.6.0"]
in cli/pyproject.toml (line 48), I think the issue should be resolved for the current package setup with setup.py for dynamic dependencies (this solution forces "setuptools" to be less than the breaking "setuptools" version I mentioned above, which ignore dynamic dependencies in setup.py). I have tested this by doing:
wget https://cdn.evilmadscientist.com/dl/ad/public/AxiDraw_API.zip
and then adding
requires = ["setuptools >= 40.6.0, <69.0.0"]
inside the downloaded cli/pyrpject.toml, and can verify that we get a successful install (upon doing "pip install .").
I can both do:
from pyaxidraw import axidraw
and
python3 -m axicli
successfully.
from axidraw.
Thanks; we'll take a look.
from axidraw.
Came to report the same issue. While not pulling in the module for a custom script, calling the axicli
command fails.
zsh: command not found: axicli
. When I try to call it with python3 -m axicli
, I get a similar output:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/xander/.pyenv/versions/3.12.0/lib/python3.12/site-packages/axicli/__main__.py", line 1, in <module>
from .axidraw_cli import axidraw_CLI
File "/home/xander/.pyenv/versions/3.12.0/lib/python3.12/site-packages/axicli/axidraw_cli.py", line 66, in <module>
from pyaxidraw.axidraw_options import common_options
File "/home/xander/.pyenv/versions/3.12.0/lib/python3.12/site-packages/pyaxidraw/__init__.py", line 53, in <module>
main()
File "/home/xander/.pyenv/versions/3.12.0/lib/python3.12/site-packages/pyaxidraw/__init__.py", line 40, in main
raise ie
File "/home/xander/.pyenv/versions/3.12.0/lib/python3.12/site-packages/pyaxidraw/__init__.py", line 34, in main
sys.modules[__name__].__dict__[name] = alias_submodule(supermodule_name, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xander/.pyenv/versions/3.12.0/lib/python3.12/site-packages/pyaxidraw/__init__.py", line 49, in alias_submodule
__import__(full_name)
ModuleNotFoundError: No module named 'axidrawinternal'
Using python 3.12.0 via pyenv.
from axidraw.
I'm wrapping up a different project but hope to get a chance to look at this in the coming week. One person reports that they were able to get it to install by first using pip install prebuilt_dependencies/*
, in the unzipped download.
from axidraw.
Oh interesting! I'll give that a shot. Thanks @oskay
from axidraw.
I'm wrapping up a different project but hope to get a chance to look at this in the coming week. One person reports that they were able to get it to install by first using
pip install prebuilt_dependencies/*
, in the unzipped download.
Just wanted to report that this method worked.
- cd into API dir
pip install prebuilt_dependencies/*
pip install .
- I opted to add
alias axicli="python -m axicli"
to my.zshrc
file on my rpi4. zsh complained that the axicli command was not found otherwise.
from axidraw.
Great, thank you!
from axidraw.
Related Issues (20)
- Axicli progress bar reports 100% complete after resume (3.5.0) HOT 2
- Resume feature occasionally fails to draw anything. HOT 3
- Hershey Crashes when used with text box from imported svg HOT 2
- Python API: moveto() lowers pen HOT 1
- Start drawing from current position / from specified point of drawing HOT 8
- Potential workaround for Inkscape issue in MacOS HOT 3
- Speed tests for 3.8 release
- Possible causes for "'AxiDraw Control' working, please wait..." ? HOT 2
- AxiDraw not respecting "Plot individual layers" options HOT 3
- Prevent computer sleep while plotting HOT 2
- AxiDraw going beyond size limits during Pause/Resume HOT 2
- Ошибка can't open file 'eggbot_hatch.py' HOT 2
- inaccurate jog HOT 2
- Hidden line removal feature vs SVG style HOT 2
- Unable to install Python API on Pi - "g_resources.RequirementParseError: Invalid URL given" HOT 6
- AxiCli wont install on the rapberry Pi 4 HOT 2
- Callbacks for different stages HOT 1
- Python plot.py incorrect output with included sample file HOT 2
- Hatch Fill: ValueError: could not convert string to float: '8mm' HOT 3
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 axidraw.