pip3 install error
See original GitHub issue$ git clone https://github.com/fyookball/electrum
$ cd electrum
$ pip3 install .
...
Running setup.py install for Electron-Cash ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-x5v44czd-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-fp8gqsul-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
usage: -c [--root= dir] [--prefix= prefix]
-c: error: argument --prefix=: expected one argument
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-x5v44czd-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-fp8gqsul-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 2 in /tmp/pip-x5v44czd-build/
Why? The same procedure works well for electrum, electrum-ltc, electrum-dash… Morover they can use better pip3 install .[full]
as well.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13
Top Results From Across the Web
Python3 pip3 install broken on Ubuntu
I installed python3 and pip3 successfully on my Ubuntu16.04, but pip3 install is broken. How can I fix this problem? The error information ......
Read more >pip giving error when trying to install packages Python 3.10
This error is given by Windows, saying that pip is not found. It happened because Python isn't in your shell path, If you...
Read more >How To Fix PIP Install Not Working? - TechNewsToday
The most common reasons for issues with PIP installations is either that an incorrect PIP path is added to the PATH system variable,...
Read more >How to install modules with PIP (and fix it when it fails) - Medium
Copy the code from get-pip.py or save the file from the link. Then simply run the file with python. This should install pip...
Read more >Pip Command Not Found on Windows: A Guide | Built In
A “pip: command not found” error occurs when you fail to properly install the package installer for Python (pip) needed to run Python...
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
@ser: Not everybody uses Ubuntu and not everybody uses the most recent version of everything.
@all: I looked at this and there where two issues, acutally:
--prefix
was empty, causing an argument parsing error – I fixed this by defaulting an empty value to/
(This is what caused to installation error, but it only surfaced due to Debian patches afaik.)--user
was ignored, if the called user somehow had access to/share
or/
(the resulting file paths) then a system-wide installation would have been attempted anyways – this is fixed by never considering a system-wise installation if--user
is receivedYou can review the changes in #745. Please test that version @ser and report back whether is works for you.
@alexander255 Thanks I can confirm it fixes the issue and
pip3 install .
works 👍