missing numpy

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
fluid
Posts: 2
Joined: Sat Nov 14, 2020 4:43 pm

missing numpy

Post by fluid »

Hi, I am a newby to 3D modelling and have used FreeCAD to make some simple models for a 3D printer. I am learning. However when I start up FreeCAD I always get the message
During initialization the error "No module named 'numpy'" occurred in /home/charles/.FreeCAD/Mod/drawing_dimensioning/InitGui.py
Please look into the log file for further information

and the log file gives some more details:
Log: Init: Initializing /home/charles/.FreeCAD/Mod/drawing_dimensioning... failed
Log: ----------------------------------------------------------------------------------------------------
Log: Traceback (most recent call last):
File "<string>", line 131, in InitApplications
File "<string>", line 1, in <module>
File "/home/charles/.FreeCAD/Mod/drawing_dimensioning/drawingDimensioning/__init__.py", line 1, in <module>
from .proxies import *
File "/home/charles/.FreeCAD/Mod/drawing_dimensioning/drawingDimensioning/proxies.py", line 3, in <module>
from numpy.linalg import norm
ModuleNotFoundError: No module named 'numpy'
/

Using the Opensuse Linux installer yast2, I have installed numpy (it was not) which I can now find under /usr/lib64/python3.8/site-packages/numpy. However the error message remains. So far, everything I have used in FreeCAD seems to be working nevertheless.

This is on
OS: openSUSE Leap 15.2 (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.Unknown
Build type: Release
Python version: 3.6.10
Qt version: 5.12.7
Coin version: 3.1.3
OCC version: 7.5.1
Locale: English/United States (en_US)


which is a bit odd, as my python version is "> python --version Python 3.8.10". FreeCAD has been downloaded in binary form from "vendor obs://build.opensuse.org/science (installed)". Actually, on my system there still is an older python version installed, but that is "Python 3.6.13". Would that imply that the downloaded FreeCAD binary has some hard-coding embedded?

Thank you for any suggestion,

Charles
Post Reply