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

which is required to install pyproject.toml-based projects #31

Open
xalteropsx opened this issue Nov 14, 2023 · 3 comments
Open

which is required to install pyproject.toml-based projects #31

xalteropsx opened this issue Nov 14, 2023 · 3 comments

Comments

@xalteropsx
Copy link

Collecting griddb-python
Using cached griddb_python-0.7.6.tar.gz (52 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: griddb-python
Building wheel for griddb-python (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
running build
running build_ext
building '_griddb_python' extension
swigging src/griddb.i to src/griddb_wrap.cpp
swig.exe -python -DSWIGWORDSIZE64 -c++ -outdir . -Isrc -o src/griddb_wrap.cpp src/griddb.i
error: command 'swig.exe' failed: None
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for griddb-python
Running setup.py clean for griddb-python
Failed to build griddb-python
ERROR: Could not build wheels for griddb-python, which is required to install pyproject.toml-based projects keep failing

@xalteropsx
Copy link
Author

why it so hard to run ur griddb on window while everything work only for linux on other hand influxdb.exe has builtin support for window and its plugin

@xalteropsx
Copy link
Author

xalteropsx commented Nov 15, 2023

look how easy is influxdb
image

and urs also sometime i need to play nox player and other stuff which doesnt support hyperv which most likely odd for wsl
image

ur python griddb only install on linux machine not on window through this warning

@knonomura
Copy link
Member

Sorry for late reply.

error: command 'swig.exe' failed: None

I guess it's because SWIG is not installed.

Note:
SWIG (Simplified Wrapper and Interface Generator)
http://www.swig.org/

Could you try to install SWIG with the following method ?
https://griddb.org/python_client/cmake_build_guide.html#sec-1-3-3

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