2

I want to install the following github repository, yet I recieve an error. what am I doing wrong?

pip install git+https://github.com/gablum/DeepHit.git 

I got the following error:

ERROR: Cannot unpack file /tmp/pip-unpack-w7qkjzy3/DeepHit (downloaded from /tmp/pip-req-build-nmcpks7w, content-type: text/html; charset=utf-8); cannot detect archive format ERROR: Cannot determine archive format of /tmp/pip-req-build-nmcpks7w 

2 Answers 2

7

To install a thing with pip the thing must be an installable package. The repository is not a Python package — it doesn't have setup.py, it doesn't even have __init__.py. It's not a package and cannot be installed.

To use it you should ask the source how the code is supposed to be used. I suspect the answer will include manipulations with PYTHONPATH or copying the code directly into your working directory.

Sign up to request clarification or add additional context in comments.

Comments

-2

To download a repository just use git clone https://github.com/repository-name-here.git What you do next depends on the repository. In your case I would take a look at the documentation of the repository itself which can often be found on GitHub too.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.