Closed roipoussiere closed 2 years ago
Ok, the issue appears because of the new release of np-typing (2.0) published yesterday.
I can fix the error with pip install 'nptyping<2'
.
A work-around until this is fixed in master. When following Command Line Installation, specify nptyping 1.4.4.
conda install -c cadquery -c conda-forge cadquery=master 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).