0

I am trying to install a Github repo on a Linux machine that has no access to the internet. Therefore, I am unable to install it through pip install git+https://github.com/faustomorales/keras-ocr.git#egg=keras-ocr or pip install keras-ocr. I have the repo in a local directory and I've tried to install it through the command pip install -e ., but failed. This is the method I normally use.

Repo Link: https://github.com/faustomorales/keras-ocr

  1. Could this failure be due to the lack of a setup.py file or because of the #egg=keras-ocr?

  2. What is the best way to install this without internet access, given that I already have the unzipped repo in my directory?

I was thinking of using pip install git+file:///home/jupyter/keras-ocr_custom#egg=keras-ocr. Since running this command requires downloading of some wheel files, I install these locally first beforehand due to no internet access.

I have seen a similar question asked, but this was posted 10 years ago (possibly obsolete by now).

Why does pip fail when installing local egg repository?

I have also ran this command and failed: pip install -e .[keras-ocr]

Pip install local repository with #egg

The image below is the error I get from running pip install -e . and pip install -e .[keras-ocr]

enter image description here

Thank you very much.

torek
  • 389,216
  • 48
  • 524
  • 664
AIBball
  • 11
  • 3

0 Answers0