Can't install Animation Nodes.
OmarEmaraDev opened this issue Β· 114 comments
The following guide provides the installation instruction for installing Animation Nodes and the troubleshooting guide to troubleshoot your installation.
How to install Animation Nodes?
- Disable then uninstall any version of Animation Nodes already installed.
- Download a build of Animation Nodes from the Animation Nodes website.
- Go to User Preferences -> Add-ons.
- Press install and choose the build you downloaded.
Animation Nodes should now be installed and can be enabled. If you encounter any errors or unexpected behavior during the installation process, read the troubleshooting section below.
Troubleshooting
If an installation error occurred, Animation Nodes should show an error message with a description of the issue that occurred. Below, we present a number of issues the could occur and the procedure to fix them.
Can't find Animation Nodes in the add-ons list
The installed Animation Nodes build is corrupted. First delete the animation_nodes
folder from the add-ons directories. See Appendix I. Then follow the installation instructions above.
There are multiple versions of Animation Nodes installed
Multiple version of Animation Nodes can't coexist. To fix this, remove all versions of Animation Nodes. You may need to manually remove the animation_nodes
folder from the add-ons directories. See Appendix I. Then follow the installation instructions above.
Import Error: DLL load failed
Install vc_redist.x64
from microsoft's support center.
libpython3.x : Can't Open Shared Object File
Animation Nodes needs the python dynamic library in order to work. Install python3.x
or/and libpython3.x
from your package manager of choice.
Ubuntu
Ubuntu users may install libpython3.x
from the deadsnakes PPA using the following commands. (Making sure to replace x
with the target version.)
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update -y && sudo apt upgrade
sudo apt install libpython3.x
This build does not work at the moment
This could be caused due to a number of issue:
- The build you are using was not built for the platform you are using. Download and install an appropriate build as described above.
- You don't have the
vc_redist.x64
library. See the section about "Import Error: DLL load failed" above. - You don't have the python shared libraries. See the section about "libpython3.x : Can't Open Shared Object File" above.
Animation Nodes depends on Numpy
Animation Nodes needs the numpy python module to operate. Install numpy to your python environment through your package manager or through other means. Official Blender builds have numpy installed by default, so you may also use the latest official Blender build to avoid the issue.
Animation Nodes needs at least Blender 2.80
The latest version of Animation Nodes only works with Blender 2.80. Install a newer Blender build.
Animation Nodes is built for another OS
An Animation Nodes build is built for a certain platform and will only work on this platform. Download an Animation Nodes build that is built for your platform.
There is a python version mismatch
An Animation Nodes build is built for a certain python version and will only work on this python version. The official Animation Nodes builds provided are built against the python version used by the official Blender builds. If your Blender build uses a different version, you will have to use a custom Animation Nodes build or build Animation Nodes yourself. Notice that Animation Nodes exists in the AUR for Arch users.
This is just the source code of Animation Nodes
The installed Animation Nodes build is corrupted. First delete the animation_nodes
folder from the add-ons directories. See Appendix I. Then follow the installation instructions above.
Still can't install Animation Nodes
If you still can't install Animation Nodes, add a comment to this issue detailing the issue you are having and we will help you resolve your issue.
Appendix I
It is sometimes necessary to delete Animation Nodes from the file system yourself by deleting the animation_nodes
folder in the add-ons directories. There are many directories in which add-ons can be installed, you have to go through all of them and remove the animation_nodes
folder. The directories at listed in the Blender documentation.
@3DSinghVFX If you have the time, we need to debug the daily builds and see why they are not working with Ubuntu. Can you provide any information on the issue? Did the daily builds ever work on ubuntu?
Sure :) I do not remember the exact date but this problem has been happening for the end of October. Tomorrow, I'll try to install AN from the daily build on the different Blender versions 2.80 to 2.8x and report back about this issue.
-
When I try to install AN from the daily build then it gave this error during enabling in the addon menu,
-
Next, I replaced the
test_compile.cpython-37m-x86_64-linux-gnu.so
with the file from the compiled build AN on my pc. Then it gave this error,
-
If I replaced the compiled files in the
algorithms/hashing/
with the files from the compiled build AN on my pc, then it gave this error in the file in another folder,
It looks like there is missing python lib (libpython3.7m.so.1.0
) in the online AN daily build.
@OmarEmaraDev I have installed python3.7
(which that libpython3.7
) then daily online build of AN worked without any error.
But I do not understand this problem. Does the daily online build of AN's lib path set to /usr/lib
and the AN compiled on my pc with anaconda has lib path to lib-directory of the anaconda?
@3DSinghVFX Is libpython3.7
a dependency of python3.7
? Also, is python3.7
readily available from the official Ubuntu repository?
I don't fully understand the issue as well, but maybe the linker added the directory to the rpath of the library.
Yes, libpython3.7
comes with python3.7
. I do not know, maybe the latest version (18.04 or higher) of Ubuntu comes with python3.7
or python3.8
.
Ok. Thanks for helping with this! We will add that to the installation guide until we figure out a way to statically link Animation Nodes.
Okay.
Trying to update Animation Nodes from master zip, remove the old, bring the new, and after installing the module, cannot see it under addon list. What's wrong with Animation Nodes add-on installation, it seems problematic :(
I have Blender 2.81 and 2.82 alpha in separate folder. Trying to make this latest version running on Blender 2.82 alpha.
Hi @enzyme69
From where you download the master zip file? I think you have installed the source code of AN by mistake. You can download the latest AN build zip file from https://animation-nodes.com/ or https://github.com/JacquesLucke/animation_nodes/releases
So i am running 2.81, on windows 10, with AN downloaded from animation-nodes.com and i also have the latest vc_redist, and this is the error message i get when i try to activate AN after i instal the addon.
" bpy.data.window_managers["WinMan"].addon_search = "ani"
bpy.context.space_data.bookmarks_active = 1
Modules Installed (animation_nodes) from 'E:\Design\Resources\Blender Resources\Add+Ons\animation_nodes_v2_1_windows_py37.zip' into 'C:\Users\lasse\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons'
Traceback (most recent call last):
File "E:\Apps\Blender\2.81\scripts\modules\addon_utils.py", line 351, in enable
mod = import(module_name)
File "C:\Users\lasse\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\animation_nodes_init_.py", line 166, in
auto_load.init()
File "C:\Users\lasse\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\animation_nodes\auto_load.py", line 23, in init
modules = get_all_submodules(Path(file).parent)
File "C:\Users\lasse\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\animation_nodes\auto_load.py", line 51, in get_all_submodules
return list(iter_submodules(directory, directory.name))
File "C:\Users\lasse\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\animation_nodes\auto_load.py", line 55, in iter_submodules
yield importlib.import_module("." + name, package_name)
File "E:\Apps\Blender\2.81\python\lib\importlib_init_.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "C:\Users\lasse\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\animation_nodes\libs\FastNoiseSIMD_init.py", line 1, in
from . node_base import Noise3DNodeBase
File "C:\Users\lasse\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\animation_nodes\libs\FastNoiseSIMD\node_base.py", line 6, in
from . wrapper import (
ImportError: DLL load failed: module not found.
bpy.context.area.ui_type = 'INFO' "
@limkork Are you sure you have the vc_redist.x64 2019 one?
yes, I just double-checked and downloaded it again, same problem :(
quick update, i got it working, i did two things:
one, i went in to C/appdata/blender/addons and removed the AnimationNodes folder from there, and i also redownloaded vc_redist for the third time, but this time i installed as administrator.
Im not sure which one of those cracked it, but at least it works!
Can't enable the addon (git 9d39fa7) in Blender 2.83 alpha:
Traceback (most recent call last):
File "/home/etaernis/blender-git/build_linux/bin/2.83/scripts/modules/addon_utils.py", line 330, in enable
importlib.reload(mod)
File "/home/etaernis/blender-git/build_linux/bin/2.83/python/lib/python3.8/importlib/init.py", line 169, in reload
_bootstrap._exec(spec, module)
File "", line 604, in _exec
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/etaernis/.config/blender/2.83/scripts/addons/animation_nodes/init.py", line 166, in
auto_load.init()
File "/home/etaernis/.config/blender/2.83/scripts/addons/animation_nodes/auto_load.py", line 23, in init
modules = get_all_submodules(Path(file).parent)
File "/home/etaernis/.config/blender/2.83/scripts/addons/animation_nodes/auto_load.py", line 51, in get_all_submodules
return list(iter_submodules(directory, directory.name))
File "/home/etaernis/.config/blender/2.83/scripts/addons/animation_nodes/auto_load.py", line 55, in iter_submodules
yield importlib.import_module("." + name, package_name)
File "/home/etaernis/blender-git/build_linux/bin/2.83/python/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/etaernis/.config/blender/2.83/scripts/addons/animation_nodes/nodes/gpencil/gp_frame_from_strokes.py", line 5, in
from ... data_structures import GPFrame
ImportError: cannot import name 'GPFrame' from 'animation_nodes.data_structures' (/home/etaernis/.config/blender/2.83/scripts/addons/animation_nodes/data_structures/init.py)
@eTaernis I can't replicate the issue. Can you manually remove the animation_nodes
folder in /home/etaernis/.config/blender/2.83/scripts/addons/
then reinstall the addon?
@OmarEmaraDev That did not work, so I deleted everything, re-cloned the repo and compiled, now it works - thank you! git status did not show any problems, but it seems like there was something wrong with extranodes - sorry, my bad.
- removed animation nodes
- downloaded
animation_nodes_v2_1_macOS_py37.zip
from https://animation-nodes.com/#download - tried to install it, but it fails silently
console says:
fake_module: addon missing 'bl_info' gives bad performance!: '/Users/freder/Library/Application Support/Blender/2.82/scripts/addons/operators.py'
Traceback (most recent call last):
File "/Applications/blender.app/Contents/Resources/2.82/scripts/startup/bl_operators/userpref.py", line 690, in execute
shutil.copyfile(pyfile, path_dest)
File "/Applications/blender.app/Contents/Resources/2.82/python/lib/python3.7/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
IsADirectoryError: [Errno 21] Is a directory: '/Users/freder/Downloads/'
- blender 2.82
- macos 10.14.6
UPDATE:
I had tried β a number of times; and now it worked all of the sudden.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hey @JacquesLucke could you please upload version 2.1 compiled with python 3.7 for linux also? I'm having an issue when trying to compile it myself Cython is not installed for this Python version
. Despite having installed Cython for python 3. I'm on Ubuntu 19.04.
@jack1223233244 The builds we offer are already compiled for 3.7:
https://animation-nodes.com/
@OmarEmaraDev The "v2.1 Blender 2.7x*" and "v2.0 Blender 2.7x" builds seem to have been compiled for version 3.6.
@jack1223233244 The 2.7x series used 3.6, so that's why we built against Python 3.6.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
hi. sorry strange english. i used blender2.79 latest release. 2019-06-27 so blender latest official version.
i can't install animation node. on you site or github have animation node, 2.1 and 2.0. that is py36 or 3.5.3 for linux or other OS. you said blender 2.7x no need py37. that different. i get to install is error.
your blender build uses3.7.0 animation node has been compiled for 3.5.3
ok i searched solved method. but no where explanation link and no how to answer for 2. compile animation nodes yourself using the correct python version.
blender 2.79 latest, animation node is need py37. but how get to py37 animation node for blender27 on linux ubuntu20.04?
@ferweer I guess you have the same issue as #1452?
@OmarEmaraDev yea maybe? but that is blender2.8. and i don't know how install python3.7 and libpython3.7. my ubuntu system python to 3.8.2.
and i try researched how compile animation node to blender2.7 in linux. but first. i resolved this issue.
1 i found can install animation node for blender2.79 last official build
Animation Nodes + Extra Nodes for Blender 2.79 - Linux OS
so i think. you can add this download link to you site download page. i couldn't find this result yesterday ago.
2 i found to how to compile animation node for blender2.79 and linux?
Setup Environment on Windows
yes that version for windows OS. no result on linux page. but i did this.
sudo apt install cython3
that command in animation node sources directory.
python3 setup.py build --export --noversioncheck
but have problems, made animation node to version py38. =(
latest blender2.79 is python3.7. ok i checked python3.7 install. but sorry i tired for altinstall doesn't work on my system. method is Python-3.7.5.tgz using.
sudo make altinstall
but doesn't help anymore. you can get error on ubuntu 20.04.
make: *** No rule to make target 'altinstall'. Stop.
so if any people want to animation node on blender2.79 in ubuntu 2x.xx. that use python 3x,4x. that need must build. for blender2.79 on python3x,4x. or wait for new animation node version with new python. i can't build blender, because i get build error. but i try maybe sometimes. sorry longer text.
@shridhar2011 Did you check the section about Ubuntu above?
@shridhar2011 Did you check the section about Ubuntu above?
Yes but no use. Same issue.
I am new to ubuntu so probabally i did something wrong.
But i have installed this as above.
[Ubuntu
Ubuntu users may install libpython3.x from the deadsnakes PPA using the following commands. (Making sure to replace x with
the target version.)
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update -y && sudo apt upgrade
sudo apt install libpython3.x]
and my terminal shows python3.7 is already the newest version (3.7.8-1+focal1)
Please help.
@shridhar2011 Did you make sure to replace the x
in libpython3.x
? It should be:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update -y && sudo apt upgrade
sudo apt install libpython3.7
@shridhar2011 Does this command find /usr/lib/ -name 'libpython*.so'
print anything?
libpython3.7
is obviously not there. Can you execute those again and show us the output?
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update -y && sudo apt upgrade
sudo apt install libpython3.7
@3DSinghVFX Can you look into this?
@3DSinghVFX Can you look into this?
Okay.
@shridhar2011 Hi. What version of Animation Nodes are you using for Blender 2.79 and Blender 2.83?
@3DSinghVFX
Ubuntu Studio 18.04 - Blender 2.79 - Animation Nodes - v2.1 for Blender 2.79 (Python 3.7) - https://blender.community/c/graphicall/vdbbbc/ [https://blender.community/5cfaa62b5996560e48f0fc58/download/5e0f50e79c12211d51eb46b7] - Animation Nodes + Extra Nodes for Blender 2.79 - Linux OS
Ubuntu Studio 18.04 - Blender 2.83.4 - Animation Nodes - v2.1 for Blender 2.83 LTS (Python 3.7) - Link https://blender.community/c/graphicall/tdbbbc/ [https://blender.community/5cfaa3695996560e73217cf2/download/5f2fb6ef9c122148adbc8fb5] - Animation Nodes + Extra Nodes for Blender 2.83 - Linux OS
@shridhar2011 I have tested those builds for Blender 2.79 and Blender 2.83 on Ubuntu 16.04, they are working.
Did you remove the old AN before installation?
Did you try the latest build of AN https://github.com/JacquesLucke/animation_nodes/releases/tag/v2.1-for-blender-v2.83-cd-build?
Can you please run the Blender from the terminal, and show the screenshot of the terminal (error)?
@shridhar2011 I think you're using 32-bit OS, is it?
We no longer maintain builds for Blender 2.79.
For Blender 2.83+:
- Does the error occur?
- Is
libpython3.7
installed? - What does
ldd test_compile.cpython-37-x86_64-linux-gnu.so
print? This file is available in the root of the Animation Nodes add-on directory.
I had the same "This build does not work at the moment" error on a linux system running python3.8.
The problem is that you need to compile AN with python3.7, and even though the official blender builds come with their own python3.7, they lack libpython3.7m.so.1.0, which is required by test_compile.
In other words, the only way to have AN running on a linux system is to have python3.7 installed, plus blender and its own python3.7.
"Animation Nodes needs the python dynamic library in order to work. Install python3.x or/and libpython3.x from your package manager of choice."
This is not entirely correct: you need python3.7 and not python3.x.
Luckily in my system libreoffice comes with libpython3.7m.so.1.0 so I just run this command to have AN working:
ln -s /usr/lib64/libreoffice/program/libpython3.7m.so.1.0 /usr/lib64/libpython3.7m.so.1.0
just a workaround.
Anyway the AN developers should fix this problem or stop distributing builds that work only in a specific environment (it is not really nice to have this page, a closed issue, indicated in the manual as a guide for troubleshooting a problem which has not been even addressed).
Hope this helps,
andrea
ps: this part of the error message is funny, though: "It is possible that you have a build for the correct platform but it still does not work. We experienced this mainly on linux."
Yes, that is correct. The right steps that worked for us:
- Download v2.1 for Blender 2.83 LTS (Python 3.7) and add in add on folder
- Install python 3.7 but you would need to change bashrc to make it use only 3.7. Else, it doesn't work
- Install libpython3.7
- ./blender -b --python-console
- Import bpy
- bpy.ops.preferences.addon_install(filepath='animation_nodes/init.py')
- bpy.ops.preferences.addon_enable(module='animation_nodes')
The latest version of AN 2.2 cant be installed with 2.91 on Linux (Debian). Blender 2.83 and AN LTS version works on the same system so it seems to me that either Blender 2.91 is the issue or AN 2.2 compilation is the issue, at least on Debian Sid.
@gerroon Any errors? How is it not working exactly?
Hi sorry i did not provide an error
I get pretty much the same thing OP gets except that it is for 2.91
https://user-images.githubusercontent.com/30294746/70368976-3fc37c80-18d8-11ea-8f99-337d9c5423cd.png
@gerroon Do you have libpython3.7
installed? Is it linked correctly?
Debian Testing does not come with libpython3.7 unfortunately nowadays, and I looked around to see how I can get it, it seems not easy to install it without breaking stuff.
In any case though, if libpython is the issue how come AN 2.1 (Python3.7) LTS works with 2.83 on the same system? These are still Python3.7
I am using Blender zip installs, not systemwide install so it is using Blender's own Pyt distribution.
@gerroon Can you try the AN 2.1 version with Blender 2.91? It should work. That should tell us if the problem is about Blender or AN.
2.1 works in 2.91 Linux Beta
It is still not loading
Read prefs: /home/USER/.config/blender/2.91/config/userpref.blend
found bundled python: /home/USER/Downloads/blender-2.91.0-edf4378c442a-linux64/2.91/python
Registered Animation Nodes
Unregistered Animation Nodes
Writing userprefs: '/home/USER/.config/blender/2.91/config/userpref.blend' ok
addon_utils.disable: animation_nodes not loaded
Modules Installed (animation_nodes) from '/home/USER/Downloads/test/animation_nodes_v2_2_linux_py37.zip' into '/home/USER/.config/blender/2.91/scripts/addons'
module changed on disk: '/home/USER/.config/blender/2.91/scripts/addons/animation_nodes/__init__.py' reloading...
Traceback (most recent call last):
File "/home/USER/Downloads/blender-2.91.0-edf4378c442a-linux64/2.91/scripts/modules/addon_utils.py", line 330, in enable
importlib.reload(mod)
File "/home/USER/Downloads/blender-2.91.0-edf4378c442a-linux64/2.91/python/lib/python3.7/importlib/__init__.py", line 169, in reload
_bootstrap._exec(spec, module)
File "<frozen importlib._bootstrap>", line 630, in _exec
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/USER/.config/blender/2.91/scripts/addons/animation_nodes/__init__.py", line 166, in <module>
auto_load.init()
File "/home/USER/.config/blender/2.91/scripts/addons/animation_nodes/auto_load.py", line 23, in init
modules = get_all_submodules(Path(__file__).parent)
File "/home/USER/.config/blender/2.91/scripts/addons/animation_nodes/auto_load.py", line 51, in get_all_submodules
return list(iter_submodules(directory, directory.name))
File "/home/USER/.config/blender/2.91/scripts/addons/animation_nodes/auto_load.py", line 55, in iter_submodules
yield importlib.import_module("." + name, package_name)
File "/home/USER/Downloads/blender-2.91.0-edf4378c442a-linux64/2.91/python/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 670, in _load_unlocked
File "<frozen importlib._bootstrap>", line 583, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 1043, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@gerroon I don't understand why 2.2 doesn't work while 2.1 does. But the problem seems to be clear. libpython3.7
needs to be available. I don't use Debian unfortunately, so I can't help with the installation procedure. Maybe somebody else can help with this.
@gerroon Did you ever get animation nodes working 2.1 or 2.2? It no longer works with Ubuntu 20.04 and the new Blender 2.91.0 (final) Everyone says everyone else needs to include libpython3.7 but no one wants to include it. I've asked Blender, Snap, Flatpak, and AN. Not sure what changed so drastically to cause such an issue. (Installing python ppa's are known to break more than it fixes)
Issue: with history
#1595
@stillpointx You need to build libpython3.7 yourself unfortunately. I am also not sure why this sudden need occured.
@gerroon thanks for the information, that's really unfortunate, oh well it was fun while it lasted (I guess all things must come to an end ahhh 2020 just keeps getting better) not many people will know how to build libpython3.7 (me being one) .
@3DSinghVFX Do you know if Animation Nodes + Extra Nodes has the same issues / requirements to build libpython3.7 to work in Ubuntu 20.04 and Blender 2.91.0?
@stillpointx Hi...
If Blender 2.91 is using Python 3.7 (that comes with the build) on Ubuntu 20.04 LTS (has Python 3.8), then you need to build Animation Nodes.
So, to build AN,
- Install the Anaconda (Python 3.8).
- Create a new environment (say myenv) and activate the myenv.
- Then install Python 3.7 and Cython using the conda commands.
- Now, go to the AN source code directory and build AN using the command
python3.7 setup.py build --export
. - Do step 4 to build AN+EN.
WOW!!! that is a lot. Something major must have changed (Due to the fact that Animation Nodes works with Ubuntu 20.04 and Blender 2.8x "out-of-the-box" but not with Ubuntu 20.04 and Blender 2.9x).
I am using Blender 2.9 I have created successfully downloaded and utilized the animation nodes add on to create an animation, however whenever I hit the render button Blender crashes, I have a RTX 2070 and am saving the image sequence to a brand new 8TB external hard drive so I know the hardware is not the issue, furthermore the crash file indicates there is an issue with the add on, and I have no problems rendering when the add on is disabled via preferences. Any help troubleshooting so I can actually render what I have created using the add on?
thanks,
Halluc1nations
Stuck in Limbo here, Omar.
Installing on 2.92: Animation Nodes requires minimum 2.93.!! What?
But latest 2.93 all failed to install AN or SV for that matters. Then I can't really use Animation Nodes.
I had the same problem. Manjaro install Blender 2.92 with Python 3.9. I tried to compile AN it myself and it worked, but ask me for blender 2.93. Is there a place where I can change than number version to add 2.92?
Thanks!
Thanks @OmarEmaraDev Compilation worked and now it didn't complain about the version, but I have this error:
AttributeError: module 'bpy.props' has no attribute '_PropertyDeferred'
I imagine that's because that property is new to the API on 2.93. Is there any way in which I can compile a version for 2.92 with Python 3.9?
Thanks!
It passed that problem, but there were other one:
ValueError: bpy_struct "an_FontSocket"registration error: display could not register
Don't worry, I will wait until versions get aligned.
Thanks!
Update: I done it. Just download 2.2 from the tag, and compiled it again with python 3.9. I still cannot tested too much, just see the panel and the menu. Thanks for all your help and your work
Can anybody send me a link or explain me, how i can compile AN myself on a mac?
@luckychris Just install Cython
, then execute python setup.py build --export --noversioncheck
. This will create a zip file that you can install.
@byjosue Is this with latest Blender daily build?
Yes, I was using the latest, after that I tried uninstalling and installing animation nodes and tried various builds of animation nodes, one of them worked. Thanks for the help anyway
@luckychris Just install
Cython
, then executepython setup.py build --export --noversioncheck
. This will create a zip file that you can install.
thanks omar, that was very helpful. I did this now myself and it worked but was a lot of work for someone, who never made this. Just a proposal: Why don't you provide compiled versions of animation nodes for different python versions? I think for you it is just one setup more for automated build, isn't it? I think not every artist/user of blender is capable in doing this and maybe not willing to do it. And if you would have provided it i bet you would even have more users of your amazing animation nodes which is really fantastic - but in my case - hard to install at all.
@luckychris Just install
Cython
, then executepython setup.py build --export --noversioncheck
. This will create a zip file that you can install.thanks omar, that was very helpful. I did this now myself and it worked but was a lot of work for someone, who never made this. Just a proposal: Why don't you provide compiled versions of animation nodes for different python versions? I think for you it is just one setup more for automated build, isn't it? I think not every artist/user of blender is capable in doing this and maybe not willing to do it. And if you would have provided it i bet you would even have more users of your amazing animation nodes which is really fantastic - but in my case - hard to install at all.
and believe it or not ...your "just install cython and..." took me 3 hours to do so and i had some errors messages in between which let my hair turn even more gray....
@luckychris We have versions for 3.7, 3.8, and 3.9. I don't think anyone uses older versions, so I think those are enough.
After runningpython setup.py build --export --noversioncheck
, I get this error:
File "setup.py", line 40
addonName, *addonVersion[:2], currentOS, *sys.version_info[:2])
^
SyntaxError: invalid syntax
Cython and gcc are installed. Same thing happens if I use sudo
. Thanks for the help!
@scottdmilner hmmm, I am not sure to be honest. Seems like a correct syntax as far as I can tell. Which python version is this?
@OmarEmaraDev That's the issue, haha. Using Python 3 on MacOS is a bit of a weird setup right now, so I went through and aliased everything to my Python 3 installation and it worked fine.
@scottdmilner Maybe python is actually a symlink to python2 or something. Anyways, good to see it worked.
Yes, I was using the latest, after that I tried uninstalling and installing animation nodes and tried various builds of animation nodes, one of them worked. Thanks for the help anyway
do you happen to know which build it was? I'm getting the same issue.
@GoldenAdrien That's probably because that build is for x86 Mac. You need an Arm build for the M1 Mac. There is an official arm build here: https://animation-nodes.com/#download
What is weird is that it was working until it randomly corrupted yesterday
Hi, I can't get the Animation Nodes to install on Blender 3.1.2 at all (Intel based Mac OS12.4) https://animation-nodes.com/#download. The reason seems be this version of Blender uses Python 3.10.2 and the latest Animation Nodes only supports Python 3.9.7. An error message shows on attempt to install.
Is there a version in development?
A number of 3rd party add ons seem reliant on this AN add on, and I've got stuck.
@MetalAdvatar The "Latest" version in the download section uses 3.10, so this should work. You probably downloaded the LTS version, which is 3.9.
Thank you Omar! That sorted it. I was trying to install the the LTS version.
It was just a UX issue from the website, it looked like there were only 2 downloads under "Latest", although I should have twigged there were actually 3 download buttons.
PS. Sorry I only notice this discussion was actually closed after commenting, but thank you for your reply. That was most helpful.
Hey hello !
I tried installing it today and I got a different message since 3.10 isn't the issue anymore.
Appreciate any help
<3
@AssezAC I am guessing you are on MacOS. Are you on x86 or an Arm one? Did you make sure to download the appropriate version for Mac?
@OmarEmaraDev I'm on an M1 so ARM right ? I couldn't find any choice, just the "latest" button which is 2.3 I guess...
@OmarEmaraDev You sir are a lifesaver. Thank you so much and sorry I couldn't find it by myself !
Operating system - OpenBSD 7.1
- The pre-built release for Linux doesn't install - wrong OS
- Haven't found info on how to build manually on https://animation-nodes.com/ and https://docs.animation-nodes.com/ and https://github.com/JacquesLucke/animation_nodes
animation_nodes-2.2-for-blender-v2.93-cd-build.tar.gz
doesn't look like having some sort of install/build file- Cloned repo, tried
setup.py
> python3 setup.py help
Traceback (most recent call last):
File "/tmp/animation nodes/animation_nodes-master/setup.py", line 19, in <module>
from _setuputils.generic import *
File "/tmp/animation nodes/animation_nodes-master/_setuputils/generic.py", line 17, in <module>
raise Exception("unknown OS")
Exception: unknown OS
running ./setup.py help
freezes display - GUI restart needed
running ./setup.py help
from tty:
> ./setup.py help
import: unable to open X server `' @ error/import.c/ImportImageCommand/347.
import: unable to open X server `' @ error/import.c/ImportImageCommand/347.
import: unable to open X server `' @ error/import.c/ImportImageCommand/347.
import: unable to open X server `' @ error/import.c/ImportImageCommand/347.
import: unable to open X server `' @ error/import.c/ImportImageCommand/347.
./setup.py[8]: syntax error: `(' unexpected
@Veraellyunjie Looks like we don't support OpenBSD, not sure if that requires any special handing somewhere or can just be enabled. The last errors are because you are executing the python script as a shell script, which invokes the imagemagick import program.
Can you open a separate issue for OpenBSD support or submit a patch if you can?
Hello, I'm sorry for sending this in but, I have a few questions. First I'm running the M1 mac desktop and I looking to do a walk cycle and tried mixamo and tried to add a few animations together so I could walk, stop, and turn around but, for some reason all the methods I've found on YouTube don't work on my Mac. I thought about downloading Blender on the arm (Windows 11) but, I didn't thnk it would work. Any ideas? Again I am sorry for asking (I am noob)
@Rochichi Are you asking specifically about Animation Nodes or Blender?
For Blender, just download the "Apple Silicon" image from here. https://builder.blender.org/download/daily/