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

不停报错 #755

Open
djme0 opened this issue Jun 21, 2023 · 1 comment
Open

不停报错 #755

djme0 opened this issue Jun 21, 2023 · 1 comment

Comments

@djme0
Copy link

djme0 commented Jun 21, 2023

C:\Users\29945\Desktop\pool\proxy_pool-2.4.1>python proxyPool.py schedule


*** ______ ********************* ______ *********** _ ********
*** | ___ _ ******************** | ___ \ ********* | | ********
*** | |/ / _ __ __ _ __ _ | |/ /__ * ___ | | ********
*** | /| // _ \ \ / /| | | || __// _ \ / _ \ | | ********
*** | | | | | (
) | > < \ || || | | () | () || |
****
*** _| || ___/ //_\ __ |_| _/ _/ __/ ****
**** __ / / *****
************************* /
/ *******************************



2023-06-21 21:29:34,668 launcher.py[line:45] INFO ProxyPool Version: 2.4.0
2023-06-21 21:29:34,669 launcher.py[line:50] INFO ProxyPool configure HOST: 0.0.0.0
2023-06-21 21:29:34,669 launcher.py[line:51] INFO ProxyPool configure PORT: 5010
2023-06-21 21:29:34,671 launcher.py[line:52] INFO ProxyPool configure PROXY_FETCHER: ['freeProxy01', 'freeProxy02', 'freeProxy03', 'freeProxy04', 'freeProxy05', 'freeProxy06', 'freeProxy07', 'freeProxy08', 'freeProxy09', 'freeProxy10']
Traceback (most recent call last):
File "proxyPool.py", line 43, in
cli()
File "C:\Users\29945\AppData\Local\Programs\Python\Python36\lib\site-packages\click\core.py", line 764, in call
return self.main(*args, **kwargs)
File "C:\Users\29945\AppData\Local\Programs\Python\Python36\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "C:\Users\29945\AppData\Local\Programs\Python\Python36\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\29945\AppData\Local\Programs\Python\Python36\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\29945\AppData\Local\Programs\Python\Python36\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "proxyPool.py", line 32, in schedule
startScheduler()
File "C:\Users\29945\Desktop\pool\proxy_pool-2.4.1\helper\launcher.py", line 30, in startScheduler
__beforeStart()
File "C:\Users\29945\Desktop\pool\proxy_pool-2.4.1\helper\launcher.py", line 38, in __beforeStart
if __checkDBConfig():
File "C:\Users\29945\Desktop\pool\proxy_pool-2.4.1\helper\launcher.py", line 57, in __checkDBConfig
db = DbClient(conf.dbConn)
File "C:\Users\29945\Desktop\pool\proxy_pool-2.4.1\util\singleton.py", line 25, in call
cls._inst[cls] = super(Singleton, cls).call(*args)
File "C:\Users\29945\Desktop\pool\proxy_pool-2.4.1\db\dbClient.py", line 57, in init
self.__initDbClient()
File "C:\Users\29945\Desktop\pool\proxy_pool-2.4.1\db\dbClient.py", line 83, in __initDbClient
self.client = getattr(import(type), "%sClient" % self.db_type.title())(host=self.db_host,
File "C:\Users\29945\Desktop\pool\proxy_pool-2.4.1\db\redisClient.py", line 17, in
from redis.exceptions import TimeoutError, ConnectionError, ResponseError
File "C:\Users\29945\AppData\Local\Programs\Python\Python36\lib\site-packages\redis_init
.py", line 3, in
from redis.client import Redis, StrictRedis
File "C:\Users\29945\AppData\Local\Programs\Python\Python36\lib\site-packages\redis\client.py", line 9, in
from redis.commands import (
File "C:\Users\29945\AppData\Local\Programs\Python\Python36\lib\site-packages\redis\commands_init
.py", line 1, in
from .cluster import READ_COMMANDS, AsyncRedisClusterCommands, RedisClusterCommands
File "C:\Users\29945\AppData\Local\Programs\Python\Python36\lib\site-packages\redis\commands\cluster.py", line 2, in
from typing import (
ImportError: cannot import name 'NoReturn'

@oritert
Copy link

oritert commented Jun 23, 2023

why

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

2 participants