Skip to content

The Package install problem #8

@geophysicsman

Description

@geophysicsman

Hello,I encountered some prolbem in installing the package,the message is below:

**Collecting pyekfmm
Using cached pyekfmm-0.0.8.7.tar.gz (35 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: numpy in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from pyekfmm) (1.22.0)
Requirement already satisfied: scipy in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from pyekfmm) (1.10.1)
Requirement already satisfied: matplotlib in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from pyekfmm) (3.7.5)
Requirement already satisfied: contourpy>=1.0.1 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from matplotlib->pyekfmm) (1.1.1)
Requirement already satisfied: cycler>=0.10 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from matplotlib->pyekfmm) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from matplotlib->pyekfmm) (4.54.1)
Requirement already satisfied: kiwisolver>=1.0.1 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from matplotlib->pyekfmm) (1.4.7)
Requirement already satisfied: packaging>=20.0 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from matplotlib->pyekfmm) (24.1)
Requirement already satisfied: pillow>=6.2.0 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from matplotlib->pyekfmm) (10.4.0)
Requirement already satisfied: pyparsing>=2.3.1 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from matplotlib->pyekfmm) (3.1.4)
Requirement already satisfied: python-dateutil>=2.7 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from matplotlib->pyekfmm) (2.9.0.post0)
Requirement already satisfied: importlib-resources>=3.2.0 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from matplotlib->pyekfmm) (6.4.5)
Requirement already satisfied: zipp>=3.1.0 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from importlib-resources>=3.2.0->matplotlib->pyekfmm) (3.20.2)
Requirement already satisfied: six>=1.5 in f:\dl_code\newfile\radonproject.venv\lib\site-packages (from python-dateutil>=2.7->matplotlib->pyekfmm) (1.16.0)
Building wheels for collected packages: pyekfmm
Building wheel for pyekfmm (setup.py): started
Building wheel for pyekfmm (setup.py): finished with status 'error'
Running setup.py clean for pyekfmm
Failed to build pyekfmm

error: subprocess-exited-with-error

python setup.py bdist_wheel did not run successfully.
exit code: 1

[64 lines of output]
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-38\pyekfmm
copying pyekfmm\fmm.py -> build\lib.win-amd64-cpython-38\pyekfmm
copying pyekfmm\fmmvti.py -> build\lib.win-amd64-cpython-38\pyekfmm
copying pyekfmm\plot.py -> build\lib.win-amd64-cpython-38\pyekfmm
copying pyekfmm\stream.py -> build\lib.win-amd64-cpython-38\pyekfmm
copying pyekfmm_init_.py -> build\lib.win-amd64-cpython-38\pyekfmm
running egg_info
writing pyekfmm.egg-info\PKG-INFO
writing dependency_links to pyekfmm.egg-info\dependency_links.txt
writing requirements to pyekfmm.egg-info\requires.txt
writing top-level names to pyekfmm.egg-info\top_level.txt
reading manifest file 'pyekfmm.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'pyekfmm.egg-info\SOURCES.txt'
F:\DL_code\Newfile\RadonProject.venv\lib\site-packages\setuptools\command\build_py.py:218: _Warning: Package 'pyekfmm.src' is absent from the packages configuration.
!!

      ********************************************************************************
      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'pyekfmm.src' as an importable package[^1],
      but it is absent from setuptools' `packages` configuration.

      This leads to an ambiguous overall configuration. If you want to distribute this
      package, please make sure that 'pyekfmm.src' is explicitly added
      to the `packages` configuration field.

      Alternatively, you can also rely on setuptools' discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" on setuptools documentation page:

      - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

      If you don't want 'pyekfmm.src' to be distributed and are
      already explicitly excluding 'pyekfmm.src' via
      `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
      you can try to use `exclude_package_data`, or `include-package-data=False` in
      combination with a more fine grained `package-data` configuration.

      You can read more about "package data files" on setuptools documentation page:

      - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


      [^1]: For Python, any directory (with suitable naming) can be imported,
            even if it does not contain any `.py` files.
            On the other hand, currently there is no concept of package data
            directory, all directories are treated like packages.
      ********************************************************************************

!!
check.warn(importable)
creating build\lib.win-amd64-cpython-38\pyekfmm\src
copying pyekfmm\src\eikonal.c -> build\lib.win-amd64-cpython-38\pyekfmm\src
copying pyekfmm\src\eikonalvti.c -> build\lib.win-amd64-cpython-38\pyekfmm\src
running build_ext
building 'eikonalc' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyekfmm
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyekfmm)**

Therefore, I would like to seek your help and am extremely grateful for it.
Thank you sir!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions