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

installation of MembIT #2

Open
Byun-jinyoung opened this issue Jun 4, 2024 · 0 comments
Open

installation of MembIT #2

Byun-jinyoung opened this issue Jun 4, 2024 · 0 comments

Comments

@Byun-jinyoung
Copy link

Dear MembIT developers,

I hope this message finds you well. I am currently trying to install your Python tool by following python setup.py install in src directory. However, I have encountered a compilation error during the installation process, and I would appreciate your assistance in resolving it.

Here is the error message that I received:

/home/byun/anaconda3/envs/MD/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
In file included from /home/byun/anaconda3/envs/MD/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948,
                 from /home/byun/anaconda3/envs/MD/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from /home/byun/anaconda3/envs/MD/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from membit_module.c:1240:
/home/byun/anaconda3/envs/MD/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
In file included from membit_module.c:1506:
/home/byun/apps/compiler/gcc-9.4.0/include/c++/9.4.0/complex.h:29:10: fatal error: bits/c++config.h: No such file or directory
   29 | #include <bits/c++config.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/home/byun/apps/compiler/gcc-9.4.0/bin/gcc' failed with exit code 1

Based on the error message, it seems that the compiler cannot find the file bits/c++config.h. Here are some details about my setup:

  • Operating System: Ubuntu 20.04
  • GCC Version: 9.4.0
  • Python Version: 3.9 (using Anaconda environment)

Could you please provide guidance on how to resolve this issue? Any insights or suggestions would be greatly appreciated.

Thank you very much for your assistance and for developing this valuable tool.

Best regards,
Jinyoung

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

1 participant