Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant install extractnet package #14

Open
ahgsql opened this issue Apr 21, 2023 · 2 comments
Open

cant install extractnet package #14

ahgsql opened this issue Apr 21, 2023 · 2 comments

Comments

@ahgsql
Copy link

ahgsql commented Apr 21, 2023

$ pip3 install extractnet
Collecting extractnet
  Using cached extractnet-2.0.7.tar.gz (1.8 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: cchardet>=2.1.7 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (2.1.7)
Requirement already satisfied: beautifulsoup4==4.9.3 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (4.9.3)
Requirement already satisfied: ftfy<5.0.0,>=4.1.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (4.4.3)
Requirement already satisfied: numpy>=1.19.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (1.24.2)
Requirement already satisfied: onnxruntime>=1.9.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (1.14.1)
Requirement already satisfied: scikit-learn>=0.22.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (1.0.2)
Requirement already satisfied: tld==0.12.6 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (0.12.6)
Requirement already satisfied: scipy>=0.17.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (1.10.1)
Requirement already satisfied: sklearn-crfsuite==0.3.6 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (0.3.6)
Requirement already satisfied: dateparser==1.1.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (1.1.0)
Requirement already satisfied: joblib>=1.1.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (1.2.0)
Requirement already satisfied: htmldate==0.7.2 in c:\users\aligulec\.platformio\penv\lib\site-packages (from extractnet) (0.7.2)
Requirement already satisfied: soupsieve>1.2 in c:\users\aligulec\.platformio\penv\lib\site-packages (from beautifulsoup4==4.9.3->extractnet) (2.4)
Requirement already satisfied: pytz in c:\users\aligulec\.platformio\penv\lib\site-packages (from dateparser==1.1.0->extractnet) (2023.3)
Requirement already satisfied: tzlocal in c:\users\aligulec\.platformio\penv\lib\site-packages (from dateparser==1.1.0->extractnet) (4.3)
Requirement already satisfied: regex!=2019.02.19,!=2021.8.27 in c:\users\aligulec\.platformio\penv\lib\site-packages (from dateparser==1.1.0->extractnet) (2023.3.23)
Requirement already satisfied: python-dateutil in c:\users\aligulec\.platformio\penv\lib\site-packages (from dateparser==1.1.0->extractnet) (2.8.2)
Requirement already satisfied: requests>=2.21.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from htmldate==0.7.2->extractnet) (2.28.2)
Requirement already satisfied: lxml>=4.5.2 in c:\users\aligulec\.platformio\penv\lib\site-packages (from htmldate==0.7.2->extractnet) (4.9.2)
Requirement already satisfied: six in c:\users\aligulec\.platformio\penv\lib\site-packages (from sklearn-crfsuite==0.3.6->extractnet) (1.16.0)
Requirement already satisfied: tabulate in c:\users\aligulec\.platformio\penv\lib\site-packages (from sklearn-crfsuite==0.3.6->extractnet) (0.9.0)
Requirement already satisfied: tqdm>=2.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from sklearn-crfsuite==0.3.6->extractnet) (4.65.0)
Requirement already satisfied: python-crfsuite>=0.8.3 in c:\users\aligulec\.platformio\penv\lib\site-packages (from sklearn-crfsuite==0.3.6->extractnet) (0.9.9)
Requirement already satisfied: html5lib in c:\users\aligulec\.platformio\penv\lib\site-packages (from ftfy<5.0.0,>=4.1.0->extractnet) (1.1)
Requirement already satisfied: wcwidth in c:\users\aligulec\.platformio\penv\lib\site-packages (from ftfy<5.0.0,>=4.1.0->extractnet) (0.2.6)
Requirement already satisfied: sympy in c:\users\aligulec\.platformio\penv\lib\site-packages (from onnxruntime>=1.9.0->extractnet) (1.11.1)
Requirement already satisfied: coloredlogs in c:\users\aligulec\.platformio\penv\lib\site-packages (from onnxruntime>=1.9.0->extractnet) (15.0.1)
Requirement already satisfied: flatbuffers in c:\users\aligulec\.platformio\penv\lib\site-packages (from onnxruntime>=1.9.0->extractnet) (23.3.3)
Requirement already satisfied: protobuf in c:\users\aligulec\.platformio\penv\lib\site-packages (from onnxruntime>=1.9.0->extractnet) (3.20.3)
Requirement already satisfied: packaging in c:\users\aligulec\.platformio\penv\lib\site-packages (from onnxruntime>=1.9.0->extractnet) (23.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\aligulec\.platformio\penv\lib\site-packages (from scikit-learn>=0.22.0->extractnet) (3.1.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\aligulec\.platformio\penv\lib\site-packages (from requests>=2.21.0->htmldate==0.7.2->extractnet) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\aligulec\.platformio\penv\lib\site-packages (from requests>=2.21.0->htmldate==0.7.2->extractnet) (1.26.14)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\aligulec\.platformio\penv\lib\site-packages (from requests>=2.21.0->htmldate==0.7.2->extractnet) (3.0.1)
Requirement already satisfied: idna<4,>=2.5 in c:\users\aligulec\.platformio\penv\lib\site-packages (from requests>=2.21.0->htmldate==0.7.2->extractnet) (3.4)
Requirement already satisfied: colorama in c:\users\aligulec\.platformio\penv\lib\site-packages (from tqdm>=2.0->sklearn-crfsuite==0.3.6->extractnet) (0.4.6)
Requirement already satisfied: humanfriendly>=9.1 in c:\users\aligulec\.platformio\penv\lib\site-packages (from coloredlogs->onnxruntime>=1.9.0->extractnet) (10.0)
Requirement already satisfied: webencodings in c:\users\aligulec\.platformio\penv\lib\site-packages (from html5lib->ftfy<5.0.0,>=4.1.0->extractnet) (0.5.1)
Requirement already satisfied: mpmath>=0.19 in c:\users\aligulec\.platformio\penv\lib\site-packages (from sympy->onnxruntime>=1.9.0->extractnet) (1.3.0)
Requirement already satisfied: tzdata in c:\users\aligulec\.platformio\penv\lib\site-packages (from tzlocal->dateparser==1.1.0->extractnet) (2023.3)
Requirement already satisfied: pytz-deprecation-shim in c:\users\aligulec\.platformio\penv\lib\site-packages (from tzlocal->dateparser==1.1.0->extractnet) (0.1.0.post0)
Requirement already satisfied: pyreadline3 in c:\users\aligulec\.platformio\penv\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime>=1.9.0->extractnet) (3.4.1)
Building wheels for collected packages: extractnet
  Building wheel for extractnet (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [70 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-310
      creating build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\compat.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\name_crf.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\nn_models.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\pipeline.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\util.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\__init__.py -> build\lib.win-amd64-cpython-310\extractnet
      creating build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\author.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\css.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\kohlschuetter.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\readability.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\standardized.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\weninger.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\__init__.py -> build\lib.win-amd64-cpython-310\extractnet\features
      creating build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\constant.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\json_ld.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\metadata.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\metaxpaths.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\url_utils.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\utils.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\video.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      creating build\lib.win-amd64-cpython-310\extractnet\sequence_tagger
      copying extractnet\sequence_tagger\models.py -> build\lib.win-amd64-cpython-310\extractnet\sequence_tagger
      copying extractnet\sequence_tagger\__init__.py -> build\lib.win-amd64-cpython-310\extractnet\sequence_tagger
      creating build\lib.win-amd64-cpython-310\extractnet\models
      copying extractnet\models\char_embedding.joblib -> build\lib.win-amd64-cpython-310\extractnet\models
      copying extractnet\models\crf.joblib -> build\lib.win-amd64-cpython-310\extractnet\models
      copying extractnet\models\news_net.onnx -> build\lib.win-amd64-cpython-310\extractnet\models
      copying extractnet\blocks.cpp -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\blocks.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\blocks.pyx -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\lcs.cpp -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\lcs.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\lcs.pyx -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\features\_kohlschuetter.cpp -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_kohlschuetter.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_kohlschuetter.pyx -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_readability.cc -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_readability.cpp -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_readability.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_readability.pyx -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_weninger.cpp -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_weninger.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_weninger.pyx -> build\lib.win-amd64-cpython-310\extractnet\features
      running build_ext
      building 'extractnet.lcs' extension
      creating build\temp.win-amd64-cpython-310
      creating build\temp.win-amd64-cpython-310\Release
      creating build\temp.win-amd64-cpython-310\Release\extractnet
      "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\numpy\core\include -IC:\Users\AliGulec\.platformio\penv\include "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\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 /Tpextractnet/lcs.cpp /Fobuild\temp.win-amd64-cpython-310\Release\extractnet/lcs.obj
      lcs.cpp
      C:\Users\AliGulec\.platformio\penv\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
      extractnet/lcs.cpp(2184): warning C4244: '=': 'Py_ssize_t' - 'int' d”n\x81Ÿ\x81m\x81; veri kayb\x8d olabilir
      extractnet/lcs.cpp(2194): warning C4244: '=': 'Py_ssize_t' - 'int' d”n\x81Ÿ\x81m\x81; veri kayb\x8d olabilir
      "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\AliGulec\.platformio\penv\libs "/LIBPATH:C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\libs" "/LIBPATH:C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0" /LIBPATH:C:\Users\AliGulec\.platformio\penv\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" /EXPORT:PyInit_lcs build\temp.win-amd64-cpython-310\Release\extractnet/lcs.obj /OUT:build\lib.win-amd64-cpython-310\extractnet\lcs.cp310-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-310\Release\extractnet\lcs.cp310-win_amd64.lib
         build\temp.win-amd64-cpython-310\Release\extractnet\lcs.cp310-win_amd64.lib kitapl\x8d§\x8d ve build\temp.win-amd64-cpython-310\Release\extractnet\lcs.cp310-win_amd64.exp nesnesi oluŸturuluyor
      Kod \x81retiliyor
      Kodun \x81retilmesi tamamland\x8d
      building 'extractnet.blocks' extension
      "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\extlibs -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\libexslt -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\libxml -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\libxslt -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\__pycache__ -IC:\Users\AliGulec\.platformio\penv\include "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\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 /Tpextractnet/blocks.cpp /Fobuild\temp.win-amd64-cpython-310\Release\extractnet/blocks.obj
      blocks.cpp
      C:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\libxml/encoding.h(28): fatal error C1083: i‡erme dosyas\x8d a‡\x8dlam\x8dyor: 'iconv.h': 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
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for extractnet
  Running setup.py clean for extractnet
Failed to build extractnet
Installing collected packages: extractnet
  Running setup.py install for extractnet ... error
  error: subprocess-exited-with-error

  × Running setup.py install for extractnet did not run successfully.
  │ exit code: 1
  ╰─> [72 lines of output]
      running install
      C:\Users\AliGulec\.platformio\penv\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-310
      creating build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\compat.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\name_crf.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\nn_models.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\pipeline.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\util.py -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\__init__.py -> build\lib.win-amd64-cpython-310\extractnet
      creating build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\author.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\css.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\kohlschuetter.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\readability.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\standardized.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\weninger.py -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\__init__.py -> build\lib.win-amd64-cpython-310\extractnet\features
      creating build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\constant.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\json_ld.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\metadata.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\metaxpaths.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\url_utils.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\utils.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      copying extractnet\metadata_extraction\video.py -> build\lib.win-amd64-cpython-310\extractnet\metadata_extraction
      creating build\lib.win-amd64-cpython-310\extractnet\sequence_tagger
      copying extractnet\sequence_tagger\models.py -> build\lib.win-amd64-cpython-310\extractnet\sequence_tagger
      copying extractnet\sequence_tagger\__init__.py -> build\lib.win-amd64-cpython-310\extractnet\sequence_tagger
      creating build\lib.win-amd64-cpython-310\extractnet\models
      copying extractnet\models\char_embedding.joblib -> build\lib.win-amd64-cpython-310\extractnet\models
      copying extractnet\models\crf.joblib -> build\lib.win-amd64-cpython-310\extractnet\models
      copying extractnet\models\news_net.onnx -> build\lib.win-amd64-cpython-310\extractnet\models
      copying extractnet\blocks.cpp -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\blocks.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\blocks.pyx -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\lcs.cpp -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\lcs.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\lcs.pyx -> build\lib.win-amd64-cpython-310\extractnet
      copying extractnet\features\_kohlschuetter.cpp -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_kohlschuetter.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_kohlschuetter.pyx -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_readability.cc -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_readability.cpp -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_readability.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_readability.pyx -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_weninger.cpp -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_weninger.cpython-39-darwin.so -> build\lib.win-amd64-cpython-310\extractnet\features
      copying extractnet\features\_weninger.pyx -> build\lib.win-amd64-cpython-310\extractnet\features
      running build_ext
      building 'extractnet.lcs' extension
      creating build\temp.win-amd64-cpython-310
      creating build\temp.win-amd64-cpython-310\Release
      creating build\temp.win-amd64-cpython-310\Release\extractnet
      "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\numpy\core\include -IC:\Users\AliGulec\.platformio\penv\include "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\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 /Tpextractnet/lcs.cpp /Fobuild\temp.win-amd64-cpython-310\Release\extractnet/lcs.obj
      lcs.cpp
      C:\Users\AliGulec\.platformio\penv\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
      extractnet/lcs.cpp(2184): warning C4244: '=': 'Py_ssize_t' - 'int' d”n\x81Ÿ\x81m\x81; veri kayb\x8d olabilir
      extractnet/lcs.cpp(2194): warning C4244: '=': 'Py_ssize_t' - 'int' d”n\x81Ÿ\x81m\x81; veri kayb\x8d olabilir
      "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\AliGulec\.platformio\penv\libs "/LIBPATH:C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\libs" "/LIBPATH:C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0" /LIBPATH:C:\Users\AliGulec\.platformio\penv\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" /EXPORT:PyInit_lcs build\temp.win-amd64-cpython-310\Release\extractnet/lcs.obj /OUT:build\lib.win-amd64-cpython-310\extractnet\lcs.cp310-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-310\Release\extractnet\lcs.cp310-win_amd64.lib
         build\temp.win-amd64-cpython-310\Release\extractnet\lcs.cp310-win_amd64.lib kitapl\x8d§\x8d ve build\temp.win-amd64-cpython-310\Release\extractnet\lcs.cp310-win_amd64.exp nesnesi oluŸturuluyor
      Kod \x81retiliyor
      Kodun \x81retilmesi tamamland\x8d
      building 'extractnet.blocks' extension
      "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\extlibs -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\libexslt -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\libxml -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\libxslt -IC:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\__pycache__ -IC:\Users\AliGulec\.platformio\penv\include "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\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 /Tpextractnet/blocks.cpp /Fobuild\temp.win-amd64-cpython-310\Release\extractnet/blocks.obj
      blocks.cpp
      C:\Users\AliGulec\.platformio\penv\lib\site-packages\lxml\includes\libxml/encoding.h(28): fatal error C1083: i‡erme dosyas\x8d a‡\x8dlam\x8dyor: 'iconv.h': 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
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> extractnet

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Getting this error while try to install package

@Alegzandra
Copy link

Alegzandra commented Jul 10, 2023

I had the same error... It's because the package is for Linux, not Windows.

@vgavro
Copy link

vgavro commented Dec 25, 2023

I had the same error... It's because the package is for Linux, not Windows.

No, it's because you don't have iconv.h file in include dirs, but you're right that mostly if someone prefer using Windows - it's someone's problem, not package developer problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants