Can't use compas in blender 2.92
See original GitHub issue>>> 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
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (20 by maintainers)
Top Results From Across the Web
Blender Geometry Node Basics In Blender 2.92 | Tutorial
CG Cookie (http://bit.ly/cgc-learn- blender ) contributor, Chris Bailey ( @CBaileyFilm ) takes us through the basics of Geometry nodes in ...
Read more >Viewport Navigation - Blender 2.80 Fundamentals - YouTube
Blender is Free and Open Source SoftwareDownload: https:// blender.org/downloadSupport core Blender ... Your browser can't play this video.
Read more >How to use the ASSET BROWSER | Blender 2.92 - YouTube
The Asset Browser / Library is a new feature (tool) in Blender 2.92 and is currently in development. You are able to place...
Read more >How To Join/Merge Objects Using The Union Modifier.
Your browser can't play this video. Learn more. Switch camera ... Blender 2.92 Tutorial: How To Join/Merge Objects Using The Union Modifier.
Read more >Blender 2.92 New Features in LESS than 5 Minutes - YouTube
Discover what's new in Blender 2.92 with @SouthernShotty!* Download Blender 2.92 now: ... Your browser can't play this video.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
And here’s a working setup for latest compas and latest Blender.
I think an environment that is built specifically for blender makes sense, we could prepare a couple of
environment.yml
files, one for each version of Blender that we support, it’s not a lot of work and we’d get into a more consistent situation for sure.