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

[Bug] windows installation failure, missing dll #3536

Open
lidanwu opened this issue Jan 8, 2025 · 1 comment
Open

[Bug] windows installation failure, missing dll #3536

lidanwu opened this issue Jan 8, 2025 · 1 comment
Assignees

Comments

@lidanwu
Copy link

lidanwu commented Jan 8, 2025

Describe the bug
I am having a hard time to install tiledbsom python in windows 11. I tried both pip install from PyPI and built from source but stuck at same step that looks for tiledbsoma.dll file. I can install all the requirements under apis\python without issue.
Any advise is appreciated.

To Reproduce
python -m pip install tiledbsoma

or built from source
python -m pip install -v .\apis\python\

Versions (please complete the following information):

  • TileDB-SOMA version: 1.15.2
  • Language and language version: Python 3.10.11
  • OS: Windows 11

Below is the C compiler I had installed.
-- cmake version 3.31.2
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.42.34435.0
-- The CXX compiler identification is MSVC 19.42.34435.0

Additional context
Error messages when install from PyPi

Building wheels for collected packages: tiledbsoma
Building wheel for tiledbsoma (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for tiledbsoma (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
Checking: C:\Users\project\AppData\Local\Temp\pip-install-jmy27fzm\tiledbsoma_569e0b12aa7d4332a37337bd0275f2f3\dist_links\dist\lib\tiledbsoma.dll exists: False
Checking: C:\Users\project\AppData\Local\Temp\pip-install-jmy27fzm\tiledbsoma_569e0b12aa7d4332a37337bd0275f2f3\dist_links\dist\bin\tiledbsoma.dll exists: False
Could not find module 'tiledbsoma.dll' (or one of its dependencies). Try using the full path with constructor syntax.
error: [WinError 2] The system cannot find the file specified
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tiledbsoma

Error messages when build from source

Building wheels for collected packages: tiledbsoma
Running command Building wheel for tiledbsoma (pyproject.toml)
Not in the expected path relative to Git root: apis\python\version.py != apis/python/version.py
C:\Users\project\AppData\Local\Temp\pip-build-env-iu2sme0n\overlay\Lib\site-packages\setuptools\dist.py:330: InformationOnly: Normalizing '2025.01.07.dev1844129300' to '2025.1.7.dev1844129300'
self.metadata.version = self._normalize_version(self.metadata.version)
running bdist_wheel
Checking: G:\github_repos\TileDB-SOMA\apis\python\dist_links\dist\lib\tiledbsoma.dll exists: False
Checking: G:\github_repos\TileDB-SOMA\apis\python\dist_links\dist\bin\tiledbsoma.dll exists: False
Could not find module 'tiledbsoma.dll' (or one of its dependencies). Try using the full path with constructor syntax.
error: [WinError 2] The system cannot find the file specified
error: subprocess-exited-with-error

× Building wheel for tiledbsoma (pyproject.toml) 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.
full command: 'C:\Users\project\venvDB\envNames\py10_scimilarity\Scripts\python.exe' 'C:\Users\project\venvDB\envNames\py10_scimilarity\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py' build_wheel 'C:\Users\project\AppData\Local\Temp\tmpmn8wr2ed'
cwd: G:\github_repos\TileDB-SOMA\apis\python
Building wheel for tiledbsoma (pyproject.toml) ... error
ERROR: Failed building wheel for tiledbsoma

@johnkerl
Copy link
Member

johnkerl commented Jan 8, 2025

@lidanwu thank you for your note!

Our Windows offering is not yet complete. Please see issue #2631 and #1962.

@johnkerl johnkerl self-assigned this Jan 8, 2025
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

2 participants