Python中文
首页
教程
问答
标签
搜索
登录
注册
找不到Python模块
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>如何从Python解释器导入pyBarcode?根据<a href="http://packages.python.org/pyBarcode/barcode.html" rel="nofollow">pyBarcode documentation</a>,第一步是<code>import barcode</code>。当我尝试它说没有这样的模块。</p> <pre><code>~# python Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on linux2 >>> import barcode Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named barcode </code></pre>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>在使用(<code>import</code>ing)pyBarcode之前,您必须<a href="https://bitbucket.org/whitie/python-barcode#rst-header-installation" rel="nofollow noreferrer">install</a>它,例如</p> <pre><code>pip install pyBarcode </code></pre>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
无法使用Django restfram生成PDF
7 回答
无法使用Django Rest框架发送压缩的gzip数据
6 回答
无法使用Django rest框架进行身份验证(请求用户=匿名用户)
9 回答
无法使用Django、Python和JavaScrip触发onclick函数
7 回答
无法使用Django.views.generic.View保存表单
5 回答
无法使用Django(python 2.7,OS X 10.11.1)
4 回答
无法使用Django/mongoengine连接到MongoDB(身份验证失败)
6 回答
无法使用Django\u mssql\u后端迁移到外部hos
7 回答
无法使用Django&Python3.4连接到MySql
2 回答
无法使用Django+nginx上载媒体文件
8 回答
无法使用Django1.6导入名称模式
5 回答
无法使用Django1.7和mongodb登录管理站点
7 回答
无法使用Djangoadmin创建项目,进程使用了错误的路径,因为我事先安装了错误的Python
5 回答
无法使用Djangockedi验证CBV中的字段
1 回答
无法使用Djangocketditor上载图像(错误400)
4 回答
无法使用Djangocron进行函数调用
5 回答
无法使用Djangofiler djang上载文件
8 回答
无法使用Djangokronos
4 回答
无法使用Djangomssql provid
2 回答
无法使用Djangomssql连接到带有Django 1.11的MS SQL Server 2016
2 回答