Comments (10)
我无论自动安装还是源码安装均失败,烦请大佬检查是这个项目安装是不是有问题啊
源码安装error: can't copy 'pycorrector/data/test': doesn't exist or not a regular file
自动安装error: can't copy 'pycorrector/data/kenlm': doesn't exist or not a regular file
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-JCu7Lc/pycorrector/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-Qpahys/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-JCu7Lc/pycorrector/
from pycorrector.
C:\Users\Mloong\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -I. -ID:\python2.7_64\install\include -ID:\python2.7_64\install\PC /Tputil\bit_packing.cc /Fobuild\temp.win-amd64-2.7\Release\util\bit_packing.obj -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
bit_packing.cc
.\util/bit_packing.hh(30) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
error: command 'C:\Users\Mloong\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2
----------------------------------------
Command "D:\python2.7_64\install\python.exe -u -c "import setuptools, tokenize;file='c:\users\mloong\appdata\local\temp\pip-install-frv2dd\kenlm\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\mloong\appdata\local\temp\pip-record-uribyh\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\mloong\appdata\local\temp\pip-install-frv2dd\kenlm\
在window10系统上安装出现上述问题,您可以帮忙看下嘛?谢谢!
from pycorrector.
暂不支持win,抱歉,原因是kenlm这个库需要.so文件支持,后续改为TensorFlow版本的rnn语言模型可以摆脱kenlm库了,届时win上就可以支持了。
mac和linux都支持。
from pycorrector.
可是我是在Linux上安装的pycorretor啊,还是保错
error: can't copy 'pycorrector/data/kenlm': doesn't exist or not a regular file
我该怎么解决?谢谢了
from pycorrector.
文件大约20MB,重新试一下。建议直接从源码安装吧。
from pycorrector.
Here: #17 (comment)
from pycorrector.
此问题暂时关闭, 如果未解决的话重新open,我来跟进。
from pycorrector.
我的是win7,也是装不了,请问作者什么更新能安装在win7上的纠错系统,期待作者更新!
from pycorrector.
后续可以考虑升级,年前完成吧。
from pycorrector.
请问现在win10可以了吗
from pycorrector.
Related Issues (20)
- 关于文本中存在空格问题 HOT 2
- 加入标点符号的纠错, 根据《标点符号用法》GB/T15834-2011规范 HOT 1
- Macbert怎么导入本地模型? HOT 3
- 使用macbert时输入的参数中有空格,会导致无法成功纠错。使用T5时就可以成功纠错 HOT 1
- 请问“的地得”纠错有什么好的方法 HOT 3
- 模型文件路径问题 HOT 7
- does not appear to have a file named config.json HOT 2
- T5Corrector' object has no attribute 'batch_t5_correct' HOT 2
- 最新版本pycorrector导入不了config HOT 1
- 现在使用给定的数据基进行训练,后期我想自己寻找其他的数据集训练 HOT 1
- 使用pip install -U pycorrector安装pycorrector最新版本后,测试运行报错 HOT 1
- Tokenizer类实现问题 HOT 2
- T5模型预测的时候一直为0 HOT 3
- 请问针对非对称长度的文本纠错(冗余、缺失等),评估指标应该选哪些呢? HOT 1
- 能否更新下docker HOT 1
- 新版本macbert4csc中ConfusionCorrector实现逻辑问题 HOT 2
- AttributeError: 'bert' object has no attribute 'save_pretrained'
- ValueError: Expected input batch_size (2400) to match target batch_size (2304) HOT 7
- 可以基于你发布的hf的模型再训练吗? HOT 5
- 现在大模型+prompt效果就特别好
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycorrector.