usage fails on fedora
See original GitHub issueEdit: 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:
- Created 2 years ago
- Comments:16 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Confirmed solution above on CentOS7. Install readline-devel and then rebuild Python 3.7.