Search code examples
pythonwindowsgithubpiptesseract

how to install github package link using pip


i want to install this link using pip on windows, python 3.6

https://github.com/charlesw/tesseract-vs2012

output:

C:\Users\yolo>pip install git+https://github.com/charlesw/tesseract-vs2012.git
Collecting git+https://github.com/charlesw/tesseract-vs2012.git
  Cloning https://github.com/charlesw/tesseract-vs2012.git to c:\users\yolo\appd
ata\local\temp\pip-o2445u8s-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\python36\lib\tokenize.py", line 452, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\yolo\\Ap
pData\\Local\\Temp\\pip-o2445u8s-build\\setup.py'

1:


Solution

  • The repository that you point to lacks setup.py hence it cannot be installed with pip. It's also outdated and superseded by https://github.com/tesseract-ocr/tesseract.

    See the compilation instructions for w32.