Giter Club home page Giter Club logo

Comments (7)

zhll912 avatar zhll912 commented on May 27, 2024 1

我在3.6下跑起来了,要不要提交上来?

from baiducrawler.

mazzzystar avatar mazzzystar commented on May 27, 2024

@zhll912 我刚下载到本地测试没问题,你试试用mysql新建一个数据库,库名参考config.py,然后修改config.py里的密码试试。

from baiducrawler.

zhll912 avatar zhll912 commented on May 27, 2024

我已经创建了数据库,同时config.py中的值也对应修改了,还是提示同样的问题,我是怀疑其它方面的问题,我用的是python3.6.1,这个影响么?另外pymysql我也安装了,还有可能有什么问题呢?

from baiducrawler.

zhll912 avatar zhll912 commented on May 27, 2024

上述问题基本解决,reload(sys),这两行被我删了,会报其它错:cannot choose from an empty sequence
p这是因为我删了上边的编码就出问题了,我就在这行上加了编码设置open(keyword_dict, 'r',encoding='utf8'),不知道这个问题又如何解决,现在主要问题确定在获取不到IP地址,求指教如何获取?

from baiducrawler.

mazzzystar avatar mazzzystar commented on May 27, 2024

@zhll912 此程序是py2.7xx,还未在3.0以上测试过~~ 如果用pycharm不妨下双版本python,然后切换2.7试试。

from baiducrawler.

zhll912 avatar zhll912 commented on May 27, 2024

有没有更新3.0的计划呢?我看这个应该复杂度应该不至于有多少,只是 我初学python,否则我给你更新一个版本

from baiducrawler.

mazzzystar avatar mazzzystar commented on May 27, 2024

@zhll912 欢迎提交~~~

from baiducrawler.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.