Skip to content
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

总是运行报错怎么办呀,谢谢 #2

Open
crankler opened this issue Sep 30, 2017 · 2 comments
Open

总是运行报错怎么办呀,谢谢 #2

crankler opened this issue Sep 30, 2017 · 2 comments

Comments

@crankler
Copy link

Traceback (most recent call last):
File "C:/Users/chengxiang/Desktop/test3/222", line 112, in
spider = Spider()
File "C:/Users/chengxiang/Desktop/test3/222", line 15, in init
self.keyword=raw_input(u'欢迎使用 pexels 图片搜索下载神器\n请输入搜索关键词(英文):')
NameError: name 'raw_input' is not defined

@lbdong22
Copy link

"C:\Program Files\Anaconda3\envs\VNPY\python.exe" C:/VNPY/study/init.py
Traceback (most recent call last):
File "C:/VNPY/study/init.py", line 112, in
spider=Spider()
File "C:/VNPY/study/init.py", line 15, in init
self.keyword=raw_input(u'欢迎使用 pexels 图片搜索下载神器\n请输入搜索关键词(英文):')
NameError: name 'raw_input' is not defined

@SHENG-KAI-HUANG
Copy link

SHENG-KAI-HUANG commented Apr 25, 2019

嘗試用python2執行,不要用python3,試試看?
補充,pixels似乎增加了阻止爬蟲的機制,可能還要再注意看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants