Skip to content
New issue

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

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

Already on GitHub? # to your account

Error when starting Plotman: ModuleNotFoundError: No module named 'readline' #157

Closed
gzl333 opened this issue Apr 23, 2021 · 3 comments
Closed

Comments

@gzl333
Copy link

gzl333 commented Apr 23, 2021

Hi, thanks for developing this great tool. I'm excited about it.
But after installation I met this error:

(venv) [root@centos8 chia-blockchain]# plotman version Traceback (most recent call last): File "/root/Downloads/chia-blockchain/venv/bin/plotman", line 5, in <module> from plotman.plotman import main File "/root/Downloads/chia-blockchain/venv/lib/python3.7/site-packages/plotman/plotman.py", line 10, in <module> from plotman import analyzer, archive, configuration, interactive, manager, plot_util, reporting File "/root/Downloads/chia-blockchain/venv/lib/python3.7/site-packages/plotman/archive.py", line 14, in <module> from plotman import manager, plot_util File "/root/Downloads/chia-blockchain/venv/lib/python3.7/site-packages/plotman/manager.py", line 6, in <module> import readline # For nice CLI ModuleNotFoundError: No module named 'readline'

I'm using CentOS Stream release 8 and python 3.7.7
Is there anything I'm doing wrong? How can I fix this?
Thanks a lot!

@altendky
Copy link
Collaborator

readline is in the Python stdlib. I don't know my way around CentOS, but I know Debian breaks the stdlib up into multiple system packages. Perhaps CentOS has done this as well? I'll follow up here if I have a chance to dig into that myself.

@gzl333 gzl333 closed this as completed Apr 24, 2021
@altendky
Copy link
Collaborator

Was there such a system package to install? I would be interested to know in case this comes up again. Thanks.

@gzl333
Copy link
Author

gzl333 commented Apr 24, 2021

Hi, it turns out to be the errors during compiling and installing python 3.7.3 on CentOS8. The install process lost readline package and curses package somehow.
A simple reinstall would solve the problem.
Thanks again for your great work!

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

No branches or pull requests

2 participants