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

No module named mh_z19 #36

Closed
DavidBock opened this issue Nov 9, 2021 · 3 comments
Closed

No module named mh_z19 #36

DavidBock opened this issue Nov 9, 2021 · 3 comments
Labels
question Further information is requested

Comments

@DavidBock
Copy link

Hello, I'm a newbie to python and it's packages so i blindly followed your instructions to install and use your module from https://pypi.org/project/mh-z19/
I'm connected to my Raspberry over SSH.
Taking the pip install route, which is the easiest but python not finding the module (error in title) led me to try to run it with python3 and even reinstalling it with pip3 left me with no error but also with no success.

So, there are two things I noticed while inspecting the instructions:

Install:
pip install mh-z19

Use:
sudo python -m mh_z19
  1. the use of sudo
  2. the use of - and _

What I've did now was like:

Install:
sudo pip install mh_z19

Use:
sudo python -m mh_z19

And it works.
Seems like it makes no difference if using - or _ for install but the sudo made a difference.
Am I right that something's not proper with that instructions?

@DavidBock DavidBock added the question Further information is requested label Nov 9, 2021
@UedaTakeyuki
Copy link
Owner

Hi DavidBock,

Yes, you are right. I should fix these mistakes on the READEM file.
Thank you for your notice.

@UedaTakeyuki
Copy link
Owner

UedaTakeyuki commented Nov 10, 2021

Hi David,

I've updated the steps pointed.
https://github.com/UedaTakeyuki/mh-z19/blob/master/README.md

Would you please tell me your feeling that is it getting clear?

@DavidBock
Copy link
Author

Looks perfectly clear I'd say and is better than I could've done it.
Good job, thank you. 👍

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

No branches or pull requests

2 participants