简体   繁体   English

如何使用pip安装github软件包链接

[英]how to install github package link using pip

i want to install this link using pip on windows, python 3.6 我想在Windows,Python 3.6上使用pip安装此链接

https://github.com/charlesw/tesseract-vs2012 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 : 1

Try upgrading pip with pip install --upgrade pip , then try to install what you want again. 尝试使用pip install --upgrade pip升级pip,然后尝试再次安装所需的东西。

Related: https://github.com/tensorflow/tensorflow/issues/56 相关: https : //github.com/tensorflow/tensorflow/issues/56

The repository that you point to lacks setup.py hence it cannot be installed with pip . 您指向的存储库缺少setup.py因此无法与pip一起安装。 It's also outdated and superseded by https://github.com/tesseract-ocr/tesseract . https://github.com/tesseract-ocr/tesseract也已经过时并取代了它。

See the compilation instructions for w32 . 请参阅w32编译说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM