Giter Site home page Giter Site logo

Comments (3)

BradyAJohnston avatar BradyAJohnston commented on June 3, 2024

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.

bejucoo avatar bejucoo commented on June 3, 2024

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.

BradyAJohnston avatar BradyAJohnston commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.