sentencepiece_wrap.cxx(2777): fatal error C1083: Impossible to open file include : 'sentencepiece_processor.h' : No such file or directory #9360
Labels
feat / transformer
Feature: Transformer
install
Installation issues
lang / fr
French language data and models
Hello
I have this bug when I install fr_dep_news_trf :
PS C:\Users\Thierry\Documents> python -m spacy download fr_dep_news_trf
Collecting fr-dep-news-trf==3.1.0
Using cached https://github.com/explosion/spacy-models/releases/download/fr_dep_news_trf-3.1.0/fr_dep_news_trf-3.1.0-py3-none-any.whl (400.7 MB)
Collecting protobuf
Using cached protobuf-3.18.0-cp39-cp39-win_amd64.whl (912 kB)
Requirement already satisfied: spacy<3.2.0,>=3.1.0 in c:\python39\lib\site-packages (from fr-dep-news-trf==3.1.0) (3.1.3)
Collecting sentencepiece==0.1.91
Using cached sentencepiece-0.1.91.tar.gz (500 kB)
Requirement already satisfied: spacy-transformers<1.1.0,>=1.0.3 in c:\python39\lib\site-packages (from fr-dep-news-trf==3.1.0) (1.0.6)
Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (4.62.3)
Requirement already satisfied: wasabi<1.1.0,>=0.8.1 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.8.2)
Requirement already satisfied: numpy>=1.15.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (1.21.2)
Requirement already satisfied: setuptools in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (58.2.0)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (1.0.5)
Requirement already satisfied: typer<0.5.0,>=0.3.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.4.0)
Requirement already satisfied: requests<3.0.0,>=2.13.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.26.0)
Requirement already satisfied: jinja2 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.0.1)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.0.5)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.0.5)
Requirement already satisfied: pathy>=0.3.5 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.6.0)
Requirement already satisfied: srsly<3.0.0,>=2.4.1 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.4.1)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (1.8.2)
Requirement already satisfied: packaging>=20.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (21.0)
Requirement already satisfied: catalogue<2.1.0,>=2.0.6 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.0.6)
Requirement already satisfied: blis<0.8.0,>=0.4.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.7.4)
Requirement already satisfied: thinc<8.1.0,>=8.0.9 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (8.0.10)
Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.8 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.0.8)
Requirement already satisfied: pyparsing>=2.0.2 in c:\python39\lib\site-packages (from packaging>=20.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.4.7)
Requirement already satisfied: smart-open<6.0.0,>=5.0.0 in c:\python39\lib\site-packages (from pathy>=0.3.5->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (5.2.1)
Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\python39\lib\site-packages (from pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.10.0.2)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\python39\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.0.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\python39\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (1.26.6)
Requirement already satisfied: certifi>=2017.4.17 in c:\python39\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2021.5.30)
Requirement already satisfied: idna<4,>=2.5 in c:\python39\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.2)
Requirement already satisfied: transformers<4.10.0,>=3.4.0 in c:\python39\lib\site-packages (from spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (4.9.2)
Requirement already satisfied: torch>=1.5.0 in c:\python39\lib\site-packages (from spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (1.9.1)
Requirement already satisfied: spacy-alignments<1.0.0,>=0.7.2 in c:\python39\lib\site-packages (from spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (0.8.3)
Requirement already satisfied: colorama in c:\python39\lib\site-packages (from tqdm<5.0.0,>=4.38.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.4.4)
Requirement already satisfied: filelock in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (3.3.0)
Requirement already satisfied: huggingface-hub==0.0.12 in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (0.0.12)
Requirement already satisfied: pyyaml>=5.1 in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (5.4.1)
Requirement already satisfied: tokenizers<0.11,>=0.10.1 in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (0.10.3)
Requirement already satisfied: regex!=2019.12.17 in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (2021.8.28)
Requirement already satisfied: sacremoses in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (0.0.46)
Requirement already satisfied: click<9.0.0,>=7.1.1 in c:\python39\lib\site-packages (from typer<0.5.0,>=0.3.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (8.0.1)
Requirement already satisfied: MarkupSafe>=2.0 in c:\python39\lib\site-packages (from jinja2->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.0.1)
Requirement already satisfied: six in c:\python39\lib\site-packages (from sacremoses->transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (1.16.0)
Requirement already satisfied: joblib in c:\python39\lib\site-packages (from sacremoses->transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (1.0.1)
Building wheels for collected packages: sentencepiece
Building wheel for sentencepiece (setup.py): started
Building wheel for sentencepiece (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-d9ettvq3\sentencepi
ece_0ad53b58e7de4659abcedf9ae26cbab8\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-d9ettvq3\sentencepiece_0ad53b58e7de4659abcedf9ae26cbab8\
setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r
\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-wheel-cgcrm_b8'
cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-d9ettvq3\sentencepiece_0ad53b58e7de4659abcedf9ae26cbab8
Complete output (17 lines):
C:\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'descrip
tion_file' instead
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying sentencepiece.py -> build\lib.win-amd64-3.9
running build_ext
building '_sentencepiece' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Python39\include -IC:\Python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.3
0133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10
.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\i
nclude\10.0.19041.0\cppwinrt /EHsc /Tpsentencepiece_wrap.cxx /Fobuild\temp.win-amd64-3.9\Release\sentencepiece_wrap.obj /MT /I..\build\root\include
cl : Ligne de commande warning D9025 : substitution de '/MD' par '/MT'
sentencepiece_wrap.cxx
sentencepiece_wrap.cxx(2777): fatal error C1083: Impossible d'ouvrir le fichier include : 'sentencepiece_processor.h' : No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
ERROR: Failed building wheel for sentencepiece
Running setup.py clean for sentencepiece
Failed to build sentencepiece
Installing collected packages: sentencepiece, protobuf, fr-dep-news-trf
Running setup.py install for sentencepiece: started
Running setup.py install for sentencepiece: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-d9ettvq3\sentence
piece_0ad53b58e7de4659abcedf9ae26cbab8\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-d9ettvq3\sentencepiece_0ad53b58e7de4659abcedf9ae26cbab8
\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'
\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-record-4srzynll\install-record.txt' --s
ingle-version-externally-managed --compile --install-headers 'C:\Python39\Include\sentencepiece'
cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-d9ettvq3\sentencepiece_0ad53b58e7de4659abcedf9ae26cbab8
Complete output (17 lines):
C:\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'descr
iption_file' instead
warnings.warn(
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying sentencepiece.py -> build\lib.win-amd64-3.9
running build_ext
building '_sentencepiece' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Python39\include -IC:\Python39\inclu
de -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29
.30133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include
10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10
\include\10.0.19041.0\cppwinrt /EHsc /Tpsentencepiece_wrap.cxx /Fobuild\temp.win-amd64-3.9\Release\sentencepiece_wrap.obj /MT /I..\build\root\include
cl : Ligne de commande warning D9025 : substitution de '/MD' par '/MT'
sentencepiece_wrap.cxx
sentencepiece_wrap.cxx(2777): fatal error C1083: Impossible d'ouvrir le fichier include : 'sentencepiece_processor.h' : No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTem
p\pip-install-d9ettvq3\sentencepiece_0ad53b58e7de4659abcedf9ae26cbab8\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-d9ettvq3\sentencepiece
_0ad53b58e7de4659abcedf9ae26cbab8\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'
"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-record
-4srzynll\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Python39\Include\sentencepiece' Check the logs for full command output.
PS C:\Users\Thierry\Documents> pip install sentencepiece
Collecting sentencepiece
Downloading sentencepiece-0.1.96-cp39-cp39-win_amd64.whl (1.1 MB)
Installing collected packages: sentencepiece
Successfully installed sentencepiece-0.1.96
PS C:\Users\Thierry\Documents> python -m spacy download fr_dep_news_trf
Collecting fr-dep-news-trf==3.1.0
Downloading https://github.com/explosion/spacy-models/releases/download/fr_dep_news_trf-3.1.0/fr_dep_news_trf-3.1.0-py3-none-any.whl (400.7 MB)
Collecting protobuf
Using cached protobuf-3.18.0-cp39-cp39-win_amd64.whl (912 kB)
Collecting sentencepiece==0.1.91
Using cached sentencepiece-0.1.91.tar.gz (500 kB)
Requirement already satisfied: spacy<3.2.0,>=3.1.0 in c:\python39\lib\site-packages (from fr-dep-news-trf==3.1.0) (3.1.3)
Requirement already satisfied: spacy-transformers<1.1.0,>=1.0.3 in c:\python39\lib\site-packages (from fr-dep-news-trf==3.1.0) (1.0.6)
Requirement already satisfied: blis<0.8.0,>=0.4.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.7.4)
Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (4.62.3)
Requirement already satisfied: numpy>=1.15.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (1.21.2)
Requirement already satisfied: wasabi<1.1.0,>=0.8.1 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.8.2)
Requirement already satisfied: requests<3.0.0,>=2.13.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.26.0)
Requirement already satisfied: typer<0.5.0,>=0.3.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.4.0)
Requirement already satisfied: thinc<8.1.0,>=8.0.9 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (8.0.10)
Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.8 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.0.8)
Requirement already satisfied: srsly<3.0.0,>=2.4.1 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.4.1)
Requirement already satisfied: jinja2 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.0.1)
Requirement already satisfied: pathy>=0.3.5 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.6.0)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.0.5)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (1.0.5)
Requirement already satisfied: packaging>=20.0 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (21.0)
Requirement already satisfied: setuptools in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (58.2.0)
Requirement already satisfied: catalogue<2.1.0,>=2.0.6 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.0.6)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.0.5)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4 in c:\python39\lib\site-packages (from spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (1.8.2)
Requirement already satisfied: pyparsing>=2.0.2 in c:\python39\lib\site-packages (from packaging>=20.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.4.7)
Requirement already satisfied: smart-open<6.0.0,>=5.0.0 in c:\python39\lib\site-packages (from pathy>=0.3.5->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (5.2.1)
Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\python39\lib\site-packages (from pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.10.0.2)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\python39\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (1.26.6)
Requirement already satisfied: certifi>=2017.4.17 in c:\python39\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2021.5.30)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\python39\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in c:\python39\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (3.2)
Requirement already satisfied: spacy-alignments<1.0.0,>=0.7.2 in c:\python39\lib\site-packages (from spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (0.8.3)
Requirement already satisfied: transformers<4.10.0,>=3.4.0 in c:\python39\lib\site-packages (from spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (4.9.2)
Requirement already satisfied: torch>=1.5.0 in c:\python39\lib\site-packages (from spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (1.9.1)
Requirement already satisfied: colorama in c:\python39\lib\site-packages (from tqdm<5.0.0,>=4.38.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (0.4.4)
Requirement already satisfied: sacremoses in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (0.0.46)
Requirement already satisfied: pyyaml>=5.1 in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (5.4.1)
Requirement already satisfied: huggingface-hub==0.0.12 in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (0.0.12)
Requirement already satisfied: filelock in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (3.3.0)
Requirement already satisfied: tokenizers<0.11,>=0.10.1 in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (0.10.3)
Requirement already satisfied: regex!=2019.12.17 in c:\python39\lib\site-packages (from transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (2021.8.28)
Requirement already satisfied: click<9.0.0,>=7.1.1 in c:\python39\lib\site-packages (from typer<0.5.0,>=0.3.0->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (8.0.1)
Requirement already satisfied: MarkupSafe>=2.0 in c:\python39\lib\site-packages (from jinja2->spacy<3.2.0,>=3.1.0->fr-dep-news-trf==3.1.0) (2.0.1)
Requirement already satisfied: six in c:\python39\lib\site-packages (from sacremoses->transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (1.16.0)
Requirement already satisfied: joblib in c:\python39\lib\site-packages (from sacremoses->transformers<4.10.0,>=3.4.0->spacy-transformers<1.1.0,>=1.0.3->fr-dep-news-trf==3.1.0) (1.0.1)
Building wheels for collected packages: sentencepiece
Building wheel for sentencepiece (setup.py): started
Building wheel for sentencepiece (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-yz2xavup\sentencepi
ece_bb6f7d3027f3481bbcd40fd3c10f001d\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-yz2xavup\sentencepiece_bb6f7d3027f3481bbcd40fd3c10f001d\
setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r
\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-wheel-w57g9amk'
cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-yz2xavup\sentencepiece_bb6f7d3027f3481bbcd40fd3c10f001d
Complete output (17 lines):
C:\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'descrip
tion_file' instead
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying sentencepiece.py -> build\lib.win-amd64-3.9
running build_ext
building '_sentencepiece' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Python39\include -IC:\Python39\include
-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.3
0133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10
.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\i
nclude\10.0.19041.0\cppwinrt /EHsc /Tpsentencepiece_wrap.cxx /Fobuild\temp.win-amd64-3.9\Release\sentencepiece_wrap.obj /MT /I..\build\root\include
cl : Ligne de commande warning D9025 : substitution de '/MD' par '/MT'
sentencepiece_wrap.cxx
sentencepiece_wrap.cxx(2777): fatal error C1083: Impossible d'ouvrir le fichier include : 'sentencepiece_processor.h' : No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
ERROR: Failed building wheel for sentencepiece
Running setup.py clean for sentencepiece
Failed to build sentencepiece
Installing collected packages: sentencepiece, protobuf, fr-dep-news-trf
Attempting uninstall: sentencepiece
Found existing installation: sentencepiece 0.1.96
Uninstalling sentencepiece-0.1.96:
Successfully uninstalled sentencepiece-0.1.96
Running setup.py install for sentencepiece: started
Running setup.py install for sentencepiece: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-yz2xavup\sentence
piece_bb6f7d3027f3481bbcd40fd3c10f001d\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-yz2xavup\sentencepiece_bb6f7d3027f3481bbcd40fd3c10f001d
\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'
\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-record-1_uxltvo\install-record.txt' --s
ingle-version-externally-managed --compile --install-headers 'C:\Python39\Include\sentencepiece'
cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-yz2xavup\sentencepiece_bb6f7d3027f3481bbcd40fd3c10f001d
Complete output (17 lines):
C:\Python39\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'descr
iption_file' instead
warnings.warn(
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying sentencepiece.py -> build\lib.win-amd64-3.9
running build_ext
building '_sentencepiece' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Python39\include -IC:\Python39\inclu
de -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29
.30133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include
10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10
\include\10.0.19041.0\cppwinrt /EHsc /Tpsentencepiece_wrap.cxx /Fobuild\temp.win-amd64-3.9\Release\sentencepiece_wrap.obj /MT /I..\build\root\include
cl : Ligne de commande warning D9025 : substitution de '/MD' par '/MT'
sentencepiece_wrap.cxx
sentencepiece_wrap.cxx(2777): fatal error C1083: Impossible d'ouvrir le fichier include : 'sentencepiece_processor.h' : No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
----------------------------------------
Rolling back uninstall of sentencepiece
Moving to c:\python39\lib\site-packages\sentencepiece-0.1.96.dist-info
from C:\Python39\Lib\site-packages~entencepiece-0.1.96.dist-info
Moving to c:\python39\lib\site-packages\sentencepiece
from C:\Python39\Lib\site-packages~entencepiece
ERROR: Command errored out with exit status 1: 'C:\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTem
p\pip-install-yz2xavup\sentencepiece_bb6f7d3027f3481bbcd40fd3c10f001d\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-yz2xavup\sentencepiece
_bb6f7d3027f3481bbcd40fd3c10f001d\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'
"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-record
-1_uxltvo\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Python39\Include\sentencepiece' Check the logs for full command output.
The text was updated successfully, but these errors were encountered: