我想在Windows上使用pip安装此链接,python 3.6
https://github.com/charlesw/tesseract-vs2012
输出:
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:
答案 0 :(得分:2)
尝试使用pip install --upgrade pip
升级pip,然后尝试再次安装你想要的内容。
答案 1 :(得分:2)
您指向的存储库缺少setup.py
因此无法与pip
一起安装。它也已过时并被https://github.com/tesseract-ocr/tesseract取代。