jhao104 / jhao104/proxy_pool

运行出错!

Open
#663 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23.7k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

配置好啦但是运行出错

**G:\MC\代理池\proxy_pool-2.4.0>python proxyPool.py server

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

2022-05-08 13:51:53,984 launcher.py[line:45] INFO ProxyPool Version: 2.4.0
2022-05-08 13:51:53,984 launcher.py[line:50] INFO ProxyPool configure HOST: 0.0.0.0
2022-05-08 13:51:53,984 launcher.py[line:51] INFO ProxyPool configure PORT: 4719
2022-05-08 13:51:53,985 launcher.py[line:52] INFO ProxyPool configure PROXY_FETCHER: ['freeProxy01', 'freeProxy02', 'freeProxy03', 'freeProxy04', 'freeProxy05', 'freeProxy06', 'freeProxy07', 'freeProxy08', 'freeProxy09', 'freeProxy10']
2022-05-08 13:51:54,069 launcher.py[line:58] INFO ============ DATABASE CONFIGURE ================
2022-05-08 13:51:54,070 launcher.py[line:59] INFO DB_TYPE: REDIS
2022-05-08 13:51:54,070 launcher.py[line:60] INFO DB_HOST: 127.0.0.1
2022-05-08 13:51:54,070 launcher.py[line:61] INFO DB_PORT: 6379
2022-05-08 13:51:54,070 launcher.py[line:62] INFO DB_NAME: 0
2022-05-08 13:51:54,070 launcher.py[line:63] INFO DB_USER:
2022-05-08 13:51:54,070 launcher.py[line:64] INFO =================================================
Traceback (most recent call last):
File "G:\MC\代理池\proxy_pool-2.4.0\proxyPool.py", line 43, in
cli()
File "I:\Python 3.10\lib\site-packages\click\core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "I:\Python 3.10\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "I:\Python 3.10\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "I:\Python 3.10\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "I:\Python 3.10\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "G:\MC\代理池\proxy_pool-2.4.0\proxyPool.py", line 39, in server
startServer()
File "G:\MC\代理池\proxy_pool-2.4.0\helper\launcher.py", line 25, in startServer
from api.proxyApi import runFlask
File "G:\MC\代理池\proxy_pool-2.4.0\api\proxyApi.py", line 20, in
from flask import Flask, jsonify, request
File "I:\Python 3.10\lib\site-packages\flask\__init__.py", line 19, in
from jinja2 import Markup, escape
ImportError: cannot import name 'Markup' from 'jinja2' (I:\Python 3.10\lib\site-packages\jinja2\__init__.py)**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.