Getting the following error when trying to instantiate compas_view2.app.App .
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\username\.conda\envs\occ\lib\site-packages\compas_view2\app\app.py", line 203, in __init__
self.selector = Selector(self)
File "C:\Users\username\.conda\envs\occ\lib\site-packages\compas_view2\app\selector.py", line 67, in __init__
self.box_select_coords = np.zeros((4,), np.int)
File "C:\Users\username\.conda\envs\occ\lib\site-packages\numpy\__init__.py", line 284, in __getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'
Describe the bug
Getting the following error when trying to instantiate
compas_view2.app.App
.This started happening on a new environment with the latest version of
numpy
installed, so this could be the issue: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecationsTo reproduce
compas_view2
fromconda-forge
App
Desktop (please complete the following information):
numpy
version 1.24