我遵循了此steps,但收到了错误消息:
C:\Users\PB>pip install twain --no-compile
Downloading/unpacking twain
Could not find any downloads that satisfy the requiremen
Cleaning up...
No distributions at all found for twain
Storing debug log for failure in C:\Users\PB\pip\pip.log
我研究并找到solution并尝试此命令:
pip install twain == 1.0.5 --allow-unverified twain
并收到错误消息:
Exception:
Traceback (most recent call last):
File "C:\Python3.4\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python3.4\lib\site-packages\pip\commands\install.py", line 257,in run
InstallRequirement.from_line(name, None))
File "C:\Python3.4\lib\site-packages\pip\req.py", line 172, in from_line
return cls(req, comes_from, url=url, prereleases=prereleases)
File "C:\Python3.4\lib\site-packages\pip\req.py", line 70, in __init__
req = pkg_resources.Requirement.parse(req)
File "C:\Python3.4\lib\site-packages\pip\_vendor\pkg_resources.py", line2606,
in parse
reqs = list(parse_requirements(s))
File "C:\Python3.4\lib\site-packages\pip\_vendor\pkg_resources.py",line2532
in parse_requirements
raise ValueError("Missing distribution spec", line)
ValueError: ('Missing distribution spec', '==')
Storing debug log for failure in C:\Users\PB\pip\pip.log
如何解决安装问题?
答案 0 :(得分:0)
您可以从http://www.lfd.uci.edu/~gohlke/pythonlibs/#twainmodule
下载python 3.x的代码并手动安装