Closed RichardScottOZ closed 2 weeks ago
This one I am not sure about at first glance
The pip package does not work properly! I have uploaded a conda
environment.yml file that should work for most linux/macos based OS.
> conda env create --file environment.yml
> conda activate gospl
Describe the bug gospl package fails to install on Windows 10
To Reproduce remove petsc4py from conda environment yml try creating environment
Expected behavior package installs
Desktop (please complete the following information):
Pip subprocess error: The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [14 lines of output]
meson setup C:\Users\rscott\AppData\Local\Temp\pip-install-rtc58ov6\gospl_6e74fe112a1e455f925592173173b032 C:\Users\rscott\AppData\Local\Temp\pip-install-rtc58ov6\gospl_6e74fe112a1e455f925592173173b032.mesonpy-kwr4rhds -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\rscott\AppData\Local\Temp\pip-install-rtc58ov6\gospl_6e74fe112a1e455f925592173173b032.mesonpy-kwr4rhds\meson-python-native-file.ini The Meson build system Version: 1.4.1 Source dir: C:\Users\rscott\AppData\Local\Temp\pip-install-rtc58ov6\gospl_6e74fe112a1e455f925592173173b032 Build dir: C:\Users\rscott\AppData\Local\Temp\pip-install-rtc58ov6\gospl_6e74fe112a1e455f925592173173b032.mesonpy-kwr4rhds Build type: native build Project name: gospl Project version: 1.1.1
..\meson.build:1:0: ERROR: Unknown compiler(s): [['cl.exe']] The following exception(s) were encountered: Running
cl.exe /?
gave "[WinError 2] The system cannot find the file specified"A full log can be found at C:\Users\rscott\AppData\Local\Temp\pip-install-rtc58ov6\gospl_6e74fe112a1e455f925592173173b032.mesonpy-kwr4rhds\meson-logs\meson-log.txt [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
failed
CondaEnvException: Pip failed