Pytorch-UNet
Pytorch-UNet copied to clipboard
Python version
I get a error when installing requirements.txt for the numpy version needed:
[schaar@login01 Pytorch-UNet]$ <unet_pytorch>pip install numpy==1.23.5 Collecting numpy==1.23.5 Using cached numpy-1.23.5.tar.gz (10.7 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
Traceback (most recent call last):
File "/lisc/user/schaar/.conda/envs/unet_pytorch/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel 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.
Do I need another python version for the environment?
Best Ben
I get the exactly same error
I got the same error with python 3.12
Everything seemed to work in python 3.8.10
I was also in a conda environment that I had to deactivate.
I forgot how i fixed it but i made a env.yaml file for my unet_environment that works