ModuleNotFoundError: No module named 'variety'

Bug #1979842 reported by Miguel Rozsas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Variety
New
Undecided
Unassigned

Bug Description

variety return the following error message on execution:

$ variety
Traceback (most recent call last):
  File "/usr/bin/variety", line 64, in <module>
    import variety # isort:skip
ModuleNotFoundError: No module named 'variety'
$ rpm -qf /usr/bin/variety
variety-0.8.5-3.1.noarch
$ python3 -V
Python 3.10.5
$

My system info:
Operating System: openSUSE Tumbleweed 20220623
KDE Plasma Version: 5.25.1
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.2
Kernel Version: 5.18.4-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.

Revision history for this message
Miguel Rozsas (marozsas) wrote :

I just guessed it could be a python 3.10 problem.
In fact, changing the default interpreter to #!/usr/bin/python3.8 -s in the first line, was enough to get it working again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.