MgClient installation Error in PYMgClient #60
Labels
bug
bug
community
community
Effort - Unknown
Effort - Unknown
Frequency - Monthly
Frequency - Monthly
Reach - VeryFew
Reach - VeryFew
Severity - S2
Severity - S2
Hi
I want to install pymgclient and I run into problem with mgclient. So I installed mgclient seperate and it worked. How can I change the setup.py to use the installed mgclient library to avoid the error in the installation process?
`(memgraph) [anton@comp pymgclient]$ pip install --user pymgclient
Collecting pymgclient
Using cached pymgclient-1.3.1.tar.gz (125 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pymgclient
Building wheel for pymgclient (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [50 lines of output]
running bdist_wheel
running build
running build_ext
Using static OpenSSL: True
Checking if cmake3 can be used
Using /usr/bin/cmake3
Preparing the build environment for mgclient
Using /tmp/pip-install-h0caef9e/pymgclient_c2d578c78849442690ef3f64202b7eb6/build/temp.linux-x86_64-cpython-39/mgclient_build as build directory for mgclient
Using /tmp/pip-install-h0caef9e/pymgclient_c2d578c78849442690ef3f64202b7eb6/build/temp.linux-x86_64-cpython-39/mgclient_install as install directory for mgclient
Configuring mgclient
/usr/bin/cmake3 /tmp/pip-install-h0caef9e/pymgclient_c2d578c78849442690ef3f64202b7eb6/mgclient -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_INCLUDEDIR=include -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-h0caef9e/pymgclient_c2d578c78849442690ef3f64202b7eb6/build/temp.linux-x86_64-cpython-39/mgclient_install -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON "-DCMAKE_C_FLAGS="-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/anton/mambaforge/envs/memgraph/include -Werror=all"" -DOPENSSL_USE_STATIC_LIBS=ON
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /home/anton/mambaforge/envs/memgraph/bin/x86_64-conda-linux-gnu-cc
-- Check for working C compiler: /home/anton/mambaforge/envs/memgraph/bin/x86_64-conda-linux-gnu-cc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
`
The text was updated successfully, but these errors were encountered: