hydrus setup install failing
See original GitHub issueI’m submitting a
- bug report.
- feature request.
Current Behaviour:
Presently on following the instructions as described in Readme to setup local server
the following error occurs while running python setup.py install
File "setup.py", line 8, in <module>
from pip._internal.download import PipSession
ModuleNotFoundError: No module named 'pip._internal.download'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 10, in <module>
from pip.req import parse_requirements
ModuleNotFoundError: No module named 'pip.req'
I digged around a little for the solution and stumbled upon this
https://github.com/pypa/pip/issues/7645 https://github.com/pypa/pip/issues/7645#issuecomment-578204001
this is a recently opened issue stating " that any of the code imported from pip may break anytime in future"
Expected Behaviour:
We can install the project locally
Steps to reproduce:
Just follow the instructions given to install the hydus locally
Do you want to work on this issue?
yes
I would really like to work on this
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
Installing and Updating - hydrus network - GitHub Pages
Clean installs The problem is usually that a library file has been renamed in a new version and hydrus has trouble figuring out...
Read more >HYDRUS Installation and Activation
The installation program for the full version of HYDRUS is only avilable to customers who purchased a HYDRUS license. They will receive a...
Read more >Getting Started: Installing - PTRannies Journal - hydrus network
Very rarely, hydrus needs a clean install. This can be due to a special update like when we moved from 32-bit to 64-bit...
Read more >"setup.py install" does not coexist nicely with "pip ...
Installing one package in the namespace using setup.py develop and the other using setup.py install (order does not matter). You can see the ......
Read more >README.md · master · prkc / hydrus-why-sqlite · GitLab
SQLite does not need to be "installed" before it is used. There is no "setup" procedure. There is no server process that needs...
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
Downgrading pip to version 19.3.1 works like a charm, i think it should be mentioned in the requirements file till the time the bug is fixed in the latest pip release
You can try adding this code:-
def parse_requirements(filename): """ load requirements from a pip requirements file """ lineiter = (line.strip() for line in open(filename)) return [line for line in lineiter if line and not line.startswith("#")]
Steps for adding:- 1.)create a directory pip/ 2.)add an empty file pip/init.py 3.)add a file pip/req.py 4.)put the code above into pip/req.py: 5.)modify the line in setup.py “reqs = install_reqs”If it doesn’t work, try downgrading your pip version.