itm wrote: 
> If I try to run it without installing I get:
> > 
Code:
--------------------
  >   > ./whatlastgenre                                                        
  > /usr/bin/env: ‘python’: No such file or directory
--------------------
> > 
> 
> I have Python v3.8 installed.
> 
> Edit: When I tried to follow the Python installation instructions from
> the Github page I got this:
> > 
Code:
--------------------
  >   > $ sudo apt-get install python-mutagen python-requests                   
 
  > Reading package lists... Done
  > Building dependency tree       
  > Reading state information... Done
  > Package python-mutagen is not available, but is referred to by another 
package.
  > This may mean that the package is missing, has been obsoleted, or
  > is only available from another source
  > However the following packages replace it:
  > python3-mutagen
  > 
  > E: Package 'python-mutagen' has no installation candidate
  > E: Unable to locate package python-requests
--------------------
> > 

Have you tried installing python3-mutagen as suggested?

Code:
--------------------
    sudo apt-get install python3-mutagen 
--------------------

If you install the dependencies as system packages, don't run setup,
just execute the script directly
If you cannot get it to work that way, use a virtual environment
eg

Code:
--------------------
    python3.8 -m venv --system-site-packages ~/appdata/whatlastgenre
  source ~/appdata/whatlastgenre/bin/activate
  pip install mutagen requests
  ./whatlastgenre
--------------------



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Text
Interface | Playlist Editor / Generator | Music Classification | Similar
Music | Announce | EventTrigger | Ambient Noise Mixer | DB Optimizer |
Image Enhancer | Chiptunes | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=116211

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to