'Install numpy for blender
I'm having a hard time exporting my blender model to glTF 2.0 format (for godot):
(I still can export it to default .dae format)
So, I tried installing numpy for all of my python3 versions (python3, python3.6, python3.9) :
python<versions> -m pip install numpy
After restarting blender, I still have this message.
I tried using blender integrated python (3.9) shell to install numpy, with no more luck:
What do I do now?
Solution 1:[1]
The following reply from GitHub did it for me!
sudo apt -y install python3-numpy
I installed Blender via Ubuntu (deb)
from the Pop!_Shop on Pop OS.
Solution 2:[2]
- Install python3.2
- Install numpy for python3.2 using the python3.2 command instead of python
- on my system numpy was located in /usr/local/lib/python3.2/dist-packages. Copy numpy from there to blender/2.57/scripts/modules
Solution 3:[3]
Actually blender has built-in python module and usually it contains Numpy.
In case you want to make sure, blender's python module can be found in /blender/<BUILD_VERSION>/<BLENDER_VERSION>/python/bin/pythonX
.
Thus install Numpy with system python won't work.
For example if you install blender with snap recently.
python path will be /snap/blender/206/2.93/python/bin/python3.9
I would recommend install blender again with another way.
remove current blender sudo dpkg -r blender
snap sudo snap install blender --classic
then cd /snap/blender/2106
(number may differ depending on version) and './blender' in terminal to run blender
How did you install your blender by the way?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | s-gbz |
Solution 2 | abdur rohim |
Solution 3 | narratorjay |