Skip to content

Commit 1d7b8f9

Browse files
committed
fix pip install .whl bug of numpy-pandas
1 parent e3b74cc commit 1d7b8f9

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222

2323

2424
# 安装
25+
0. 注意事项
26+
```
27+
默认不安装nlg-yongzhuo, 如果需要该功能自行安装;
28+
默认不指定numpy, pandas, scikit-learn版本, 过高或者过低的版本可能不支持
29+
标准版本的依赖包详见 requirements-all.txt
30+
```
2531
1. 通过PyPI安装(模型文件另需下载, 详见[命名实体提取](#命名实体提取), [词性标注](#词性标注)):
2632
```
2733
pip install macropodus

macropodus/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# @function: version of Macropodus
66

77

8-
__version__ = "0.0.6"
8+
__version__ = "0.0.7"

requirements-all.txt

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ networkx==2.4
88
tensorflow-gpu==1.15.0
99
keras-bert==0.80.0
1010
keras-adaptive-softmax==0.6.0
11+
nlg-yongzhuo==0.0.4

requirements.txt

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
scikit-learn==0.19.1
2-
nlg-yongzhuo==0.0.4
3-
pandas==0.23.4
1+
numpy
2+
pandas
3+
scikit-learn
44
passlib==1.7.1
55
gensim==3.7.1
6-
numpy==1.16.2
76
tqdm==4.31.1
87
networkx==2.4

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
'Programming Language :: Python :: 3.6',
4545
'Programming Language :: Python :: 3.7',
4646
'Programming Language :: Python :: 3.8',
47+
'Programming Language :: Python :: 3.9',
4748
'Programming Language :: Python :: Implementation :: CPython',
4849
'Programming Language :: Python :: Implementation :: PyPy'],
4950
)

0 commit comments

Comments
 (0)