Sikerdebaard / dcmrtstruct2nii

DICOM RT-Struct to mask
MIT License
93 stars 26 forks source link

Can't 'pip install' : setup.py has a typo #50

Open jantunes14 opened 7 months ago

jantunes14 commented 7 months ago

When running pip install, line 6 of 'setup.py' throws the error: "TypeError: sequence item 0: expected str instance, int found".

I believe that you need to typecast the variable minpyver to a string before passing it to join: sys.exit(f'Sorry, Python < {".".join(minpyver)} is not supported') becomes sys.exit(f'Sorry, Python < {".".join(str(minpyver))} is not supported')