-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Description
>>> import compas
Works fine.
>>> import compas_blender
Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\compas_blender\__init__.py", line 22, in <module>
from .utilities import * # noqa: F401 F403
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\compas_blender\utilities\__init__.py", line 81, in <module>
from .drawing import (
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\compas_blender\utilities\drawing.py", line 7, in <module>
from compas.geometry import centroid_points
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\compas\geometry\__init__.py", line 635, in <module>
from .transformations import (
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\compas\geometry\transformations\__init__.py", line 18, in <module>
from .transformations_numpy import * # noqa: F401 F403
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\compas\geometry\transformations\transformations_numpy.py", line 5, in <module>
from numpy import asarray
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\numpy\__init__.py", line 143, in <module>
from . import lib
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\numpy\lib\__init__.py", line 45, in <module>
__all__ += type_check.__all__
NameError: name 'type_check' is not defined
Doesn't, because:
>>> import numpy
Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\numpy\__init__.py", line 143, in <module>
from . import lib
File "C:\Users\a\scoop\apps\blender\current\2.92\python\lib\site-packages\numpy\lib\__init__.py", line 45, in <module>
__all__ += type_check.__all__
NameError: name 'type_check' is not defined
Context
Windows==10
Python==3.7
compas==1.2.1
Metadata
Metadata
Assignees
Labels
No labels