Hello!
We tried to upload our version to sct_4.2.1 and we found the following issue:
extop@:/aran/spinalcordtoolbox-4.2.1$ ./install_sct
*******************************
* Welcome to SCT installation *
*******************************
Checking OS type and version...
Linux vh 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Checking requirements...
ERROR: Shell was not recognized: /bin/sh
Installation failed
My knowledge of programation says that this will be not an sct problem but something i did wrong on my end..
Before that, we tried to run some orders with sct and we found the first of our problems, something with the Keras installation. I am uploading the output from **sct_check_dependencies**.
extop@:/aran/spinalcordtoolbox-4.2.1$ sct_check_dependencies
--
Spinal Cord Toolbox (git-master-2c66d15d04d1048cc1ebbe65dd266ebf4bd7528f)
SCT info:
- version: git-master-2c66d15d04d1048cc1ebbe65dd266ebf4bd7528f
- path: /home/extop/sct_git
OS: linux (Linux-4.18.0-25-generic-x86_64-with-debian-buster-sid)
CPU cores: Available: 12, Used by SCT: 12
RAM: MemTotal: 131698196 kB
Memory 128611 9226 16066 365 103318 117805
Swap: 975 6 969
Check Python executable.............................[OK]
Using bundled python 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 19:07:31)
[GCC 7.3.0] at /home/extop/sct_git/python/envs/venv_sct/bin/python
Check if data are installed.........................[OK]
Check if numpy is installed.........................[OK] (1.17.2)
Check if cryptography is installed..................[OK] (2.7)
Check if dipy is installed..........................[OK] (1.0.0)
Check if futures is installed.......................[OK]
Check if h5py is installed..........................[OK] (2.10.0)
Check if Keras is installed.........................Traceback (most recent call last):
File "/home/extop/sct_git/scripts/sct_check_dependencies.py", line 385, in <module>
main()
File "/home/extop/sct_git/scripts/sct_check_dependencies.py", line 279, in main
module = module_import(module_name, suppress_stderr)
File "/home/extop/sct_git/scripts/sct_check_dependencies.py", line 108, in module_import
module = importlib.import_module(module_name)
File "/home/extop/sct_git/python/envs/venv_sct/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/extop/sct_git/python/envs/venv_sct/lib/python3.6/site-packages/keras/__init__.py", line 3, in <module>
from . import utils
File "/home/extop/sct_git/python/envs/venv_sct/lib/python3.6/site-packages/keras/utils/__init__.py", line 26, in <module>
from .vis_utils import model_to_dot
File "/home/extop/sct_git/python/envs/venv_sct/lib/python3.6/site-packages/keras/utils/vis_utils.py", line 7, in <module>
from ..models import Model
File "/home/extop/sct_git/python/envs/venv_sct/lib/python3.6/site-packages/keras/models.py", line 10, in <module>
from .engine.input_layer import Input
File "/home/extop/sct_git/python/envs/venv_sct/lib/python3.6/site-packages/keras/engine/__init__.py", line 8, in <module>
from .training import Model
File "/home/extop/sct_git/python/envs/venv_sct/lib/python3.6/site-packages/keras/engine/training.py", line 973
max_queue_size=10,
^
SyntaxError: invalid syntax
Any ideas on how to proceed? Hopefully, somebody can help me with the installation problem and maybe the SCT team wants to take a look at the keras thing?
thanks