问题
I followed this steps but got an error message :
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
I researched and found a solution and try this command:
pip install twain == 1.0.5 --allow-unverified twain
and got an error message :
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
Howcan I solve install twain ?
回答1:
you can download code for python 3.x from http://www.lfd.uci.edu/~gohlke/pythonlibs/#twainmodule
and install by manually
来源:https://stackoverflow.com/questions/34803167/installing-twain-module-on-python-3-4-on-windows