materialsinnovation / pymks

Materials Knowledge System in Python
https://pymks.readthedocs.io/
Other
115 stars 77 forks source link

Failed to install "sfepy" to python 3.10 #581

Closed cheongw closed 1 year ago

cheongw commented 1 year ago

Hi,

I kept getting the error messages while installing the "sfepy" module to python 3.10.

The error messages obtained at the end of the "sfepy" module installation are as the following:

Building wheels for collected packages: sfepy Building wheel for sfepy (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for sfepy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [289 lines of output]** ... note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for sfepy Failed to build sfepy ERROR: Could not build wheels for sfepy, which is required to install pyproject.toml-based projects]

The entire messages upon the "pip install sfepy" command are as the following:

C:>pip install sfepy Defaulting to user installation because normal site-packages is not writeable Collecting sfepy Using cached sfepy-2022.3.tar.gz (16.1 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: matplotlib in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from sfepy) (3.6.0) Requirement already satisfied: meshio in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from sfepy) (5.3.4) Collecting tables Using cached tables-3.7.0-cp310-cp310-win_amd64.whl (6.9 MB) Requirement already satisfied: sympy in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from sfepy) (1.11.1) Requirement already satisfied: pyvista in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from sfepy) (0.37.0) Requirement already satisfied: scipy in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from sfepy) (1.9.1) Requirement already satisfied: numpy in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from sfepy) (1.23.4) Requirement already satisfied: pyparsing in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from sfepy) (3.0.9) Requirement already satisfied: contourpy>=1.0.1 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from matplotlib->sfepy) (1.0.5) Requirement already satisfied: fonttools>=4.22.0 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from matplotlib->sfepy) (4.37.3) Requirement already satisfied: packaging>=20.0 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from matplotlib->sfepy) (21.3) Requirement already satisfied: pillow>=6.2.0 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from matplotlib->sfepy) (9.2.0) Requirement already satisfied: cycler>=0.10 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from matplotlib->sfepy) (0.11.0) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from matplotlib->sfepy) (1.4.4) Requirement already satisfied: python-dateutil>=2.7 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from matplotlib->sfepy) (2.8.2) Requirement already satisfied: rich in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from meshio->sfepy) (12.6.0) Requirement already satisfied: vtk in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from pyvista->sfepy) (9.2.2) Requirement already satisfied: scooby>=0.5.1 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from pyvista->sfepy) (0.7.0) Requirement already satisfied: pooch in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from pyvista->sfepy) (1.6.0) Requirement already satisfied: imageio in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from pyvista->sfepy) (2.22.3) Requirement already satisfied: mpmath>=0.19 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from sympy->sfepy) (1.2.1) Collecting numexpr>=2.6.2 Using cached numexpr-2.8.4-cp310-cp310-win_amd64.whl (92 kB) Requirement already satisfied: six>=1.5 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from python-dateutil>=2.7->matplotlib->sfepy) (1.16.0) Requirement already satisfied: appdirs>=1.3.0 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from pooch->pyvista->sfepy) (1.4.4) Requirement already satisfied: requests>=2.19.0 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from pooch->pyvista->sfepy) (2.28.1) Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from rich->meshio->sfepy) (0.9.1) Requirement already satisfied: pygments<3.0.0,>=2.6.0 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from rich->meshio->sfepy) (2.13.0) Requirement already satisfied: wslink>=1.0.4 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from vtk->pyvista->sfepy) (1.9.1) Requirement already satisfied: certifi>=2017.4.17 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from requests>=2.19.0->pooch->pyvista->sfepy) (2022.9.24) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from requests>=2.19.0->pooch->pyvista->sfepy) (1.26.12) Requirement already satisfied: charset-normalizer<3,>=2 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from requests>=2.19.0->pooch->pyvista->sfepy) (2.1.1) Requirement already satisfied: idna<4,>=2.5 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from requests>=2.19.0->pooch->pyvista->sfepy) (3.4) Requirement already satisfied: aiohttp<4 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from wslink>=1.0.4->vtk->pyvista->sfepy) (3.8.3) Requirement already satisfied: attrs>=17.3.0 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from aiohttp<4->wslink>=1.0.4->vtk->pyvista->sfepy) (22.1.0) Requirement already satisfied: aiosignal>=1.1.2 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from aiohttp<4->wslink>=1.0.4->vtk->pyvista->sfepy) (1.2.0) Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from aiohttp<4->wslink>=1.0.4->vtk->pyvista->sfepy) (4.0.2) Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from aiohttp<4->wslink>=1.0.4->vtk->pyvista->sfepy) (6.0.2) Requirement already satisfied: frozenlist>=1.1.1 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from aiohttp<4->wslink>=1.0.4->vtk->pyvista->sfepy) (1.3.1) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\cheongw\appdata\roaming\python\python310\site-packages (from aiohttp<4->wslink>=1.0.4->vtk->pyvista->sfepy) (1.8.1) Building wheels for collected packages: sfepy Building wheel for sfepy (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for sfepy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [289 lines of output] sympy (optional) is missing; some tests are going to fail! igakit (optional) is missing; you may get run-time errors petsc4py (optional) is missing; you may get run-time errors mpi4py (optional) is missing; you may get run-time errors slepc4py (optional) is missing; you may get run-time errors pymetis (optional) is missing; you may get run-time errors scikits.umfpack (optional) is missing; you may get run-time errors psutil (optional) is missing; you may get run-time errors pyvista (optional) is missing; you may get run-time errors opt_einsum (optional) is missing; you may get run-time errors jax (optional) is missing; you may get run-time errors dask (optional) is missing; you may get run-time errors running bdist_wheel running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building library "sfepy_common" sources building library "sfepy_terms" sources building extension "sfepy.discrete.common.extmods._fmfield" sources building extension "sfepy.discrete.common.extmods.mappings" sources building extension "sfepy.discrete.common.extmods.assemble" sources building extension "sfepy.discrete.common.extmods.cmesh" sources building extension "sfepy.discrete.common.extmods.crefcoors" sources building extension "sfepy.discrete.common.extmods._geommech" sources building extension "sfepy.discrete.fem.extmods.bases" sources building extension "sfepy.discrete.fem.extmods.lobatto_bases" sources building extension "sfepy.discrete.iga.extmods.igac" sources building extension "sfepy.mechanics.extmods.ccontres" sources building extension "sfepy.terms.extmods.terms" sources building data_files sources build_src: building npy-pkg config files running build_py creating build\lib.win-amd64-3.10 creating build\lib.win-amd64-3.10\sfepy copying sfepy\config.py -> build\lib.win-amd64-3.10\sfepy copying sfepy\setup.py -> build\lib.win-amd64-3.10\sfepy copying sfepy\version.py -> build\lib.win-amd64-3.10\sfepy copying sfepy__init__.py -> build\lib.win-amd64-3.10\sfepy creating build\lib.win-amd64-3.10\sfepy\applications copying sfepy\applications\application.py -> build\lib.win-amd64-3.10\sfepy\applications copying sfepy\applications\evp_solver_app.py -> build\lib.win-amd64-3.10\sfepy\applications copying sfepy\applications\pde_solver_app.py -> build\lib.win-amd64-3.10\sfepy\applications copying sfepy\applications\setup.py -> build\lib.win-amd64-3.10\sfepy\applications copying sfepy\applications__init__.py -> build\lib.win-amd64-3.10\sfepy\applications creating build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\base.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\compat.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\conf.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\getch.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\goptions.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\ioutils.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\log.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\log_plotter.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\mem_usage.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\multiproc.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\multiproc_mpi.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\multiproc_proc.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\parse_conf.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\plotutils.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\reader.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\resolve_deps.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\setup.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\testing.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base\timing.py -> build\lib.win-amd64-3.10\sfepy\base copying sfepy\base__init.py -> build\lib.win-amd64-3.10\sfepy\base creating build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\conditions.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\equations.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\evaluate.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\evaluate_variable.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\functions.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\integrals.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\materials.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\parse_equations.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\parse_regions.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\probes.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\problem.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\projections.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\quadratures.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\setup.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\simplex_cubature.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete\variables.py -> build\lib.win-amd64-3.10\sfepy\discrete copying sfepy\discrete__init.py -> build\lib.win-amd64-3.10\sfepy\discrete creating build\lib.win-amd64-3.10\sfepy\discrete\common copying sfepy\discrete\common\dof_info.py -> build\lib.win-amd64-3.10\sfepy\discrete\common copying sfepy\discrete\common\domain.py -> build\lib.win-amd64-3.10\sfepy\discrete\common copying sfepy\discrete\common\fields.py -> build\lib.win-amd64-3.10\sfepy\discrete\common copying sfepy\discrete\common\global_interp.py -> build\lib.win-amd64-3.10\sfepy\discrete\common copying sfepy\discrete\common\mappings.py -> build\lib.win-amd64-3.10\sfepy\discrete\common copying sfepy\discrete\common\poly_spaces.py -> build\lib.win-amd64-3.10\sfepy\discrete\common copying sfepy\discrete\common\region.py -> build\lib.win-amd64-3.10\sfepy\discrete\common copying sfepy\discrete\common\setup.py -> build\lib.win-amd64-3.10\sfepy\discrete\common copying sfepy\discrete\common__init.py -> build\lib.win-amd64-3.10\sfepy\discrete\common creating build\lib.win-amd64-3.10\sfepy\discrete\common\extmods copying sfepy\discrete\common\extmods\setup.py -> build\lib.win-amd64-3.10\sfepy\discrete\common\extmods copying sfepy\discrete\common\extmods__init.py -> build\lib.win-amd64-3.10\sfepy\discrete\common\extmods creating build\lib.win-amd64-3.10\sfepy\discrete\dg copying sfepy\discrete\dg\dg_1D_vizualizer.py -> build\lib.win-amd64-3.10\sfepy\discrete\dg copying sfepy\discrete\dg\fields.py -> build\lib.win-amd64-3.10\sfepy\discrete\dg copying sfepy\discrete\dg\limiters.py -> build\lib.win-amd64-3.10\sfepy\discrete\dg copying sfepy\discrete\dg\poly_spaces.py -> build\lib.win-amd64-3.10\sfepy\discrete\dg copying sfepy\discrete\dg__init.py -> build\lib.win-amd64-3.10\sfepy\discrete\dg creating build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\domain.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\facets.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\fe_surface.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\fields_base.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\fields_hierarchic.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\fields_nodal.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\fields_positive.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\geometry_element.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\history.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\lcbc_operators.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\linearizer.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\mappings.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\mesh.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\meshio.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\periodic.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\poly_spaces.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\refine.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\refine_hanging.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\setup.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\utils.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem_serendipity.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem copying sfepy\discrete\fem\init.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem creating build\lib.win-amd64-3.10\sfepy\discrete\fem\extmods copying sfepy\discrete\fem\extmods\setup.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem\extmods copying sfepy\discrete\fem\extmods\init.py -> build\lib.win-amd64-3.10\sfepy\discrete\fem\extmods creating build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\domain.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\domain_generators.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\fields.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\iga.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\io.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\mappings.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\plot_nurbs.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\setup.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\utils.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga copying sfepy\discrete\iga\init.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga creating build\lib.win-amd64-3.10\sfepy\discrete\iga\extmods copying sfepy\discrete\iga\extmods\setup.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga\extmods copying sfepy\discrete\iga\extmods\init.py -> build\lib.win-amd64-3.10\sfepy\discrete\iga\extmods creating build\lib.win-amd64-3.10\sfepy\discrete\structural copying sfepy\discrete\structural\fields.py -> build\lib.win-amd64-3.10\sfepy\discrete\structural copying sfepy\discrete\structural\mappings.py -> build\lib.win-amd64-3.10\sfepy\discrete\structural copying sfepy\discrete\structural\setup.py -> build\lib.win-amd64-3.10\sfepy\discrete\structural copying sfepy\discrete\structural\init__.py -> build\lib.win-amd64-3.10\sfepy\discrete\structural creating build\lib.win-amd64-3.10\sfepy\mesh copying sfepy\mesh\bspline.py -> build\lib.win-amd64-3.10\sfepy\mesh copying sfepy\mesh\geom_tools.py -> build\lib.win-amd64-3.10\sfepy\mesh copying sfepy\mesh\mesh_generators.py -> build\lib.win-amd64-3.10\sfepy\mesh copying sfepy\mesh\mesh_tools.py -> build\lib.win-amd64-3.10\sfepy\mesh copying sfepy\mesh\setup.py -> build\lib.win-amd64-3.10\sfepy\mesh copying sfepy\mesh\splinebox.py -> build\lib.win-amd64-3.10\sfepy\mesh copying sfepy\mesh\init__.py -> build\lib.win-amd64-3.10\sfepy\mesh creating build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\band_gaps_app.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\coefficients.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\coefs_base.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\coefs_elastic.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\coefs_perfusion.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\coefs_phononic.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\convolutions.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\engine.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\homogen_app.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\micmac.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\recovery.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\setup.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\utils.py -> build\lib.win-amd64-3.10\sfepy\homogenization copying sfepy\homogenization\init.py -> build\lib.win-amd64-3.10\sfepy\homogenization creating build\lib.win-amd64-3.10\sfepy\linalg copying sfepy\linalg\check_derivatives.py -> build\lib.win-amd64-3.10\sfepy\linalg copying sfepy\linalg\eigen.py -> build\lib.win-amd64-3.10\sfepy\linalg copying sfepy\linalg\geometry.py -> build\lib.win-amd64-3.10\sfepy\linalg copying sfepy\linalg\setup.py -> build\lib.win-amd64-3.10\sfepy\linalg copying sfepy\linalg\sparse.py -> build\lib.win-amd64-3.10\sfepy\linalg copying sfepy\linalg\sympy_operators.py -> build\lib.win-amd64-3.10\sfepy\linalg copying sfepy\linalg\utils.py -> build\lib.win-amd64-3.10\sfepy\linalg copying sfepy\linalg\init.py -> build\lib.win-amd64-3.10\sfepy\linalg creating build\lib.win-amd64-3.10\sfepy\mechanics copying sfepy\mechanics\contact_bodies.py -> build\lib.win-amd64-3.10\sfepy\mechanics copying sfepy\mechanics\elastic_constants.py -> build\lib.win-amd64-3.10\sfepy\mechanics copying sfepy\mechanics\matcoefs.py -> build\lib.win-amd64-3.10\sfepy\mechanics copying sfepy\mechanics\membranes.py -> build\lib.win-amd64-3.10\sfepy\mechanics copying sfepy\mechanics\setup.py -> build\lib.win-amd64-3.10\sfepy\mechanics copying sfepy\mechanics\shell10x.py -> build\lib.win-amd64-3.10\sfepy\mechanics copying sfepy\mechanics\tensors.py -> build\lib.win-amd64-3.10\sfepy\mechanics copying sfepy\mechanics\units.py -> build\lib.win-amd64-3.10\sfepy\mechanics copying sfepy\mechanics\init.py -> build\lib.win-amd64-3.10\sfepy\mechanics creating build\lib.win-amd64-3.10\sfepy\mechanics\extmods copying sfepy\mechanics\extmods\setup.py -> build\lib.win-amd64-3.10\sfepy\mechanics\extmods copying sfepy\mechanics\extmods\init.py -> build\lib.win-amd64-3.10\sfepy\mechanics\extmods creating build\lib.win-amd64-3.10\sfepy\parallel copying sfepy\parallel\evaluate.py -> build\lib.win-amd64-3.10\sfepy\parallel copying sfepy\parallel\parallel.py -> build\lib.win-amd64-3.10\sfepy\parallel copying sfepy\parallel\plot_parallel_dofs.py -> build\lib.win-amd64-3.10\sfepy\parallel copying sfepy\parallel\setup.py -> build\lib.win-amd64-3.10\sfepy\parallel copying sfepy\parallel\init__.py -> build\lib.win-amd64-3.10\sfepy\parallel creating build\lib.win-amd64-3.10\sfepy\postprocess copying sfepy\postprocess\plot_cmesh.py -> build\lib.win-amd64-3.10\sfepy\postprocess copying sfepy\postprocess\plot_dofs.py -> build\lib.win-amd64-3.10\sfepy\postprocess copying sfepy\postprocess\plot_facets.py -> build\lib.win-amd64-3.10\sfepy\postprocess copying sfepy\postprocess\plot_quadrature.py -> build\lib.win-amd64-3.10\sfepy\postprocess copying sfepy\postprocess\probes_vtk.py -> build\lib.win-amd64-3.10\sfepy\postprocess copying sfepy\postprocess\setup.py -> build\lib.win-amd64-3.10\sfepy\postprocess copying sfepy\postprocess\time_history.py -> build\lib.win-amd64-3.10\sfepy\postprocess copying sfepy\postprocess\utils_vtk.py -> build\lib.win-amd64-3.10\sfepy\postprocess copying sfepy\postprocess\init.py -> build\lib.win-amd64-3.10\sfepy\postprocess creating build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\blockgen.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\convert_mesh.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\cylindergen.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\extractor.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\gen_iga_patch.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\gen_mesh.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\gen_mesh_prev.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\plot_condition_numbers.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\plot_logs.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\plot_mesh.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\plot_quadratures.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\plot_times.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\probe.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\resview.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\save_basis.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\show_mesh_info.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\simple.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\test_install.py -> build\lib.win-amd64-3.10\sfepy\scripts copying sfepy\scripts\init.py -> build\lib.win-amd64-3.10\sfepy\scripts creating build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\auto_fallback.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\eigen.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\ls.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\ls_mumps.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\ls_mumps_parallel.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\nls.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\optimize.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\oseen.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\qeigen.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\semismooth_newton.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\setup.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\solvers.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\ts.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\ts_dg_solvers.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\ts_solvers.py -> build\lib.win-amd64-3.10\sfepy\solvers copying sfepy\solvers\init__.py -> build\lib.win-amd64-3.10\sfepy\solvers creating build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\setup.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_adj_navier_stokes.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_basic.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_biot.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_compat.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_constraints.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_contact.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_dg.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_diffusion.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_dot.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_elastic.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_electric.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_fibres.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_hyperelastic_base.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_hyperelastic_tl.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_hyperelastic_ul.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_membrane.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_multilinear.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_navier_stokes.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_piezo.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_point.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_sensitivity.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_shells.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_surface.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_th.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\terms_volume.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\utils.py -> build\lib.win-amd64-3.10\sfepy\terms copying sfepy\terms\init.py -> build\lib.win-amd64-3.10\sfepy\terms creating build\lib.win-amd64-3.10\sfepy\terms\extmods copying sfepy\terms\extmods\setup.py -> build\lib.win-amd64-3.10\sfepy\terms\extmods copying sfepy\terms\extmods\init__.py -> build\lib.win-amd64-3.10\sfepy\terms\extmods running build_clib No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler customize MSVCCompiler using build_clib CCompilerOpt.cc_test_flags[1013] : testing flags (/O2) 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/ CCompilerOpt.cache_flush[809] : write cache to path -> C:\Users\cheongw\AppData\Local\Temp\pip-install-8d71ch16\sfepy_73be8dc0de1349ca9b95ccce9f2d6d92\build\temp.win-amd64-3.10\ccompiler_opt_cache_clib.py [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for sfepy Failed to build sfepy ERROR: Could not build wheels for sfepy, which is required to install pyproject.toml-based projects

Thank you in advance. Woo-Jae

wd15 commented 1 year ago

Hi @cheongw: thanks for your interest in PyMKS. Just to check your issue, I just set up a fresh Python environment using Mamba with sfepy installed. I used the following commands.

$ mamba create -n sfepy-test python=3.10
$ conda activate sfepy-test
$ pip install sfepy
Collecting sfepy                                                                                                              
  Downloading sfepy-2022.3.tar.gz (16.1 MB)
...
Successfully installed aiohttp-3.8.3 aiosignal-1.2.0 appdirs-1.4.4 async-timeout-4.0.2 attrs-22.1.0 certifi-2022.9.24 charset-normalizer-2.1.1 commonmark-0.9.1 contourpy-1.0.6 cycler-0.11.0 fonttools-4.38.0 frozenlist-1.3.1 idna-3.4 imageio-2.22.4 kiwisolver-1.4.4 matplotlib-3.6.2 meshio-5.3.4 mpmath-1.2.1 multidict-6.0.2 numexpr-2.8.4 numpy-1.23.4 packaging-21.3 pillow-9.3.0 pooch-1.6.0 pygments-2.13.0 pyparsing-3.0.9 python-dateutil-2.8.2 pyvista-0.37.0 requests-2.28.1 rich-12.6.0 scipy-1.9.3 scooby-0.7.0 sfepy-2022.3 six-1.16.0 sympy-1.11.1 tables-3.7.0 urllib3-1.26.12 vtk-9.2.2 wslink-1.9.1 yarl-1.8.1

At least for installing from a fresh conda/mamba environment it installs and runs without any issues (I ran the sfepy tests to check). Just from your output, it looks like you're trying to install this on a Windows computer. I would highly recommend using Conda/Mamba on that platform. Also, you can use Conda/Mamba to install Sfepy directly (rather than using pip). I'm not sure what environment (or pacakge) manager if any you're using above so I'm not sure how I can help debug from the output you've provided. Anyway, try with Conda/Mamba and then follow up.

Another thing, Sfepy is absolutely not a requirement for PyMKS. It's only used as a convenient way to run small FE problems. If you don't have Sfepy then some notebooks won't run, but you'll be able to use PyMKS without any issues for your own problems.

Please do follow up and let me know how it goes.

cheongw commented 1 year ago

Hi Dr. Wheeler, As you explained, the fresh installation of "Conda" did include the module "SfePy".
It might have been the issue of Python 3.10. Thank you very much. Best regards, Woo-Jae