Hi!
Trying to install jamspell on windows 10, and getting an error
Full log
Building wheels for collected packages: jamspell
Running setup.py bdist_wheel for jamspell ... error
Complete output from command c:\anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\blago\AppData\Local\Temp\pip-install-kwnezrz5\jamspell\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\blago\AppData\Local\Temp\pip-wheel-wwi_ejm1 --python-tag cp36:
running bdist_wheel
running build
running build_ext
building '_jamspell' extension
swigging jamspell.i to jamspell_wrap.cpp
c:\anaconda3\Library\bin\swig.exe -python -c++ -o jamspell_wrap.cpp jamspell.i
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\jamspell
creating build\temp.win-amd64-3.6\Release\contrib
creating build\temp.win-amd64-3.6\Release\contrib\cityhash
creating build\temp.win-amd64-3.6\Release\contrib\phf
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -Ijamspell -Ic:\anaconda3\include -Ic:\anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /Tpjamspell\lang_model.cpp /Fobuild\temp.win-amd64-3.6\Release\jamspell\lang_model.obj -std=c++11 -O2
cl: командная строка warning D9002: пропуск неизвестного параметра "-std=c++11"
lang_model.cpp
jamspell\lang_model.cpp(155): warning C4267: =: преобразование из "size_t" в "NJamSpell::TWordId"; возможна потеря данных
.\contrib/handypack/handypack.hpp(134): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(133): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\lang_model.hpp(51): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TUnorderedMapSerializer<tsl::robin_map<std::wstring,NJamSpell::TWordId,std::hash,std::equal_to,std::allocator<std::pair<Key,T>>,false,tsl::rh::power_of_two_growth_policy<2>>,std::wstring,NJamSpell::TWordId>::Dump(std::ostream &,const TVec &)"
with
[
Key=std::wstring,
T=NJamSpell::TWordId,
TVec=tsl::robin_map<std::wstring,NJamSpell::TWordId,std::hashstd::wstring,std::equal_tostd::wstring,std::allocator<std::pairstd::wstring,NJamSpell::TWordId>,false,tsl::rh::power_of_two_growth_policy<2>>
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\lang_model.hpp(47): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TUnorderedMapSerializer<tsl::robin_map<std::wstring,NJamSpell::TWordId,std::hash,std::equal_to,std::allocator<std::pair<Key,T>>,false,tsl::rh::power_of_two_growth_policy<2>>,std::wstring,NJamSpell::TWordId>"
with
[
Key=std::wstring,
T=NJamSpell::TWordId
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\contrib\tsl\robin_growth_policy.h(186): note: выполняется компиляция ссылки на экземпляр шаблон класс "std::array<::size_t,39>"
.\contrib/handypack/handypack.hpp(158): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(157): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TSetSerializer<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>,T>::Dump(std::ostream &,const TVec &)"
with
[
_Kty=wchar_t,
T=wchar_t,
TVec=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
.\contrib/handypack/handypack.hpp(184): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TSetSerializer<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>,T>"
with
[
_Kty=wchar_t,
T=wchar_t
]
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TSerializer<T,void>"
with
[
T=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\utils.hpp(50): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::Dump<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>>(std::ostream &,const T &)"
with
[
_Kty=wchar_t,
T=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
.\contrib/handypack/handypack.hpp(87): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(86): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TVectorSerializerstd::wstring,wchar_t::Dump(std::ostream &,const TVec &)"
with
[
TVec=std::wstring
]
.\contrib/handypack/handypack.hpp(180): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TVectorSerializerstd::wstring,wchar_t"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -Ijamspell -Ic:\anaconda3\include -Ic:\anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /Tpjamspell\spell_corrector.cpp /Fobuild\temp.win-amd64-3.6\Release\jamspell\spell_corrector.obj -std=c++11 -O2
cl: командная строка warning D9002: пропуск неизвестного параметра "-std=c++11"
spell_corrector.cpp
.\contrib/handypack/handypack.hpp(134): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(133): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\lang_model.hpp(51): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TUnorderedMapSerializer<tsl::robin_map<std::wstring,NJamSpell::TWordId,std::hash,std::equal_to,std::allocator<std::pair<Key,T>>,false,tsl::rh::power_of_two_growth_policy<2>>,std::wstring,NJamSpell::TWordId>::Dump(std::ostream &,const TVec &)"
with
[
Key=std::wstring,
T=NJamSpell::TWordId,
TVec=tsl::robin_map<std::wstring,NJamSpell::TWordId,std::hashstd::wstring,std::equal_tostd::wstring,std::allocator<std::pairstd::wstring,NJamSpell::TWordId>,false,tsl::rh::power_of_two_growth_policy<2>>
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\lang_model.hpp(47): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TUnorderedMapSerializer<tsl::robin_map<std::wstring,NJamSpell::TWordId,std::hash,std::equal_to,std::allocator<std::pair<Key,T>>,false,tsl::rh::power_of_two_growth_policy<2>>,std::wstring,NJamSpell::TWordId>"
with
[
Key=std::wstring,
T=NJamSpell::TWordId
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\contrib\tsl\robin_growth_policy.h(186): note: выполняется компиляция ссылки на экземпляр шаблон класс "std::array<::size_t,39>"
.\contrib/handypack/handypack.hpp(158): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(157): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TSetSerializer<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>,T>::Dump(std::ostream &,const TVec &)"
with
[
_Kty=wchar_t,
T=wchar_t,
TVec=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
.\contrib/handypack/handypack.hpp(184): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TSetSerializer<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>,T>"
with
[
_Kty=wchar_t,
T=wchar_t
]
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TSerializer<T,void>"
with
[
T=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\utils.hpp(50): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::Dump<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>>(std::ostream &,const T &)"
with
[
_Kty=wchar_t,
T=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
.\contrib/handypack/handypack.hpp(87): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(86): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TVectorSerializerstd::wstring,wchar_t::Dump(std::ostream &,const TVec &)"
with
[
TVec=std::wstring
]
.\contrib/handypack/handypack.hpp(180): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TVectorSerializerstd::wstring,wchar_t"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -Ijamspell -Ic:\anaconda3\include -Ic:\anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /Tpjamspell\utils.cpp /Fobuild\temp.win-amd64-3.6\Release\jamspell\utils.obj -std=c++11 -O2
cl: командная строка warning D9002: пропуск неизвестного параметра "-std=c++11"
utils.cpp
.\contrib/handypack/handypack.hpp(158): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(157): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TSetSerializer<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>,T>::Dump(std::ostream &,const TVec &)"
with
[
_Kty=wchar_t,
T=wchar_t,
TVec=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
.\contrib/handypack/handypack.hpp(184): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TSetSerializer<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>,T>"
with
[
_Kty=wchar_t,
T=wchar_t
]
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TSerializer<T,void>"
with
[
T=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\utils.hpp(50): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::Dump<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>>(std::ostream &,const T &)"
with
[
_Kty=wchar_t,
T=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -Ijamspell -Ic:\anaconda3\include -Ic:\anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /Tpjamspell\perfect_hash.cpp /Fobuild\temp.win-amd64-3.6\Release\jamspell\perfect_hash.obj -std=c++11 -O2
cl: командная строка warning D9002: пропуск неизвестного параметра "-std=c++11"
perfect_hash.cpp
jamspell\perfect_hash.cpp(75): warning C4267: return: преобразование из "size_t" в "uint32_t"; возможна потеря данных
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -Ijamspell -Ic:\anaconda3\include -Ic:\anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /Tpjamspell\bloom_filter.cpp /Fobuild\temp.win-amd64-3.6\Release\jamspell\bloom_filter.obj -std=c++11 -O2
cl: командная строка warning D9002: пропуск неизвестного параметра "-std=c++11"
bloom_filter.cpp
.\contrib/handypack/handypack.hpp(87): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(86): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TVectorSerializer<std::vector<bloom_filter::bloom_type,std::allocator<_Ty>>,T>::Dump(std::ostream &,const TVec &)"
with
[
_Ty=bloom_filter::bloom_type,
T=bloom_filter::bloom_type,
TVec=std::vector<bloom_filter::bloom_type,std::allocator<bloom_filter::bloom_type>>
]
.\contrib/handypack/handypack.hpp(177): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TVectorSerializer<std::vector<bloom_filter::bloom_type,std::allocator<_Ty>>,T>"
with
[
_Ty=bloom_filter::bloom_type,
T=bloom_filter::bloom_type
]
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TSerializer<T,void>"
with
[
T=std::vector<bloom_filter::bloom_type,std::allocator<bloom_filter::bloom_type>>
]
.\contrib/handypack/handypack.hpp(207): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::Dump(std::ostream &,const T &)"
with
[
T=std::vector<bloom_filter::bloom_type,std::allocator<bloom_filter::bloom_type>>
]
jamspell\bloom_filter.cpp(18): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::Dump<std::vector<bloom_filter::bloom_type,std::allocator<_Ty>>,std::vector<unsigned char,std::allocator>,unsigned int,unsigned __int64,unsigned __int64,unsigned __int64,unsigned __int64,double>(std::ostream &,const T &,const std::vector<unsigned char,std::allocator> &,const unsigned int &,const unsigned __int64 &,const unsigned __int64 &,const unsigned __int64 &,const unsigned __int64 &,const double &)"
with
[
_Ty=bloom_filter::bloom_type,
T=std::vector<bloom_filter::bloom_type,std::allocator<bloom_filter::bloom_type>>
]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -Ijamspell -Ic:\anaconda3\include -Ic:\anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /Tpcontrib\cityhash\city.cc /Fobuild\temp.win-amd64-3.6\Release\contrib\cityhash\city.obj -std=c++11 -O2
cl: командная строка warning D9002: пропуск неизвестного параметра "-std=c++11"
city.cc
contrib\cityhash\city.cc(165): warning C4267: инициализация: преобразование из "size_t" в "uint32"; возможна потеря данных
contrib\cityhash\city.cc(178): warning C4267: аргумент: преобразование из "size_t" в "uint32"; возможна потеря данных
contrib\cityhash\city.cc(182): warning C4267: инициализация: преобразование из "size_t" в "uint32"; возможна потеря данных
contrib\cityhash\city.cc(197): warning C4267: инициализация: преобразование из "size_t" в "uint32"; возможна потеря данных
contrib\cityhash\city.cc(302): warning C4267: инициализация: преобразование из "size_t" в "uint32"; возможна потеря данных
contrib\cityhash\city.cc(420): warning C4267: инициализация: преобразование из "size_t" в "long"; возможна потеря данных
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -Ijamspell -Ic:\anaconda3\include -Ic:\anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /Tpcontrib\phf\phf.cc /Fobuild\temp.win-amd64-3.6\Release\contrib\phf\phf.obj -std=c++11 -O2
cl: командная строка warning D9002: пропуск неизвестного параметра "-std=c++11"
phf.cc
contrib\phf\phf.cc(414): warning C4244: аргумент: преобразование "uint64_t" в "uint32_t", возможна потеря данных
contrib\phf\phf.cc(578): warning C4267: аргумент: преобразование из "size_t" в "uint32_t"; возможна потеря данных
contrib\phf\phf.cc(682): note: выполняется компиляция ссылки на экземпляр шаблон функции "int PHF::init<uint32_t,true>(phf *,const uint32_t [],const ::size_t,const ::size_t,const ::size_t,const phf_seed_t)"
contrib\phf\phf.cc(583): warning C4267: аргумент: преобразование из "size_t" в "uint32_t"; возможна потеря данных
contrib\phf\phf.cc(595): warning C4267: аргумент: преобразование из "size_t" в "uint32_t"; возможна потеря данных
contrib\phf\phf.cc(600): warning C4267: =: преобразование из "size_t" в "uint32_t"; возможна потеря данных
contrib\phf\phf.cc(601): warning C4267: =: преобразование из "size_t" в "uint32_t"; возможна потеря данных
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -Ijamspell -Ic:\anaconda3\include -Ic:\anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /Tpjamspell_wrap.cpp /Fobuild\temp.win-amd64-3.6\Release\jamspell_wrap.obj -std=c++11 -O2
cl: командная строка warning D9002: пропуск неизвестного параметра "-std=c++11"
jamspell_wrap.cpp
.\contrib/handypack/handypack.hpp(134): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(133): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\lang_model.hpp(51): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TUnorderedMapSerializer<tsl::robin_map<std::wstring,NJamSpell::TWordId,std::hash,std::equal_to,std::allocator<std::pair<Key,T>>,false,tsl::rh::power_of_two_growth_policy<2>>,std::wstring,NJamSpell::TWordId>::Dump(std::ostream &,const TVec &)"
with
[
Key=std::wstring,
T=NJamSpell::TWordId,
TVec=tsl::robin_map<std::wstring,NJamSpell::TWordId,std::hashstd::wstring,std::equal_tostd::wstring,std::allocator<std::pairstd::wstring,NJamSpell::TWordId>,false,tsl::rh::power_of_two_growth_policy<2>>
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\lang_model.hpp(47): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TUnorderedMapSerializer<tsl::robin_map<std::wstring,NJamSpell::TWordId,std::hash,std::equal_to,std::allocator<std::pair<Key,T>>,false,tsl::rh::power_of_two_growth_policy<2>>,std::wstring,NJamSpell::TWordId>"
with
[
Key=std::wstring,
T=NJamSpell::TWordId
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\contrib\tsl\robin_growth_policy.h(186): note: выполняется компиляция ссылки на экземпляр шаблон класс "std::array<::size_t,39>"
.\contrib/handypack/handypack.hpp(158): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(157): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TSetSerializer<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>,T>::Dump(std::ostream &,const TVec &)"
with
[
_Kty=wchar_t,
T=wchar_t,
TVec=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
.\contrib/handypack/handypack.hpp(184): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TSetSerializer<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>,T>"
with
[
_Kty=wchar_t,
T=wchar_t
]
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TSerializer<T,void>"
with
[
T=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
c:\users\blago\appdata\local\temp\pip-install-kwnezrz5\jamspell\jamspell\utils.hpp(50): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::Dump<std::unordered_set<wchar_t,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<wchar_t>>>(std::ostream &,const T &)"
with
[
_Kty=wchar_t,
T=std::unordered_set<wchar_t,std::hash<wchar_t>,std::equal_to<wchar_t>,std::allocator<wchar_t>>
]
.\contrib/handypack/handypack.hpp(87): warning C4267: инициализация: преобразование из "size_t" в "uint32_t"; возможна потеря данных
.\contrib/handypack/handypack.hpp(86): note: при компиляции функции-члена "<Нет данных>" класса класс <Нет данных>
.\contrib/handypack/handypack.hpp(202): note: выполняется компиляция ссылки на экземпляр шаблон функции "void NHandyPack::TVectorSerializerstd::wstring,wchar_t::Dump(std::ostream &,const TVec &)"
with
[
TVec=std::wstring
]
.\contrib/handypack/handypack.hpp(180): note: выполняется компиляция ссылки на экземпляр шаблон класс "NHandyPack::TVectorSerializerstd::wstring,wchar_t"
creating C:\Users\blago\AppData\Local\Temp\pip-install-kwnezrz5\jamspell\build\lib.win-amd64-3.6
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:c:\anaconda3\libs /LIBPATH:c:\anaconda3\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" /EXPORT:PyInit__jamspell build\temp.win-amd64-3.6\Release\jamspell\lang_model.obj build\temp.win-amd64-3.6\Release\jamspell\spell_corrector.obj build\temp.win-amd64-3.6\Release\jamspell\utils.obj build\temp.win-amd64-3.6\Release\jamspell\perfect_hash.obj build\temp.win-amd64-3.6\Release\jamspell\bloom_filter.obj build\temp.win-amd64-3.6\Release\contrib\cityhash\city.obj build\temp.win-amd64-3.6\Release\contrib\phf\phf.obj build\temp.win-amd64-3.6\Release\jamspell_wrap.obj /OUT:build\lib.win-amd64-3.6_jamspell.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\jamspell_jamspell.cp36-win_amd64.lib
Создается библиотека build\temp.win-amd64-3.6\Release\jamspell_jamspell.cp36-win_amd64.lib и объект build\temp.win-amd64-3.6\Release\jamspell_jamspell.cp36-win_amd64.exp
Создание кода
Создание кода завершено
running build_py
copying jamspell.py -> build\lib.win-amd64-3.6
running egg_info
writing jamspell.egg-info\PKG-INFO
writing dependency_links to jamspell.egg-info\dependency_links.txt
writing top-level names to jamspell.egg-info\top_level.txt
reading manifest file 'jamspell.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'jamspell.egg-info\SOURCES.txt'
installing to build\bdist.win-amd64\wheel
running install
Checking .pth file support in build\bdist.win-amd64\wheel.
c:\anaconda3\pythonw.exe -E -c pass
TEST FAILED: build\bdist.win-amd64\wheel.\ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
build\bdist.win-amd64\wheel\.\
and your PYTHONPATH environment variable currently contains:
Here are some of your options for correcting the problem:
-
You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
-
You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
-
You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again.
Failed building wheel for jamspell