MrGiovanni / Pixel2Cancer

[MICCAI 2024] Cellular Automata for Tumor Development - Realistic Synthetic Tumors in Liver, Pancreas, and Kidney
https://arxiv.org/pdf/2403.06459.pdf
Apache License 2.0
30 stars 1 forks source link

Bug when installing cellular automata #3

Open BodongDu opened 2 months ago

BodongDu commented 2 months ago

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "setup.py", line 61, in setup( File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/init.py", line 103, in setup return distutils.core.setup(**attrs) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command super().run_command(command) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py", line 84, in run self.do_egg_install() File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py", line 132, in do_egg_install self.run_command('bdist_egg') File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command super().run_command(command) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 167, in run cmd = self.call_command('install_lib', warn_dir=0) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command self.run_command(cmdname) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command super().run_command(command) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/command/install_lib.py", line 11, in run self.build() File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/install_lib.py", line 111, in build self.run_command('build_ext') File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command super().run_command(command) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 88, in run _build_ext.run(self) File "/opt/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run _build_ext.build_ext.run(self) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run self.build_extensions() File "/home/zbh/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 870, in build_extensions build_ext.build_extensions(self) File "/opt/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions _build_ext.build_ext.build_extensions(self) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 249, in build_extension _build_ext.build_extension(self, ext) File "/opt/anaconda3/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "/home/zbh/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 683, in unix_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "/home/zbh/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1783, in _write_ninja_file_and_compile_objects _run_ninja_build( File "/home/zbh/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2123, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension