MolecularNodes: Apple silicon/ Blender 3.4.0 / MolNodes 2.0.2 package installation failure

Hi Brady! Excited to play with the new features, and maybe finally dip my toes into contributing!

Unfortunately, trying to install the required packages using this button in blender:

image

results in an error message reading:

Failed to install required packages. Please check /Users/posert/Library/Application Support/Blender/3.4/scripts/addons/MolecularNodes/logs/side-packages-install.log

The contents of that log file are:

$ cat ~/Library/Application\ Support/Blender/3.4/scripts/addons/MolecularNodes/logs/side-packages-install.log
-----------------------------------
Installer Started: 2022-12-13 08:18:36.297157
-----------------------------------
###################################
Installer finished: 2022-12-13 08:19:05.242502
###################################

System Info

  • M2 macbook air
  • Monterey 12.6.1
  • Blender 3.4.0
  • MolNodes 2.0.2

Steps already taken

  • Uninstall molnodes, restart blender, re-install molnodes

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 95 (65 by maintainers)

Most upvoted comments

After failing to get MolecularNodes installed on my M1 machine (symptom was that blender wouldn’t open after symlinking a conda env with biotite & MDA) I came to this thread.

Can confirm rebuilding the wheels worked for me!

mkdir ~/biotite-wheel
conda create -n wheel-builder python=3.10 cython
conda activate wheel-builder
python -m pip wheel biotite==0.35.0 --cache-dir .
conda deactivate

cd /Applications/Blender.app/Contents/Resources/3.4/python/bin
./python3.10 -m pip install biotite --cache-dir ~/biotite-wheel

I did the same thing for MDA but I haven’t tested it, but can confirm biotite works and I can import structures.

I’m having the same problem, but @Luc1100 fix of linking a conda environment doesn’t work for me. When I do this, Blender crashes upon startup. Hmm any ideas for other work arounds?

Using MacBook Pro with M1 Max, Monterey 12.5, Blender 3.4.1, MolNodes 2.0.2

This solved my installation problem. Now also blender recognize MDA package as installed. I can also import structure form pdb databse

Actually @Luc1100 it seems that the error is with the biopython install itself. I just had a look at the biopython pypi page and it looks like there isn’t a MacOS ARM build… looks like we will have the same issue 🫠

Yes! The version was 2.4.3. Downloading and caching specifically 2.2.0 fixed the problem and Molecular Nodes now sees MDA as installed. Thanks!

FWIW, I just cloned the master branch, zipped up the MolecularNodes folder, installed it, closed out of blender, opened blender, clicked install biotite, waited, closed out of blender, and opened it again and it appears to work fine.

Edit: M1 mac, not using any MD related stuff. Edit2: Installed blender 3.5, was able to install MolecularNodes ezpz no closing of Blender needed.