指定依赖版本
This commit is contained in:
parent
1a0d9442d7
commit
a2f02f92df
|
@ -33,11 +33,13 @@ except:
|
||||||
os.system('pip3 install jieba &> /dev/null')
|
os.system('pip3 install jieba &> /dev/null')
|
||||||
os.system('pip3 install zhon &> /dev/null')
|
os.system('pip3 install zhon &> /dev/null')
|
||||||
os.system('pip3 install requests &> /dev/null')
|
os.system('pip3 install requests &> /dev/null')
|
||||||
|
os.system('pip3 install urllib3==1.25.11 &> /dev/null')
|
||||||
import jieba
|
import jieba
|
||||||
import jieba.analyse
|
import jieba.analyse
|
||||||
#import yaml
|
#import yaml
|
||||||
from lxml import etree
|
from lxml import etree
|
||||||
import requests
|
import requests
|
||||||
|
import urllib.parse
|
||||||
import jdspider
|
import jdspider
|
||||||
# constants
|
# constants
|
||||||
CONFIG_PATH = './config.yml'
|
CONFIG_PATH = './config.yml'
|
||||||
|
|
Loading…
Reference in New Issue