Closed QATester35D closed 7 months ago
Hopefully, 5434c61 should have built a relevant wheel (PyPi version >=1.0.1) for your platform among others. If that doesn't fix it, you will need to install a C compiler like is suggested in the line:
Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
If you end up using this package in an Alpine Docker container, the build stage here contains the required build tools. It also installs some other packages for building other dependencies of that particular project.
Installation issue. I'm trying to use your multi_bible_search package and get errors during the installation and in Visual Studio Code the import fails for multi_bible_search. I have the following versions: Python 3.12.3 pip 24.0 Name: wheel Version: 0.43.0 Name: setuptools Version: 69.5.1
I've tried installing using these two ways but get the same results. From the python directory ..\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip I've tried running both of these commands: py -m pip install "C:\Python libraries\multi_bible_search-1.0.0" pip install multi_bible_search
I get: C:\Users\shawn\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip>pip install multi_bible_search Collecting multi_bible_search Downloading multi_bible_search-1.0.0.tar.gz (27.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 27.2/27.2 MB 14.5 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: multi_bible_search Building wheel for multi_bible_search (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for multi_bible_search (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [94 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-312 creating build\lib.win-amd64-cpython-312\ctranslate copying src\ctranslate__init__.py -> build\lib.win-amd64-cpython-312\ctranslate creating build\lib.win-amd64-cpython-312\multi_bible_search copying src\multi_bible_search\bible_search.py -> build\lib.win-amd64-cpython-312\multi_bible_search copying src\multi_bible_search\translate.py -> build\lib.win-amd64-cpython-312\multi_bible_search copying src\multi_bible_search__init__.py -> build\lib.win-amd64-cpython-312\multi_bible_search running egg_info writing src\multi_bible_search.egg-info\PKG-INFO writing dependency_links to src\multi_bible_search.egg-info\dependency_links.txt writing top-level names to src\multi_bible_search.egg-info\top_level.txt reading manifest file 'src\multi_bible_search.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src\multi_bible_search.egg-info\SOURCES.txt' C:\Users\shawn\AppData\Local\Temp\pip-build-env-vshcwxb4\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'multi_bible_search.data' is absent from the
packages
configuration. !!note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for multi_bible_search Failed to build multi_bible_search ERROR: Could not build wheels for multi_bible_search, which is required to install pyproject.toml-based projects
C:\Users\shawn\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip>