-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python新手 请教详细使用方法 #1
Comments
看一下Makefile, opencc安装方法不同 |
同win平台,修改了baidu.py和baike.py下的导包代码from .base import Base 这个问题没了。。 但是出现了新问题 Helper从哪来?感谢 |
@PreRyo Helper 定义在 crawler/crawler.py 中,python 版本是2.7还是3.x ? |
@onestraw 3.x,更改了一系列后的导包代码后 |
@PreRyo sorry, 目前是基于2.7开发,还没有测试 3.x |
真心搞不来啊....麻烦lz说明一下如何使用 如何安装吧 win平台 怎么使用Makefile 以前没接触过....呃 我也是3.x |
@onestraw 好吧,文档注明一下就好 |
最后....能提到pip....直接能pip install安装就太美妙了 感谢 @onestraw |
@kaesi0 |
已支持python3 |
我一好朋友这两天就要生了,正好需要用这个看看.但python新手,win平台,clone了你的工程之后,cd到工程目录,运行
python qm.py --test
返回
Traceback (most recent call last):
File "qm.py", line 7, in
from crawler import Baidu, Baike, PCbaby, Httpcn
File "D:\Temp\qiming\crawler_init_.py", line 3, in
from .baidu import Baidu
File "D:\Temp\qiming\crawler\baidu.py", line 3, in
from base import Base
ModuleNotFoundError: No module named 'base'
不知道该怎么操作了 ,请详情说明一下,感谢~
The text was updated successfully, but these errors were encountered: