-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
An updated Fedora 35 runs Python 3.10, but the Sunflower RPM installs the module specifically to /usr/lib/python3.9/site-packages.
Actual behavior:
- When launched from the GUI, the application never appears.
- When launched from a fresh Terminal session, the following error appears:
$ sunflower
Traceback (most recent call last):
File "/usr/local/bin/sunflower", line 4, in <module>
runpy.run_module('sunflower', run_name='__main__', alter_sys=True)
File "/usr/lib64/python3.10/runpy.py", line 205, in run_module
mod_name, mod_spec, code = _get_module_details(mod_name)
File "/usr/lib64/python3.10/runpy.py", line 140, in _get_module_details
raise error("No module named %s" % mod_name)
ImportError: No module named sunflower
The following workaround is confirmed to work:
sudo ln -s /usr/lib/python3.9/site-packages/sunflower /usr/lib/python3.10/site-packages/
Expected behavior:
The rpm may have to have scripting or a separate package for different Python versions.
Metadata
Metadata
Assignees
Labels
No labels