Code Monkey home page Code Monkey logo

Comments (6)

gaoda1234 avatar gaoda1234 commented on August 25, 2024 1

Traceback (most recent call last):
File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/root/proxy_pool-master/Schedule/ProxyRefreshSchedule.py", line 19, in
from apscheduler.schedulers.blocking import BlockingScheduler
File "/usr/lib64/python2.6/site-packages/apscheduler/schedulers/blocking.py", line 5, in
from apscheduler.schedulers.base import BaseScheduler, STATE_STOPPED
File "/usr/lib64/python2.6/site-packages/apscheduler/schedulers/base.py", line 177
with self._jobstores_lock, self._executors_lock:
^
SyntaxError: invalid syntax
帮忙看看这是什么错误吧,apscheduler安装好了还需要启动什么的吗?

from proxy_pool.

jhao104 avatar jhao104 commented on August 25, 2024

现在暂时不支持py3
你是apscheduler这个包没有装。
你可以看下这个文件requirements.txt

from proxy_pool.

gaoda1234 avatar gaoda1234 commented on August 25, 2024

支持python什么版本?

from proxy_pool.

jhao104 avatar jhao104 commented on August 25, 2024

2

from proxy_pool.

gaoda1234 avatar gaoda1234 commented on August 25, 2024

python2.6 和APScheduler 3.2.0 兼容吗?新手问题多,多包涵。

from proxy_pool.

jhao104 avatar jhao104 commented on August 25, 2024

每个三方库都有对应不同py版本的包。你下载的时候下py2版本的。如果你电脑上是py2,直接pip install 安装的就是py2对应的包

from proxy_pool.

Related Issues (20)

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.