u/Kratos1634

I must start off by saying I am fairly green to programming as a whole. So please treat me like I know nothing. I have run into an error when trying to run “sudo nxbt demo”, I received the following:

File “usr/local/lib/python3.11/curses/__init__.py”, line 13, in <module> from _curses import *
ModuleNotFoundError: No module named ‘_curses’

For background information this is what I am running:
Raspberry Pi 5 16 gb
Debian 13 (Trixie)
Python 3.11.13

I started researching and it sounded like the I was missing the developmental headers. This led me to another revelation I was missing the .pyenv folder. I was able to fix this by following this documentation (https://github.com/pyenv/pyenv#basic-github-checkout). Please note that I downloaded pyenv after python was installed. From what I can tell they are both functioning together. From there I attempted to download the missing headers using the following commands:

sudo apt-get install libncurses5 libncurses5-dev libncursesw5
pip install glances

I am still receiving the error… I’m sure I have attempted more things but I can’t quite remember as I have been working on this for 3 days. I would prefer not to start over on my download as I have spent the last 3 weeks getting all my other errors taken care of. This is my last step to get my project working. So if anyone has any advice I really appreciate it. I’m sure there is more info you need that I forgot, please let me know and I can provide it to you.

u/Kratos1634 — 12 days ago

I want to start off by saying I am not a programmer… I watched a youtube video for a cool project. The person said don’t worry anyone can follow my guide and make it work. This is not the case.

I have been working to run a piece of code that uses nxbt, but keep getting the following error:

Import PyQt5.QtWidgets as pyqt_w

ModuleNotFoundError: No module named ‘PyQt5’

Some background info, I am running this on a raspberry pi 5 16gb. I am running Debian 13 (trixie), python 3.11.13, pyqt5 5.15.11. I have downloaded the qt widgets using “pip install pyqt qtwidgets”. I am using all of this in a virtual environment. Lastly I have tried installing and uninstalling twice to no avail. I’m sure I am missing something simple, but googling hasn’t helped. Again I know little to nothing when it comes to coding, so if I am missing pertinent info, please let me know. Thank you in advance!

reddit.com
u/Kratos1634 — 17 days ago