FS#72273 - [cura] No module named UM issue

Attached to Project: Community Packages
Opened by levi dehaan (levidehaan) - Tuesday, 28 September 2021, 13:56 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 28 September 2021, 17:46 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: wont start, missing python library

>cura
Traceback (most recent call last):
File "/usr/bin/cura", line 21, in <module>
from UM.Platform import Platform
ModuleNotFoundError: No module named 'UM'


Steps to reproduce:

Install Cura with pacman/yay and try to run.

Attemps to fix:
reinstalled several times, installed community/uranium which is the dependency it's missing but it's not ending up in the python packages repo or something because it still fails to find UM. i tried installing uranium using Anaconda, PIP, and by hand. nothing is working to get cura running, i just run into the same error.
i installed using yay and pacman, neither was able to fix the issue.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 28 September 2021, 17:46 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Tuesday, 28 September 2021, 15:04 GMT
Post the output of

python -c "import UM; print (UM.__file__)"

and

pacman -Qkk uranium
Comment by levi dehaan (levidehaan) - Tuesday, 28 September 2021, 17:25 GMT
>python -c "import UM; print (UM.__file__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'UM'

>pacman -Qkk uranium
uranium: 420 total files, 0 altered files
Comment by Antonio Rojas (arojas) - Tuesday, 28 September 2021, 17:35 GMT
And 'which python'?
Comment by levi dehaan (levidehaan) - Tuesday, 28 September 2021, 17:41 GMT
oh my, geez, sorry about that.

it was using anaconda, i am activating in my profile, i deactivated the env and cura runs from bash just fine.

Thanks for your time Antonio

Loading...