Comments (6)
Great; IIRC, there was an issue in pip about the traceback on _DistInfoDistribution__dep_map
a couple of years ago. Glad the fix was straightforward.
from axidraw.
Update, tried cloning the repo and running pip install .
inside axidraw/cli
and this completed without issues.
from axidraw.
Manually downloading the zip and running pip install .
within fails in the same way as the initially-reported issue. So it seems as though something is missing between the 392 zip file and the current git HEAD.
from axidraw.
$ diff AxiDraw_API_392/ axidraw/cli
Common subdirectories: AxiDraw_API_392/axicli and axidraw/cli/axicli
Only in AxiDraw_API_392/: documentation
Only in AxiDraw_API_392/: examples_config
Only in AxiDraw_API_392/: examples_py_axidraw
Only in axidraw/cli: examples_python
diff AxiDraw_API_392/Installation.txt axidraw/cli/Installation.txt
3c3
< Supported on python 3.7 and newer
---
> Supported on python 3.6 and newer
27c27
< 3.) [Recommended, optional] Use virtualenv to control versioning
---
> 3.) [Optional:] Use virtualenv to control versioning
65d64
< Most users can use this commmand:
69,75d67
<
< ```
<
< or the equivalent:
<
< ```
< python -m pip install .
76a69
> (On Windows, you may need to use "python -m pip install .")
78,80d70
< Some additional flags on pip (like `--user`) are not supported in most
< situations. If you need to customize the installation (e.g., with extra `pip`
< flags like `--user`), you should use the commands here: https://gitlab.com/evil-mad/AxiCli/bin/alt_install.
209c199
< Copyright 2021 Windell H Oskay, Evil Mad Scientist Laboratories
---
> Copyright 2020 Windell H Oskay, Evil Mad Scientist Laboratories
Only in AxiDraw_API_392/: prebuilt_dependencies
Common subdirectories: AxiDraw_API_392/pyaxidraw and axidraw/cli/pyaxidraw
diff AxiDraw_API_392/pyproject.toml axidraw/cli/pyproject.toml
45d44
< hershey = ["hersheyadvanced"] # see Installation instructions
Common subdirectories: AxiDraw_API_392/requirements and axidraw/cli/requirements
diff AxiDraw_API_392/setup.py axidraw/cli/setup.py
15c15
< 'ink_extensions>=1.3.2',
---
> 'ink_extensions>=1.2.0',
Common subdirectories: AxiDraw_API_392/test and axidraw/cli/test
pi@labserver:~ $
So, it looks like hersheyadvanced
was removed from the dependencies (and indeed I cannot find that in the usual Python indexes). Apart from that, I'm not entirely sure what is tripping up the documented install process. HTH?
from axidraw.
First, try pip3 install --upgrade pip
If that does not improve the situation, please let me know the specific versions of the OS, python, pip.
from axidraw.
This has indeed resolved things.
$ pip3 install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (20.3.4)
Collecting pip
Downloading https://www.piwheels.org/simple/pip/pip-23.2-py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 180 kB/s
Installing collected packages: pip
Successfully installed pip-23.2
$ pip3 -V
pip 23.2 from /home/pi/.local/lib/python3.9/site-packages/pip (python 3.9)
[cleanup previous attempts]
$ pip3 install https://cdn.evilmadscientist.com/dl/ad/public/AxiDraw_API.zip
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://cdn.evilmadscientist.com/dl/ad/public/AxiDraw_API.zip
Using cached https://cdn.evilmadscientist.com/dl/ad/public/AxiDraw_API.zip (379 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Processing /tmp/pip-req-build-0hwpeb_t/prebuilt_dependencies/axidrawinternal-3.9.2-py2.py3-none-any.whl (from axicli==3.9.2)
Collecting ink-extensions>=1.3.2 (from axicli==3.9.2)
Using cached https://www.piwheels.org/simple/ink-extensions/ink_extensions-1.3.2-py3-none-any.whl (33 kB)
Collecting lxml>=4.9.1 (from axicli==3.9.2)
Obtaining dependency information for lxml>=4.9.1 from https://files.pythonhosted.org/packages/de/07/fcfc5adfb793e6181049a361b2909723c5821b2bc18a21064da4429631a8/lxml-4.9.3-cp39-cp39-manylinux_2_28_aarch64.whl.metadata
Downloading lxml-4.9.3-cp39-cp39-manylinux_2_28_aarch64.whl.metadata (3.8 kB)
Requirement already satisfied: plotink>=1.8.0 in ./.local/lib/python3.9/site-packages (from axicli==3.9.2) (1.8.0)
Requirement already satisfied: pyserial>=3.5 in ./.local/lib/python3.9/site-packages (from axicli==3.9.2) (3.5)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from axicli==3.9.2) (2.25.1)
Requirement already satisfied: packaging>=21.0 in ./.local/lib/python3.9/site-packages (from plotink>=1.8.0->axicli==3.9.2) (23.1)
Requirement already satisfied: future in ./.local/lib/python3.9/site-packages (from axidrawinternal@ file:///tmp/pip-req-build-0hwpeb_t/prebuilt_dependencies/axidrawinternal-3.9.2-py2.py3-none-any.whl->axicli==3.9.2) (0.18.3)
Requirement already satisfied: pyclipper>=1.1.0 in ./.local/lib/python3.9/site-packages (from axidrawinternal@ file:///tmp/pip-req-build-0hwpeb_t/prebuilt_dependencies/axidrawinternal-3.9.2-py2.py3-none-any.whl->axicli==3.9.2) (1.3.0.post4)
Requirement already satisfied: tqdm>=4.64.0 in ./.local/lib/python3.9/site-packages (from axidrawinternal@ file:///tmp/pip-req-build-0hwpeb_t/prebuilt_dependencies/axidrawinternal-3.9.2-py2.py3-none-any.whl->axicli==3.9.2) (4.65.0)
Using cached lxml-4.9.3-cp39-cp39-manylinux_2_28_aarch64.whl (7.8 MB)
Building wheels for collected packages: axicli
Building wheel for axicli (pyproject.toml) ... done
Created wheel for axicli: filename=axicli-3.9.2-py3-none-any.whl size=22753 sha256=47557999cd911fb6a0a47fcafbbf051976aa8b430f97b8fbaf71a16b9bf93404
Stored in directory: /tmp/pip-ephem-wheel-cache-cwko6nhi/wheels/75/a2/cd/838084d7456d8107af8d9cb082a1a49bf5c52581c64cc2cdbe
Successfully built axicli
Installing collected packages: lxml, ink-extensions, axidrawinternal, axicli
Successfully installed axicli-3.9.2 axidrawinternal-3.9.2 ink-extensions-1.3.2 lxml-4.9.3
Thanks - will close this out.
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
- AxiCli wont install on the rapberry Pi 4 HOT 2
- Callbacks for different stages HOT 1
- Newest setuptools (from v69.0.0) breaks package HOT 8
- 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.