MetaSys-LISBP / IsoCor

IsoCor: Isotope Correction for mass spectrometry labeling experiments
https://isocor.readthedocs.io
GNU General Public License v3.0
24 stars 9 forks source link

isocor -- windows fail to open #35

Closed hejinfjmu closed 7 months ago

hejinfjmu commented 8 months ago

After install isocor, comand "isocor" can not start IsoCor, the error was as followed: Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\Hejin\AppData\Local\Programs\Python\Python312\Lib\site-packages\isocor__main__.py", line 1, in import isocor.ui.isocorgui File "C:\Users\Hejin\AppData\Local\Programs\Python\Python312\Lib\site-packages\isocor\ui\isocorgui.py", line 6, in from isocor.ui.isocordb import EnvComputing File "C:\Users\Hejin\AppData\Local\Programs\Python\Python312\Lib\site-packages\isocor\ui\isocordb.py", line 6, in from distutils.dir_util import copy_tree ModuleNotFoundError: No module named 'distutils'

gmat commented 8 months ago

I guest you use python 3.12

distutils is deprecated with removal planned for Python 3.12.

for a "quick fix", install and use a python < 3.12

gmat commented 8 months ago

If you know pip command you could install setuptools

 pip install setuptools

I'll do a PR to put setuptools in the requirements

hejinfjmu commented 8 months ago

I guest you use python 3.12

distutils is deprecated with removal planned for Python 3.12.

for a "quick fix", install and use a python < 3.12

yes, I used 3.12, and I changed conda to install python, it can work. Thank you.

pierremillard commented 7 months ago

bug solved in IsoCor v2.2.2