Coder Social home page Coder Social logo

自动安装失败 about pycorrector HOT 10 CLOSED

shibing624 avatar shibing624 commented on July 23, 2024
自动安装失败

from pycorrector.

Comments (10)

djk111 avatar djk111 commented on July 23, 2024 1

我无论自动安装还是源码安装均失败,烦请大佬检查是这个项目安装是不是有问题啊
源码安装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.

mzj123456 avatar mzj123456 commented on July 23, 2024

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.

shibing624 avatar shibing624 commented on July 23, 2024

暂不支持win,抱歉,原因是kenlm这个库需要.so文件支持,后续改为TensorFlow版本的rnn语言模型可以摆脱kenlm库了,届时win上就可以支持了。
mac和linux都支持。

from pycorrector.

djk111 avatar djk111 commented on July 23, 2024

可是我是在Linux上安装的pycorretor啊,还是保错
error: can't copy 'pycorrector/data/kenlm': doesn't exist or not a regular file
我该怎么解决?谢谢了

from pycorrector.

shibing624 avatar shibing624 commented on July 23, 2024

文件大约20MB,重新试一下。建议直接从源码安装吧。

from pycorrector.

hxh123 avatar hxh123 commented on July 23, 2024

Here: #17 (comment)

from pycorrector.

shibing624 avatar shibing624 commented on July 23, 2024

此问题暂时关闭, 如果未解决的话重新open,我来跟进。

from pycorrector.

shjtshtj avatar shjtshtj commented on July 23, 2024

我的是win7,也是装不了,请问作者什么更新能安装在win7上的纠错系统,期待作者更新!

from pycorrector.

shibing624 avatar shibing624 commented on July 23, 2024

后续可以考虑升级,年前完成吧。

from pycorrector.

HiIcy avatar HiIcy commented on July 23, 2024

请问现在win10可以了吗

from pycorrector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.