Comments (7)
well upgrading to Monterey 12.0.1 simply fixed this issue.. didn't even have to reinstall anaconda or packages or anything. I'll close this issue but hopefully it will help others who might still be on BigSur
from navis.
following the instructions to install navis in the shipped python environment (which is now 3.9.2 it seems with the latest blender), I get a similar but slightly different error.
PYTHON INTERACTIVE CONSOLE 3.9.2 (default, Mar 16 2021, 14:53:03) [Clang 10.0.0 (clang-1000.11.45.5)]
Builtin Modules: bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.context, bpy.utils, bgl, blf, mathutils
Convenience Imports: from mathutils import *; from math import *
Convenience Variables: C = bpy.context, D = bpy.data
>>> import navis
Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/navis/__init__.py", line 26, in <module>
from .plotting import *
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/navis/plotting/__init__.py", line 15, in <module>
from .dd import *
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/navis/plotting/dd.py", line 38, in <module>
from .plot_utils import segments_to_coords, tn_pairs_to_coords
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/navis/plotting/plot_utils.py", line 32, in <module>
from vispy.util.transforms import rotate
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/vispy/__init__.py", line 27, in <module>
from .util import config, set_log_level, keys, sys_info # noqa
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/vispy/util/__init__.py", line 14, in <module>
from . import fonts # noqa
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/vispy/util/fonts/__init__.py", line 13, in <module>
from ._triage import _load_glyph, list_fonts # noqa, analysis:ignore
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/vispy/util/fonts/_triage.py", line 14, in <module>
from ._quartz import _load_glyph, _list_fonts
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/vispy/util/fonts/_quartz.py", line 12, in <module>
from ...ext.cocoapy import cf, ct, quartz, CFRange, CFSTR, CGGlyph, UniChar, \
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/vispy/ext/cocoapy.py", line 946, in <module>
cf = cdll.LoadLibrary(util.find_library('CoreFoundation'))
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/ctypes/__init__.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(CoreFoundation.framework/CoreFoundation, 6): no suitable image found. Did find:
file system relative paths not allowed in hardened programs
from navis.
for now i hacked together a solution commenting out the
from plotting import *
from init.py and then somehow i can
import navis.interfaces.blender as b3d
if i do it twice.. and then the example neuron can be added.
not sure why this all is... was going to upgrade my os x version anyway and we'll see what happens.
from navis.
I have no experience trying to setup a conda environment in Blender. I'm actually rather surprised you got as far as you did. The problem appears to be with vispy
but I have never seen that error before? What OS version/chip are you running?
from navis.
What you could try is mocking vispy
. See my response in #17
from navis.
Ah right - just realised that you had mentioned Big Sur. Out of curiosity is it an M1?
from navis.
no this is an intel one.. i have a m1 laptop soon though, so i'll report when i find out.
from navis.
Related Issues (20)
- cut_skeleton memory issues HOT 2
- Minor: documentation on navis.Volume HOT 1
- Thoughts on synblast HOT 1
- Set DYLD_LIBRARY_PATH for elastix on MacOS HOT 2
- Custom colored connectors in plot2d is broken
- New numpy version leads to AttributeError HOT 5
- Traversal model make new nodes which is not in edges HOT 5
- downsample_neuron does not reassign connectors
- split_axon_dendrite fails for big neurons HOT 2
- New Feature for xform_brain: on-the-fly shortcuts for multi-transform chains
- Parquet skeletons HOT 4
- Advice for M1 mac installation HOT 8
- Mapping TreeNeuron presynapses to postsynaptic bodyID HOT 2
- improve strahler_index HOT 4
- read_swc: strange behaviour when file path contains typo HOT 2
- New feature: split connectivity HOT 3
- Bug changing connector size in navis.2d_plot() HOT 2
- Make function signatures more consistent
- New system for ultrastructural features
- Make nbl.smat.LookupNdBuilder more generic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navis.