LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2024, 09:51 PM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Rep: Reputation: 271Reputation: 271Reputation: 271
ModuleNotFoundError: No module named 'solaar'


I downloaded the lastest 'solaar' SBo package, installed it, when I run solaar I get:
Quote:
Traceback (most recent call last):
File "/usr/bin/solaar", line 54, in <module>
import solaar.gtk
ModuleNotFoundError: No module named 'solaar'
Does this mean python is looking for a moduled named solaar.gtk?

I searched the Internet, found no useful responses.

Last edited by RandomTroll; 04-21-2024 at 10:32 PM.
 
Old 04-22-2024, 02:46 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
solaar.gtk is most probably a submodule of solaar.
 
Old 04-22-2024, 09:31 AM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by pan64 View Post
solaar.gtk is most probably a submodule of solaar.
It isn't part of the Solaar package. I haven't found it elsewhere. One of the hits of a search says it isn't, but offers no alternative.
 
Old 04-22-2024, 09:41 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
https://archlinux.org/packages/extra/any/solaar/
/usr/lib/python3.11/site-packages/solaar/gtk.py is a file in the package. But I don't know what did you download and if that gtk.py is really there. Or you have made a mistake somewhere.
You can find it here too: https://github.com/pwr-Solaar/Solaar.../solaar/gtk.py
 
Old 04-22-2024, 02:02 PM   #5
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 281

Rep: Reputation: 32
Quote:
Originally Posted by RandomTroll View Post
It isn't part of the Solaar package. I haven't found it elsewhere. One of the hits of a search says it isn't, but offers no alternative.
On one of my installations I ran into OP's situation. I had chosen to install solaar without solaar-gtk that also popped up in my search and the gtk pkg was not listed as a dependency of solaar. Once I installed solaar-gtk I had no problem with solaar. But solaar-gtk lists solaar as a dependency so if you go to install that first thing it will bring in solaar automatically.

Not sure which of my 4 installs it is but I remember the description of the gtk version being so vague I thought it best to try just solaar but that particular DE required the gtk pkg to function.
 
Old 04-23-2024, 12:36 AM   #6
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by pan64 View Post
But I don't know what did you download and if that gtk.py is really there.
I downloaded the solaar package from slackbuilds.org. I have gtk.py the same place you do. Is it not being found? Is there a defect in my environment?

Quote:
Originally Posted by Nishtya View Post
On one of my installations I ran into OP's situation. I had chosen to install solaar without solaar-gtk that also popped up in my search and the gtk pkg was not listed as a dependency of solaar. Once I installed solaar-gtk I had no problem with solaar. But solaar-gtk lists solaar as a dependency so if you go to install that first thing it will bring in solaar automatically.
Hmmm... The only hit I got when I searched on "solaar-gtk" is this message. There's nothing in Slackware or on slackbuilds.
 
Old 04-25-2024, 08:36 PM   #7
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Solaar installed its libraries in /lib/python3.11/site-packages; all my other python software installed them in /usr/lib64/python3.11/site-packages. After I moved them solaar runs. It still doesn't find my Logitech unifying transceivers and their attached devices - but that's a different problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I get the ModuleNotFoundError: No module named 'virtManager' error compiling a custom libvirt-python+virt-manager stack marietto Ubuntu 4 06-03-2021 05:10 PM
[SOLVED] python3, pycharm ModuleNotFoundError: No module named 'wx' kaz2100 Linux - Software 3 05-25-2021 06:02 PM
[SOLVED] ModuleNotFoundError: No module named 'html.entities'; 'html' is not a package (python3 error) kaz2100 Linux - Software 3 05-25-2021 12:48 AM
[SOLVED] apt install broken - ConfigParser import SafeConfigParser ModuleNotFoundError: No module named 'ConfigParser' anon052 Linux - Newbie 16 08-06-2020 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration