Giter Club home page Giter Club logo

pyloom's Issues

爬虫跑不起来

C:\Users\PC>pyloom run -s G:\PyLoom\spiders\WeiBo
Traceback (most recent call last):
  File "C:\Users\PC\AppData\Local\Programs\Python\Python37\Scripts\pyloom-script.py", line 11, in <module>
    load_entry_point('pyloom', 'console_scripts', 'pyloom')()
  File "C:\Users\PC\AppData\Local\Programs\Python\Python37\lib\site-packages\pkg_resources\__init__.py", line 480, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "C:\Users\PC\AppData\Local\Programs\Python\Python37\lib\site-packages\pkg_resources\__init__.py", line 2693, in load_entry_point
    return ep.load()
  File "C:\Users\PC\AppData\Local\Programs\Python\Python37\lib\site-packages\pkg_resources\__init__.py", line 2324, in load
    return self.resolve()
  File "C:\Users\PC\AppData\Local\Programs\Python\Python37\lib\site-packages\pkg_resources\__init__.py", line 2330, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "c:\users\pc\pyloom\pyloom\__init__.py", line 1, in <module>
    from .tasks import Task
  File "c:\users\pc\pyloom\pyloom\tasks.py", line 8, in <module>
    from .utils import *
  File "c:\users\pc\pyloom\pyloom\utils.py", line 9, in <module>
    import readline
ModuleNotFoundError: No module named 'readline'

请问者跑不起来

环境装好了, 运行出现这个错误

Traceback (most recent call last):
File "/usr/local/bin/pyloom", line 9, in
load_entry_point('pyloom', 'console_scripts', 'pyloom')()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2235, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/root/PyLoom/pyloom/init.py", line 1, in
from .tasks import Task
File "/root/PyLoom/pyloom/tasks.py", line 119
raise `errors.TaskError(f"不支持从'{type(root)}'类型构造CSS")

PyCharm 直接运行爬龙

我想请问一下,如何在 PyCharm 直接运行爬龙呢,我直接在__main__.py运行,会报错:
ModuleNotFoundError: No module named 'main.entry'; 'main' is not a package
谢谢!

拼多多

拼多多的不行了,找不到了

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.