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

Error on installing Numpy #168

Open
tigercosmos opened this issue Sep 1, 2024 · 0 comments
Open

Error on installing Numpy #168

tigercosmos opened this issue Sep 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tigercosmos
Copy link

On a CentOS machine (Cyntx Clusters), the error happens while installing Numpy:

Execute building script "/opt/solvcon/devenv/scripts/build.d/numpy"  ...
numpy-1.24.1.tar.gz md5 hash dd3aaeeada8e95cc2edf9a3a4aa8b5af confirmed
run command: /home/acliu/.devenvflavors/modmesh-dev/usr/bin/python3 setup.py build -j 40 install --prefix=/home/acliu/.devenvflavors/modmesh-dev/usr --old-and-unmanageable
Running from numpy source directory.
/home/acliu/.devenvflavors/modmesh-dev/src/numpy-1.24.1/setup.py:67: DeprecationWarning:

  `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
  of the deprecation of `distutils` itself. It will be removed for
  Python >= 3.12. For older Python versions it will remain present.
  It is recommended to use `setuptools < 60.0` for those Python versions.
  For more details, see:
    https://numpy.org/devdocs/reference/distutils_status_migration.html


  import numpy.distutils.command.sdist
Traceback (most recent call last):
  File "/home/acliu/.devenvflavors/modmesh-dev/src/numpy-1.24.1/setup.py", line 82, in <module>
    from numpy.distutils.core import numpy_cmdclass
  File "/home/acliu/.devenvflavors/modmesh-dev/src/numpy-1.24.1/numpy/distutils/core.py", line 24, in <module>
    from numpy.distutils.command import config, config_compiler, \
  File "/home/acliu/.devenvflavors/modmesh-dev/src/numpy-1.24.1/numpy/distutils/command/config.py", line 19, in <module>
    from numpy.distutils.mingw32ccompiler import generate_manifest
  File "/home/acliu/.devenvflavors/modmesh-dev/src/numpy-1.24.1/numpy/distutils/mingw32ccompiler.py", line 28, in <module>
    from distutils.msvccompiler import get_build_version as get_build_msvc_version
ModuleNotFoundError: No module named 'distutils.msvccompiler'

real    0m0.264s
user    0m0.172s
sys     0m0.060s
done; log file: /home/acliu/.devenvflavors/modmesh-dev/src/numpy-1.24.1/build.log
Check lapack version ...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'

cc @chestercheng

@yungyuc yungyuc added the bug Something isn't working label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants