-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cannot run example_runner.py #2
Comments
@swoker I appreciate the report! I'll poke at it when I get home. Just out of curiosity what version of python is your linux running? I don't do much in the way of linux testing so I appreciate the feedback. |
Python 3.10.12 |
@swoker after poking around a bit I'm guessing the issue your hitting may be related to this issue I'll check to see if there is any updates to cadquery when All is said and done the version of cadquery I'm trying to run with is coming from one of my component libraries cadqueryhelper And the version it's trying to resolve is cadquery>=2.4 which I believe is relatively up to date: To get the script working you may have to mess around with the suggested workaround in the cadquery ticket If you need a specific version of numpy to get the script working you can create a virtual environment I don't expect you to change your numpy version globally https://docs.python.org/3/library/venv.html |
Found a supporting bug I'll attempt to add an old numpy version requirement to my project file and see if that helps for the time being. |
I got over the numpy version issue but I introduced a cyclical dependency between cqindustry and cqspoolterrain cqspoolterrain install cqindustry 0.1.1 but the version were attempting run of cqindustry is 2.0.0. I need to move some code from cqspoolterrain down into cqterrain |
@swoker There was a mountain of molehills that you found, which I appreciate. Please test with the latest release of cqindustry and see if the example_runner.py works for you.
Releases: |
Hi there, I uninstalled everything, did a git pull, pip install ./ and ran the examples again. Much less as before, but as you mentioned there are quite a few packages to use instead :) Thanks for the quick fix, I will close the ticket as well |
Hi,
First of all, thanks for the work!
Also, I don't have ANY experience in python except running a few small scripts, so please bear with me :)
I tried to run the
example_runner.py
and ran into multiple problems.1. Numpy
It seems there's a hidden dependency for numpy <=1.23, but everytime I run the pip install cqindustry - numpy 2.1.3 is installed.
I have to revert it with
pip install mxnet-mkl==1.6.0 numpy==1.23.1
2. cqspoolterrain missing
running this fixed the issue.
I had to reinstall numpy and the current package to use cqindustry-2.0.0 instead of 0.1.1 again
I guess this needs to be added in pyproject.toml?
3. error in cqspoolterrain
it seems there's an issue inside the cqspoolterrain with the import, but I'm out of ideas how to fix this one without learning python first... :D
I think I can already create my chip tower based on the given examples, but it would be great to be able to run all examples.
Again, I have no idea about python, so please let me know if it's a user error on my side :)
Thanks!
Best
Simon
The text was updated successfully, but these errors were encountered: