Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip 安装出错。 #133

Closed
wh93hz opened this issue Jan 4, 2018 · 11 comments
Closed

pip 安装出错。 #133

wh93hz opened this issue Jan 4, 2018 · 11 comments

Comments

@wh93hz
Copy link

wh93hz commented Jan 4, 2018

win10 64位,python版本3.5.0,安装了VCForPython27,报错error: [WinError 2] 系统找不到指定的文件。请问是什么问题呢?谢谢谢谢
C:\Users\Administrator>pip install pyltp
Collecting pyltp
Using cached pyltp-0.2.1.tar.gz
Installing collected packages: pyltp
Running setup.py install for pyltp ... error
Complete output from command d:\python\python.exe -u -c "import setuptools, tokenize;file='C:\Users\ADMINI1\AppData\Local\Temp\pip-build-7iw2lrc9\pyltp\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\ADMINI1\AppData\Local\Temp\pip-qhgkdfpz-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'pyltp' extension
error: [WinError 2] 系统找不到指定的文件。

----------------------------------------

Command "d:\python\python.exe -u -c "import setuptools, tokenize;file='C:\Users\ADMINI1\AppData\Local\Temp\pip-build-7iw2lrc9\pyltp\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\ADMINI1\AppData\Local\Temp\pip-qhgkdfpz-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-build-7iw2lrc9\pyltp\

@reallystranger
Copy link

reallystranger commented Jan 6, 2018

我也是这样,之前是旧版本,然后卸载了安装这个就报这个错了,
image
请问怎么解决。。。???
在这里下载了安装也是一样报错,怎么搞啊???

@pogevip
Copy link

pogevip commented Jan 12, 2018

同样的问题

@wh93hz
Copy link
Author

wh93hz commented Jan 12, 2018

python2.7,VCForPython27,pip install pyltp==0.1.9.1,顺利安装

@pogevip
Copy link

pogevip commented Jan 12, 2018

那python3。。怎么办呢

@wh93hz
Copy link
Author

wh93hz commented Jan 12, 2018

网络上关于python 3的方法我都试了,还是不断地报错。最后换成python2.7了

@liu946
Copy link

liu946 commented Jan 12, 2018

same question #125

@liu946 liu946 closed this as completed Jan 12, 2018
@pogevip
Copy link

pogevip commented Jan 13, 2018

@wh93hz 谢谢你,64位win10,anaconda3,我按照#125里提到的方法,装了VSC++2015,然后成功了,你也可以试试

@wh93hz
Copy link
Author

wh93hz commented Jan 14, 2018 via email

@lvjingshu
Copy link

@wh93hz 我按照你说的“python2.7,VCForPython27,pip install pyltp==0.1.9.1,顺利安装”后确实安装成功了,那对应的LTP和模型版本你还用的是3.4.0嘛?

@wh93hz
Copy link
Author

wh93hz commented Jun 24, 2018 via email

@lvjingshu
Copy link

lvjingshu commented Jun 24, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants