Comments (3)
I am unfamiliar with environment management on Linux, so I a may not be the best person to try and help. It seems though that you might not be using the python kernel that ships with Blender. How do you have Blender installed?
If it is a non-standard installation then this might be causing issues, but if it is a standard download / install, there should be a python kernel that ships with Blender. On ARM macOS if is here:
/Applications/Blender.app/Contents/Resources/3.6/python/bin/python3.10
So you could manually ensure that you are installing the packages with the specific environment via (but whatever the equivalent for the Linux installation is):
/Applications/Blender.app/Contents/Resources/3.6/python/bin/python3.10 -m pip install MDAnalysis==2.6.1
This might help? Again I don't have any experience with environments in Linux.
from molecularnodes.
I installed Blender using pacman, my distribution package manager.
You were correct, my installation is using the system's python kernel (3.11.5). I checked but it seems that when I install Blender using pacman it doesn't create a python folder. It'd normally be in /usr/share/blender/3.6/python
, but it doesn't exist.
So I installed Blender using the direct download from the site which does have the python folder and was able to correctly install the required packages using the kernel that ships with the program (3.10.12).
The only things I had to do was to install libxcrypt-compat
(using pacman) and pip:
./python3.10 -m ensurepip --upgrade
I'll keep trying to install the required packages in my original Blender installation. Do you think is possible to "tell" the addon what python installation to use? Or indicate the required packages install location?
Thanks Brady!
from molecularnodes.
Okay glad it was a relatively straightforward fix. I would assume you could probably have the pacman installed version work, if Blender is given the right paths to find the packages. Unsure why it wouldn't have access to system packages if it is using the system python, but it could potentially be a fix to just make it aware of the package installation locations.
It could also be an error with versions. Blender are very specific with their python versions. Currently they are locked to 3.10.X, with no guarantee outside of that version that things won't break as a lot of the API can be sometimes fragile. In theory not much should break from increasing the version, it's probably best to stick to 3.10 as well.
from molecularnodes.
Related Issues (20)
- Expose Default Values as User / Code Defined
- CellPack `.zip` import support HOT 1
- `.mmtf` being dropped by RCSB
- Add multiframe feature to style HOT 2
- Ribbon style settings for DNA HOT 2
- Biotite not installing on Blender 4.0.2 with MN ver. 4.0.9 HOT 3
- Finf
- Find and break bonds nodes are not present. HOT 1
- Cannot import .pdb files into old (Blender 3.6.1) .blend sessions HOT 2
- Load OpenDX files HOT 8
- `Style Surface` doesn't update on MDAnalysis trajectory
- Add trajectory smoothing when importing via MDAnalysis HOT 4
- More options for MDAnalysis trajectory playback
- Missing secondary structure HOT 17
- "Centre Structure" option removes Center of Geometry translations rather than Center of Mass HOT 23
- Cartoon Style Not Showing for Local PDB HOT 5
- Pre-build structure specific node groups.
- Guessing atom attributes based on atom names can lead to misinterpretations HOT 3
- Molecule class implementation HOT 6
- Use an MDA Universe as a "data twin" to the blender objects HOT 3
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 molecularnodes.