sfepy new update 2023.3 (Not able to install in windows)
Good Evening, My name is Himalaya Singh. I tried multiple times to update as well as to install new version of Sfepy, i didnot succeded. All the time it is showing error. I tried a lot, the same command in sfepy manual. I also look to dependencies and installed but still it was failing multiple times. Any help from your side will be helpful and appericiated. Thanks.
Error message: error: subprocess-exited-with-error
× Building wheel for sfepy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. Building wheel for sfepy (pyproject.toml) ... error 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
Hello Himalaya Singh,
On 10/2/23 13:06, Himalaya singh wrote:
Good Evening, My name is Himalaya Singh. I tried multiple times to update as well as to install new version of Sfepy, i didnot succeded. All the time it is showing error. I tried a lot, the same command in sfepy manual. I also look to dependencies and installed but still it was failing multiple times. Any help from your side will be helpful and appericiated. Thanks.
Error message: error: subprocess-exited-with-error
× Building wheel for sfepy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. Building wheel for sfepy (pyproject.toml) ... error 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
Can you post the full output? There should be something preceding the one above.
Maybe alternatively try installing miniconda3 and then 'conda install sfepy'.
r.
Here are the steps I used for a Windows 11 installation
Download "Latest Miniconda installer" from https://conda.io/projects/conda/en/latest/user-guide/install/windows.html Install using default options From Windows Start, click Anaconda prompt (miniconda3)
# Update conda (base) C:\Users\benwe> conda install conda=23.9.0 # Note: conda update conda resulted in error "DLL load failed while importing _ctypes" (base) C:\Users\benwe>conda --version conda 23.9.0
# Python version (base) C:\Users\benwe>python --version Python 3.11.4
# Make new environment without packages, see https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environmen... (base) C:\Users\benwe>conda create -n sfepyenv (base) C:\Users\benwe>conda activate sfepyenv
# Install sfepy (sfepyenv) C:\Users\benwe>conda install sfepy -c conda-forge
# installing jax with conda takes forever, so I used pip (sfepyenv) C:\Users\benwe>pip install "jax[cpu]"
# run tests (sfepyenv) C:\Users\benwe>conda install pytest (sfepyenv) C:\Users\benwe>sfepy-test
=================================== 209 passed, 2510 warnings in 613.58s (0:10:13) =================
# for postprecessing install pyvista (with conda takes long time, use pip) (sfepyenv) C:\Users\benwe>pip install pyvista
Good luck! Benedikt
Hi Benedikt,
Thanks for sharing your steps!
r.
On 10/4/23 10:57, Benedikt Weber wrote:
Here are the steps I used for a Windows 11 installation
Download "Latest Miniconda installer" from https://conda.io/projects/conda/en/latest/user-guide/install/windows.html Install using default options
From Windows Start, click Anaconda prompt (miniconda3)
# Update conda (base) C:\Users\benwe> conda install conda=23.9.0 # Note: conda update conda resulted in error "DLL load failed while importing _ctypes" (base) C:\Users\benwe>conda --version conda 23.9.0
# Python version (base) C:\Users\benwe>python --version Python 3.11.4
# Make new environment without packages, see https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environmen... (base) C:\Users\benwe>conda create -n sfepyenv (base) C:\Users\benwe>conda activate sfepyenv
# Install sfepy (sfepyenv) C:\Users\benwe>conda install sfepy -c conda-forge
# installing jax with conda takes forever, so I used pip (sfepyenv) C:\Users\benwe>pip install "jax[cpu]"
# run tests (sfepyenv) C:\Users\benwe>conda install pytest (sfepyenv) C:\Users\benwe>sfepy-test
=================================== 209 passed, 2510 warnings in 613.58s (0:10:13) =================
# for postprecessing install pyvista (with conda takes long time, use pip) (sfepyenv) C:\Users\benwe>pip install pyvista
Good luck! Benedikt
SfePy mailing list -- sfepy@python.org To unsubscribe send an email to sfepy-leave@python.org https://mail.python.org/mailman3/lists/sfepy.python.org/ Member address: cimrman3@ntc.zcu.cz
participants (3)
-
Benedikt Weber
-
Himalaya singh
-
Robert Cimrman