在Windows的Python 3.4上安装Twain模块 [英] Installing Twain Module on Python 3.4 on Windows

查看:287
本文介绍了在Windows的Python 3.4上安装Twain模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循了步骤,但是收到错误消息:

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

并显示一条错误消息:

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

我该如何解决twain安装问题?

Howcan I solve install twain ?

推荐答案

您可以从并手动安装

这篇关于在Windows的Python 3.4上安装Twain模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆