実現したいこと
コマンドプロンプトにて、[pip install -U ginza ja_ginza]を実行してインストールしたいです。
前提
pip自体のアップデートのエラーは解決することができたのですが、上記のコマンドが通りません。
発生している問題・エラーメッセージ
PS D:\selfpy> pip install -U ginza ja_ginza Collecting ginza Using cached ginza-5.1.2-py3-none-any.whl (20 kB) Collecting ja_ginza Using cached ja_ginza-5.1.2-py3-none-any.whl (59.1 MB) Collecting spacy<3.5.0,>=3.2.0 (from ginza) Using cached spacy-3.4.4.tar.gz (1.2 MB) Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [131 lines of output] Collecting setuptools Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata Downloading setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB) Collecting cython<3.0,>=0.25 Obtaining dependency information for cython<3.0,>=0.25 from https://files.pythonhosted.org/packages/3f/d6/9eed523aeaca42acbaa3e6d3850edae780dc7f8da9df1bf6a2ceb851839c/Cython-0.29.36-py2.py3-none-any.whl.metadata Downloading Cython-0.29.36-py2.py3-none-any.whl.metadata (3.1 kB) Collecting cymem<2.1.0,>=2.0.2 Using cached cymem-2.0.8.tar.gz (9.8 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting preshed<3.1.0,>=3.0.2 Using cached preshed-3.0.9.tar.gz (14 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error pip subprocess to install build dependencies did not run successfully. exit code: 1 [94 lines of output] Collecting setuptools Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB) Collecting cython>=0.28 Obtaining dependency information for cython>=0.28 from https://files.pythonhosted.org/packages/61/a7/e4da043398dab5cefa53f77499700bd82e04f78a021e45c6148f8ffc62a6/Cython-3.0.2-cp38-cp38-win32.whl.metadata Using cached Cython-3.0.2-cp38-cp38-win32.whl.metadata (3.2 kB) Collecting cymem<2.1.0,>=2.0.2 Using cached cymem-2.0.8.tar.gz (9.8 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting murmurhash<1.1.0,>=0.28.0 Using cached murmurhash-1.0.10.tar.gz (12 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached setuptools-68.2.2-py3-none-any.whl (807 kB) Using cached Cython-3.0.2-cp38-cp38-win32.whl (2.6 MB) Building wheels for collected packages: cymem, murmurhash Building wheel for cymem (pyproject.toml): started Building wheel for cymem (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error Building wheel for cymem (pyproject.toml) did not run successfully. exit code: 1 [17 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win32-cpython-38 creating build\lib.win32-cpython-38\cymem copying cymem\about.py -> build\lib.win32-cpython-38\cymem copying cymem\__init__.py -> build\lib.win32-cpython-38\cymem creating build\lib.win32-cpython-38\cymem\tests copying cymem\tests\test_import.py -> build\lib.win32-cpython-38\cymem\tests copying cymem\tests\__init__.py -> build\lib.win32-cpython-38\cymem\tests copying cymem\cymem.pyx -> build\lib.win32-cpython-38\cymem copying cymem\cymem.pxd -> build\lib.win32-cpython-38\cymem copying cymem\__init__.pxd -> build\lib.win32-cpython-38\cymem running build_ext building 'cymem.cymem' extension 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 cymem Building wheel for murmurhash (pyproject.toml): started Building wheel for murmurhash (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error Building wheel for murmurhash (pyproject.toml) did not run successfully. exit code: 1 [22 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win32-cpython-38 creating build\lib.win32-cpython-38\murmurhash copying murmurhash\about.py -> build\lib.win32-cpython-38\murmurhash copying murmurhash\__init__.py -> build\lib.win32-cpython-38\murmurhash creating build\lib.win32-cpython-38\murmurhash\tests copying murmurhash\tests\test_hash.py -> build\lib.win32-cpython-38\murmurhash\tests copying murmurhash\tests\test_import.py -> build\lib.win32-cpython-38\murmurhash\tests copying murmurhash\tests\__init__.py -> build\lib.win32-cpython-38\murmurhash\tests copying murmurhash\mrmr.pyx -> build\lib.win32-cpython-38\murmurhash copying murmurhash\mrmr.pxd -> build\lib.win32-cpython-38\murmurhash copying murmurhash\__init__.pxd -> build\lib.win32-cpython-38\murmurhash creating build\lib.win32-cpython-38\murmurhash\include creating build\lib.win32-cpython-38\murmurhash\include\murmurhash copying murmurhash\include\murmurhash\MurmurHash2.h -> build\lib.win32-cpython-38\murmurhash\include\murmurhash copying murmurhash\include\murmurhash\MurmurHash3.h -> build\lib.win32-cpython-38\murmurhash\include\murmurhash running build_ext building 'murmurhash.mrmr' extension 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 murmurhash Failed to build cymem murmurhash ERROR: Could not build wheels for cymem, murmurhash, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error pip subprocess to install build dependencies did not run successfully. exit code: 1 See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip.
試したこと
- pip自体のアップデート
- pipをpip3に書き換えて実行➡うまくいかず...
補足情報(FW/ツールのバージョンなど)
ご教授いただけたら幸いです。
参考にさせていただいているページを添付させていただきました。
参考ページ(PythonとGiNZAで係り受け分析をしよう!)

回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2023/09/23 04:48