bab2min / lamonpy Goto Github PK
View Code? Open in Web Editor NEWLatin POS Tagger & Lemmatizer for Python
License: MIT License
Latin POS Tagger & Lemmatizer for Python
License: MIT License
When I run pip install lamonpy
on my computer it results in an error message about missing Eigen/Dense
. I got it working by cloning the repo, creating an include
folder, and pasting the Eigen
folder into it before running pip install .
in the directory.
> pip install lamonpy
Collecting lamonpy
Using cached lamonpy-0.2.0.tar.gz (43.6 MB)
Requirement already satisfied: py-cpuinfo in c:\users\maybells\documents\coding\python\lemma review\venv\lib\site-packages (from lamonpy) (8.0.0)
Requirement already satisfied: numpy>=1.10.0 in c:\users\maybells\documents\coding\python\lemma review\venv\lib\site-packages (from lamonpy) (1.21.0)
Building wheels for collected packages: lamonpy
Building wheel for lamonpy (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\maybells\documents\coding\python\lemma review\venv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Maybells\\AppData\\Local\\Temp\\pip-install-mbtz8_r5\\lamonpy_487628ef84174edfb5d98b288fb7927d\\setup.py'"'"'; __file__='"'"'C:\\Users\\Maybells\\AppData\\Local\\Temp\\pip-install-mbtz8_r5\\lamonpy_487628ef84174edfb5d98b288fb7927d\\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\Maybells\AppData\Local\Temp\pip-wheel-2dhnbr7c'
cwd: C:\Users\Maybells\AppData\Local\Temp\pip-install-mbtz8_r5\lamonpy_487628ef84174edfb5d98b288fb7927d\
Complete output (29 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\lamonpy
copying lamonpy\__init__.py -> build\lib.win-amd64-3.9\lamonpy
running egg_info
writing lamonpy.egg-info\PKG-INFO
writing dependency_links to lamonpy.egg-info\dependency_links.txt
writing requirements to lamonpy.egg-info\requires.txt
writing top-level names to lamonpy.egg-info\top_level.txt
adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*')
reading manifest file 'lamonpy.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
writing manifest file 'lamonpy.egg-info\SOURCES.txt'
copying lamonpy\dict.bin -> build\lib.win-amd64-3.9\lamonpy
copying lamonpy\tagger.bin -> build\lib.win-amd64-3.9\lamonpy
running build_ext
building '_lamonpy' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DMODULE_NAME=PyInit__lamonpy -Iinclude -Ic:\users\maybells\documents\coding\python\lemma review\venv\lib\site-packages\numpy\core\include -Ic:\users\maybells\documents\coding\python\lemma review\venv\include -IC:\Users\Maybells\AppData\Local\Programs\Python\Python39\include -IC:\Users\Maybells\AppData\Local\Programs\Python\Python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include
-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 /Tpsrc/Lemmatizer.cpp /Fobuild\temp.win-amd64-3.9\Release\src/Lemmatizer.obj /O2 /MT /Gy
cl : Command line warning D9025 : overriding '/MD' with '/MT'
Lemmatizer.cpp
C:\Users\Maybells\AppData\Local\Temp\pip-install-mbtz8_r5\lamonpy_487628ef84174edfb5d98b288fb7927d\src\layers.hpp(6): fatal error C1083: Cannot open include file: 'Eigen/Dense': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Failed building wheel for lamonpy
Running setup.py clean for lamonpy
Failed to build lamonpy
Installing collected packages: lamonpy
Running setup.py install for lamonpy ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\maybells\documents\coding\python\lemma review\venv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Maybells\\AppData\\Local\\Temp\\pip-install-mbtz8_r5\\lamonpy_487628ef84174edfb5d98b288fb7927d\\setup.py'"'"'; __file__='"'"'C:\\Users\\Maybells\\AppData\\Local\\Temp\\pip-install-mbtz8_r5\\lamonpy_487628ef84174edfb5d98b288fb7927d\\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\Maybells\AppData\Local\Temp\pip-record-tdtj1wju\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\maybells\documents\coding\python\lemma review\venv\include\site\python3.9\lamonpy'
cwd: C:\Users\Maybells\AppData\Local\Temp\pip-install-mbtz8_r5\lamonpy_487628ef84174edfb5d98b288fb7927d\
Complete output (29 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\lamonpy
copying lamonpy\__init__.py -> build\lib.win-amd64-3.9\lamonpy
running egg_info
writing lamonpy.egg-info\PKG-INFO
writing dependency_links to lamonpy.egg-info\dependency_links.txt
writing requirements to lamonpy.egg-info\requires.txt
writing top-level names to lamonpy.egg-info\top_level.txt
adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*')
reading manifest file 'lamonpy.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
writing manifest file 'lamonpy.egg-info\SOURCES.txt'
copying lamonpy\dict.bin -> build\lib.win-amd64-3.9\lamonpy
copying lamonpy\tagger.bin -> build\lib.win-amd64-3.9\lamonpy
running build_ext
building '_lamonpy' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG
/MD -DMODULE_NAME=PyInit__lamonpy -Iinclude -Ic:\users\maybells\documents\coding\python\lemma review\venv\lib\site-packages\numpy\core\include -Ic:\users\maybells\documents\coding\python\lemma review\venv\include -IC:\Users\Maybells\AppData\Local\Programs\Python\Python39\include -IC:\Users\Maybells\AppData\Local\Programs\Python\Python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -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 /Tpsrc/Lemmatizer.cpp /Fobuild\temp.win-amd64-3.9\Release\src/Lemmatizer.obj /O2 /MT /Gy
cl : Command line warning D9025 : overriding '/MD' with '/MT'
Lemmatizer.cpp
C:\Users\Maybells\AppData\Local\Temp\pip-install-mbtz8_r5\lamonpy_487628ef84174edfb5d98b288fb7927d\src\layers.hpp(6): fatal error C1083: Cannot
open include file: 'Eigen/Dense': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\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:\users\maybells\documents\coding\python\lemma review\venv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Maybells\\AppData\\Local\\Temp\\pip-install-mbtz8_r5\\lamonpy_487628ef84174edfb5d98b288fb7927d\\setup.py'"'"'; __file__='"'"'C:\\Users\\Maybells\\AppData\\Local\\Temp\\pip-install-mbtz8_r5\\lamonpy_487628ef84174edfb5d98b288fb7927d\\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\Maybells\AppData\Local\Temp\pip-record-tdtj1wju\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\maybells\documents\coding\python\lemma review\venv\include\site\python3.9\lamonpy' Check the logs for full command output.
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.