Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'wx._core' #92

Open
2 tasks done
elecu opened this issue Nov 24, 2022 · 0 comments
Open
2 tasks done

ModuleNotFoundError: No module named 'wx._core' #92

elecu opened this issue Nov 24, 2022 · 0 comments

Comments

@elecu
Copy link

elecu commented Nov 24, 2022

Checklist

  • I use the latest release of atbswp
  • The issue is not existing yet

Verbose log

I don't have it yet, the issue is with installation. 

Miscellaneous information

Operating System

Fedora Linux 36 (Workstation Edition)

Desktop Environment/Window Manager

Gnome 42.4 with X11

Python version

Python 3.9.12

Description

I'm trying to install it.
Works well:
sudo dnf install python3-wxpython4 python3-xlib python3-tkinter
git clone https://github.com/RMPR/atbswp.git && cd atbswp

sudo make prepare-dev (I was not using sudo and it showed me the error:

WARNING: Package(s) not found: wxPython
./bin/python ./atbswp/atbswp.py
Traceback (most recent call last):
File "/home/xxx/atbswp/./atbswp/atbswp.py", line 21, in
import gui
File "/home/xxx/atbswp/atbswp/gui.py", line 27, in
import control
File "/home/xxx/atbswp/atbswp/control.py", line 37, in
from custom_widgets import SliderDialog
File "/home/xxx/atbswp/atbswp/custom_widgets.py", line 20, in
import wx
ModuleNotFoundError: No module named 'wx'
make: *** [Makefile:54: run] Error 1

But with sudo it worked.

However with sudo make run or just make run I got this output:

./bin/python ./atbswp/atbswp.py
Traceback (most recent call last):
File "/home/xxx/atbswp/./atbswp/atbswp.py", line 21, in
import gui
File "/home/xxx/atbswp/atbswp/gui.py", line 27, in
import control
File "/home/xxx/atbswp/atbswp/control.py", line 37, in
from custom_widgets import SliderDialog
File "/home/xxx/atbswp/atbswp/custom_widgets.py", line 20, in
import wx
File "/home/xxx/atbswp/lib/python3.9/site-packages/wx/init.py", line 17, in
from wx.core import *
File "/home/xxx/atbswp/lib/python3.9/site-packages/wx/core.py", line 12, in
from ._core import *
ModuleNotFoundError: No module named 'wx._core'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant