Hello world!
Having some launch problems for Cura on Archlinux32 5.3.1-arch1-1.0-ARCH, it's possibly Python related, has anybody seen anything similar:
$ cura
/bin/cura:48: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
linux_distro_name = platform.linux_distribution()[0].lower()
Error in sys.excepthook:
Traceback (most recent call last):
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 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/lib/python3.7/site-packages/cura/CuraApplication.py", line 37, in <module>
from cura.Arranging.Arrange import Arrange
File "/usr/lib/python3.7/site-packages/cura/Arranging/Arrange.py", line 6, in <module>
from UM.Math.Polygon import Polygon
File "/usr/lib/python3.7/site-packages/UM/Math/Polygon.py", line 10, in <module>
from UM.Math import ShapelyUtil
File "/usr/lib/python3.7/site-packages/UM/Math/ShapelyUtil.py", line 6, in <module>
import shapely.geometry
File "/usr/lib/python3.7/site-packages/shapely/geometry/__init__.py", line 4, in <module>
from .base import CAP_STYLE, JOIN_STYLE
File "/usr/lib/python3.7/site-packages/shapely/geometry/base.py", line 17, in <module>
from shapely.coords import CoordinateSequence
File "/usr/lib/python3.7/site-packages/shapely/coords.py", line 8, in <module>
from shapely.geos import lgeos
File "/usr/lib/python3.7/site-packages/shapely/geos.py", line 76, in <module>
free = load_dll('c').free
File "/usr/lib/python3.7/site-packages/shapely/geos.py", line 56, in load_dll
libname, fallbacks or []))
OSError: Could not find lib c or load any of its variants [].
Original exception was:
Traceback (most recent call last):
File "/bin/cura", line 132, in <module>
import cura.CuraApplication
File "/usr/lib/python3.7/site-packages/cura/CuraApplication.py", line 37, in <module>
from cura.Arranging.Arrange import Arrange
File "/usr/lib/python3.7/site-packages/cura/Arranging/Arrange.py", line 6, in <module>
from UM.Math.Polygon import Polygon
File "/usr/lib/python3.7/site-packages/UM/Math/Polygon.py", line 10, in <module>
from UM.Math import ShapelyUtil
File "/usr/lib/python3.7/site-packages/UM/Math/ShapelyUtil.py", line 6, in <module>
import shapely.geometry
File "/usr/lib/python3.7/site-packages/shapely/geometry/__init__.py", line 4, in <module>
from .base import CAP_STYLE, JOIN_STYLE
File "/usr/lib/python3.7/site-packages/shapely/geometry/base.py", line 17, in <module>
from shapely.coords import CoordinateSequence
File "/usr/lib/python3.7/site-packages/shapely/coords.py", line 8, in <module>
from shapely.geos import lgeos
File "/usr/lib/python3.7/site-packages/shapely/geos.py", line 76, in <module>
free = load_dll('c').free
File "/usr/lib/python3.7/site-packages/shapely/geos.py", line 56, in load_dll
libname, fallbacks or []))
OSError: Could not find lib c or load any of its variants [].
Running Python 3.7.4, and glibc 2.29-4.43, make and cmake is also installed along with all other listed requirements from https://www.archlinux.org/packages/community/any/cura/. libc.so, libc.so.6 is located under /usr/lib/, I have also added this location to the $PATH variable. Is Cura calling the libc from some other location?
Don't feel like posting this as a bug just yet, seeing that it's an older version of Cura, but has anyone encountered this?