本地装paddlehub时报错
xixigongzhu086 发布于2020-05 浏览:2518 回复:5
0
收藏

 参加飞桨课程,第一步安装paddlehub就出问题了,找不到什么entencepiece_processor.h,本地安装会有很多问题吗?

 

D:\Applications\Visual Studio\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /
W3 /GL /DNDEBUG /MD -Id:\applications\python\include -Id:\applications\pyt
hon\include "-ID:\Applications\Visual Studio\VC\INCLUDE" "-ID:\Application
s\Visual Studio\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\
10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFX
SDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\
shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\um" "-IC:\Prog
ram Files (x86)\Windows Kits\8.1\include\\winrt" /EHsc /Tpsentencepiece_wr
ap.cxx /Fobuild\temp.win-amd64-3.5\Release\sentencepiece_wrap.obj /MT /I..
\build\root\include
cl: 命令行 warning D9025 :正在重写“/MD”(用“/MT”)
sentencepiece_wrap.cxx
sentencepiece_wrap.cxx(2777): fatal error C1083: 无法打开包括文件: “s
entencepiece_processor.h”: No such file or directory
error: command 'D:\\Applications\\Visual Studio\\VC\\BIN\\x86_amd64\\c
l.exe' failed with exit status 2

----------------------------------------
Command "d:\applications\python\python.exe -u -c "import setuptools, token
ize;__file__='C:\\Users\\CAOXI\\AppData\\Local\\Temp\\pip-install-jdoyz6jo
\\sentencepiece\\setup.py';f=getattr(tokenize, 'open', open)(__file__);cod
e=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'e
xec'))" install --record C:\Users\CAOXI\AppData\Local\Temp\pip-record-zpv3
h3j7\install-record.txt --single-version-externally-managed --compile" fai
led with error code 1 in C:\Users\CAOXI\AppData\Local\Temp\pip-install-jdo
yz6jo\sentencepiece\

收藏
点赞
0
个赞
共5条回复 最后由Aboutxxx89回复于2020-12
#6Aboutxxx89回复于2020-12
#5 yangnai20回复
我出现跟您一样的错误,请问您后期是怎么解决的,谢谢您

请问你解决这个问题了吗?我也遇到了

0
#5yangnai20回复于2020-08

我出现跟您一样的错误,请问您后期是怎么解决的,谢谢您

0
#4189******30回复于2020-06

按教程,不难。也可以现在AI Studio上试试,已经装好了

0
#3wangwei8638回复于2020-05

再安装paddlehub试下

0
#2wangwei8638回复于2020-05

首先按官方教程安装PaddlePaddle

https://www.paddlepaddle.org.cn/install/quick

 

 

0
TOP
切换版块