question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

usage fails on fedora

See original GitHub issue

Edit: Resolved.

when installing using chia’s guide, which has you compile python, first install readline-devel then reinstall chia starting from the compiling commands.


OP

$ plotman config generate
ModuleNotFoundError: No module named 'readline'`
$ pip install readline
...
ERROR: Command errored out with exit status 1: /home/farmer3/chia/chia-blockchain/venv/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tdwfs8by/readline_0193af2f4b784d7b8fe7c3dfbad03f70/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tdwfs8by/readline_0193af2f4b784d7b8fe7c3dfbad03f70/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-kvt82h07/install-record.txt --single-version-externally-managed --compile --install-headers /home/farmer3/chia/chia-blockchain/venv/include/site/python3.7/readline Check the logs for full command output.

looked up readline

WARNING: THIS PACKAGE IS DEPRECATED! It has been renamed to GNUREADLINE to resolve a name clash with the standard library module. The new PyPI page is here.

as suggested here i tried reinstall of python + chia + plotman, same errors.

python --version
Python 3.7.7

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
danarbrazcommented, May 5, 2021

In my case, on CentOS 8.3, with chia also installed per instructions, I just had to install readline-devel (dnf install readline-devel) then recompile Python 3.7.7 (no manual changes) and plotman generates a config successfully afterward.

0reactions
tstiemerlingcommented, May 14, 2021

Confirmed solution above on CentOS7. Install readline-devel and then rebuild Python 3.7.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting
Is Your RAM Not Being Recognized? · Start your computer and wait until the boot loader menu appears. · When the boot loader...
Read more >
2056303 – After upgrade to F36 several packages fail ...
After upgrading from Fedora 35 to 36 Workstation, I am encountering some error messages while performing upgrades: Downloading Packages: (1/7): ...
Read more >
Fedora showing input/output error after 10-20mins of use
I am a new linux user. I recently bought a new sata hard disk of 160gb. I tried installing fedora on it but...
Read more >
Failing Media Check on Fedora Installation
You can of course re-use the stick for other things if it turns out that gives the same error (indicating it is something...
Read more >
Fedora Packages of R Software
These RPMs are also compatible with distributions derived from CentOS/RHEL. To use the EPEL repository, it is sufficient to download and install ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found