rmit-ir / krovetzstemmer Goto Github PK
View Code? Open in Web Editor NEWPython binding to the KrovetzStemmer package (C++ version)
License: MIT License
Python binding to the KrovetzStemmer package (C++ version)
License: MIT License
Hi,
I have this error when trying to installing on windows 10 64bit:
pip install krovetzstemmer
Collecting krovetzstemmer
Using cached KrovetzStemmer-0.5.tar.gz
Building wheels for collected packages: krovetzstemmer
Running setup.py bdist_wheel for krovetzstemmer: started
Running setup.py bdist_wheel for krovetzstemmer: finished with status 'error'
Complete output from command C:\ProgramData\Miniconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Jean\AppData\Local\Temp\pip-build-widgdg1m\krovetzstemmer\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\Jean\AppData\Local\Temp\tmpsooe279ipip-wheel- --python-tag cp35:
running bdist_wheel
running build
running build_ext
building 'krovetzstemmer' extension
creating build
creating build\temp.win-amd64-3.5
creating build\temp.win-amd64-3.5\Release
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\ProgramData\Miniconda3\include -IC:\ProgramData\Miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /EHsc /Tpkrovetzstemmer_module.cpp /Fobuild\temp.win-amd64-3.5\Release\krovetzstemmer_module.obj
krovetzstemmer_module.cpp
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\hash_map(17): error C2338: <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
Failed building wheel for krovetzstemmer
Running setup.py clean for krovetzstemmer
Failed to build krovetzstemmer
Installing collected packages: krovetzstemmer
Running setup.py install for krovetzstemmer: started
Running setup.py install for krovetzstemmer: finished with status 'error'
Complete output from command C:\ProgramData\Miniconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Jean\AppData\Local\Temp\pip-build-widgdg1m\krovetzstemmer\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\Jean\AppData\Local\Temp\pip-ubotddeo-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'krovetzstemmer' extension
creating build
creating build\temp.win-amd64-3.5
creating build\temp.win-amd64-3.5\Release
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\ProgramData\Miniconda3\include -IC:\ProgramData\Miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /EHsc /Tpkrovetzstemmer_module.cpp /Fobuild\temp.win-amd64-3.5\Release\krovetzstemmer_module.obj
krovetzstemmer_module.cpp
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\hash_map(17): error C2338: <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
Command "C:\ProgramData\Miniconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Jean\AppData\Local\Temp\pip-build-widgdg1m\krovetzstemmer\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\Jean\AppData\Local\Temp\pip-ubotddeo-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Jean\AppData\Local\Temp\pip-build-widgdg1m\krovetzstemmer\
Do you have any idea?
Thank you.
How to run this using python 3?
Trying last release : 0.7.
$ pip install KrovetzStemmer
Collecting KrovetzStemmer
Using cached https://files.pythonhosted.org/packages/46/37/2a99dd9738799a1d0ef69483a415a29ebf0d2dec69f19d9c3a3940a401e3/KrovetzStemmer-0.7.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-lxw4loqy/KrovetzStemmer/setup.py", line 9, in <module>
long_description = open('README.md').read()
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lxw4loqy/KrovetzStemmer/
$ python -V
Python 3.6.9
Hi,
I have this error when trying to install on windows 11 64bit, Python 3.8:
pip install krovetzstemmer
Collecting krovetzstemmer
Using cached KrovetzStemmer-0.8.tar.gz (112 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: krovetzstemmer
Building wheel for krovetzstemmer (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for krovetzstemmer
Running setup.py clean for krovetzstemmer
Failed to build krovetzstemmer
ERROR: Could not build wheels for krovetzstemmer, which is required to install pyproject.toml-based projects
Do you have any idea?
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.