-
Notifications
You must be signed in to change notification settings - Fork 301
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
Error when importing cadquery: nptyping.error.InvalidArgumentsError #1046
Comments
Ok, the issue appears because of the new release of np-typing (2.0) published yesterday. I can fix the error with |
A work-around until this is fixed in master. When following Command Line Installation, specify nptyping 1.4.4.
|
Is it preferred to make changes to support nptyping v2.0.0? |
@lorenzncode Supporting nptyping 2.x would probably be ideal, but we have to make sure that it doesn't cause problems anywhere else in CQ's dependency tree as well. If it does cause other problems, then we'll have to pin the version to 1.4.4. |
When trying to import cadquery I get the following error:
I don't use Conda but pip, using the ocpvtk wheel I built yesterday, but someone else got the same error using Conda.
This error is really recent, because there was no problem to install and import cadquery yesterday.
So it's strange, because:
If I use the python cadquery venv I created yesterday I can
import cadquery
andimport typish
(without installing it manually). But if I create a new venv (using the same ocpvtk wheel), I getModuleNotFoundError: No module named 'typish'
when trying to import cadquery.Then if I install typish module and try again, I get the error described above (the suspicious line in the stacktrace is here).
The text was updated successfully, but these errors were encountered: