Closed scotus-49 closed 3 years ago
Hi @scotus-49. It is just how I set it up because sometimes the Blender python version is different from the system python version. If you know what you are doing, you can modify the init.py file to suit your environment. Do you know how to do this or do you need help?
Thanks for your quick reply. I am not an expert on Blender Python and the addon system, so any help would be much appreciated.
However, checking the terminal window after starting Blender, I noticed that many of the Sverchok nodes were not available, owing to missing python packages. So I have now installed Anaconda.
Even running Blender from the command line with --python-use-system-env had made no difference. I am now looking at your guidelines for using Anaconda with Blender, but with Blender running Python 3.9.2 and Anaconda on version 3.8, and I'll have to find out how this works.
Kind regards from Berlin Francis Sim
The add-on now works for me with Anaconda, on my Ubuntu 21.04 with the 2.93.0 Beta Appimage from Blender.
I made a minor alteration to the python install script to account for the location of the 'site-packages' folder in my Blenderxxx Anaconda envs folder, and manually copied the topologic-0.4-py3.9.egg file from ~/topologicbim/TopologicPy/cpython/dist. I renamed the Blender python folder in the Appimage installation setup, but did not copy over the Anaconda env Blenderxxx folder as you suggested. Activating the conda Blender environment in the terminal before starting Blender seemed to work fine.
There's still a whole list of errors coming up in the terminal, but Blender let me activate the addon, and it shows up as a submenu under Sverchok. I still have to find and install some missing libraries for Sverchok, but Anaconda makes the job a bit easier.
Now the question is - what can I do with it?
From the setup file:
My setup: System: Ubuntu 21.04 Blender: 2.93.0 Beta (Appimage) Blender Python version: 3.9
Why is it necessary to install Anaconda to run this addon? I have already installed topologicPy with no problems, but your init.py setup won't run without Anaconda. The setup is also looking for the /opt directory in my home directory: