I am trying working code in google colab to streamlit.io. For this I downloaded my ipynb file to python file. whent running in streamlit it show following error.
[ UTC ] Logs for calculation-mothertree.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[03:25:22] 🚀 Starting up repository: 'mtanalysis', branch: 'main', main module: 'main.py'
[03:25:22] 🐙 Cloning repository...
[03:25:22] 🐙 Cloning into '/mount/src/mtanalysis'...
[03:25:22] 🐙 Cloned repository!
[03:25:22] 🐙 Pulling code changes from Github...
[03:25:23] 📦 Processing dependencies...
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
error[2024-11-12 03:25:32.916194] : [2024-11-12 03:25:32.916651] Failed to download and build `[2024-11-12 03:25:32.916993] gdal[2024-11-12 03:25:32.917267] ==[2024-11-12 03:25:32.917579] 3.6.4[2024-11-12 03:25:32.917838] `[2024-11-12 03:25:32.918064]
[2024-11-12 03:25:32.918510] Caused by[2024-11-12 03:25:32.918861] : [2024-11-12 03:25:32.919141] Failed to build: `[2024-11-12 03:25:32.919373] gdal==3.6.4[2024-11-12 03:25:32.922792] `[2024-11-12 03:25:32.923249]
[2024-11-12 03:25:32.923855] Caused by[2024-11-12 03:25:32.924097] : [2024-11-12 03:25:32.924448] Build backend failed to determine extra requires with `build_wheel()`[2024-11-12 03:25:32.924725] with [2024-11-12 03:25:32.926957] exit status: [2024-11-12 03:25:32.927206] 1[2024-11-12 03:25:32.927517]
--- stdout:
WARNING: numpy not available! Array support will not be enabled
running egg_info
writing gdal-utils/GDAL.egg-info/PKG-INFO
writing dependency_links to gdal-utils/GDAL.egg-info/dependency_links.txt
writing requirements to gdal-utils/GDAL.egg-info/requires.txt
writing top-level names to gdal-utils/GDAL.egg-info/top_level.txt[2024-11-12 03:25:32.928031]
--- stderr:
Traceback (most recent call last):
File "<string>", line 87, in fetch_config
File "/usr/local/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 188, in get_gdal_config
File "<string>", line 90, in fetch_config
gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 350, in <module>
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 994, in run_command
super().run_command(command)
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 312, in run
self.find_sources()
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 320, in find_sources
mm.run()
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 543, in run
self.add_defaults()
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 581, in add_defaults
sdist.add_defaults(self)
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/command/sdist.py", line 109, in add_defaults
super().add_defaults()
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 238, in add_defaults
self._add_defaults_ext()
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 322, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 303, in get_finalized_command
cmd_obj.ensure_finalized()
File "/home/adminuser/.cache/uv/.tmplVPNPr/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "<string>", line 255, in finalize_options
File "<string>", line 194, in get_gdal_config
gdal_config_error: Traceback (most recent call last):
File "<string>", line 87, in fetch_config
File "/usr/local/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 188, in get_gdal_config
File "<string>", line 90, in fetch_config
gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
Could not find gdal-config. Make sure you have installed the GDAL native library and development headers.[2024-11-12 03:25:32.931864]
---[2024-11-12 03:25:32.941787]
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────── pip ───────────────────────────────────────────
Using standard pip install.
Collecting en-core-web-sm@ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl#sha256=86cc141f63942d4b2c5fcee06630fd6f904788d2f0ab005cce45aadb8fb73889 (from -r /mount/src/mtanalysis/requirements.txt (line 91))
Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl (12.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.8/12.8 MB 88.9 MB/s eta 0:00:00[2024-11-12 03:25:36.139388]
Collecting nx-cugraph-cu12@ https://pypi.nvidia.com/nx-cugraph-cu12/nx_cugraph_cu12-24.10.0-py3-none-any.whl (from -r /mount/src/mtanalysis/requirements.txt (line 304))
Downloading https://pypi.nvidia.com/nx-cugraph-cu12/nx_cugraph_cu12-24.10.0-py3-none-any.whl (149 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.4/149.4 kB 6.4 MB/s eta 0:00:00[2024-11-12 03:25:36.269607]
ERROR: pylibcudf_cu12-24.10.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl is not a supported wheel on this platform.
[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[03:25:37] ❗️ installer returned a non-zero exit code
[03:25:37] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[03:27:12] ❗️ Streamlit server consistently failed status checks
[03:27:12] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.
[03:35:23] 🐙 Pulling code changes from Github...
[03:35:23] 📦 Processing dependencies...
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
error: Failed to download and build `gdal==3.6.4`
Caused by: Failed to build: `gdal==3.6.4`
Caused by: Build backend failed to determine extra requires with `build_wheel()` with exit status: 1
--- stdout:
WARNING: numpy not available! Array support will not be enabled
running egg_info
writing gdal-utils/GDAL.egg-info/PKG-INFO
writing dependency_links to gdal-utils/GDAL.egg-info/dependency_links.txt
writing requirements to gdal-utils/GDAL.egg-info/requires.txt
writing top-level names to gdal-utils/GDAL.egg-info/top_level.txt
--- stderr:
Traceback (most recent call last):
File "<string>", line 87, in fetch_config
File "/usr/local/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 188, in get_gdal_config
File "<string>", line 90, in fetch_config
gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 350, in <module>
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 994, in run_command
super().run_command(command)
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 312, in run
self.find_sources()
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 320, in find_sources
mm.run()
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 543, in run
self.add_defaults()
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 581, in add_defaults
sdist.add_defaults(self)
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/command/sdist.py", line 109, in add_defaults
super().add_defaults()
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 238, in add_defaults
self._add_defaults_ext()
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 322, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 303, in get_finalized_command
cmd_obj.ensure_finalized()
File "/home/adminuser/.cache/uv/.tmpWQRkup/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "<string>", line 255, in finalize_options
File "<string>", line 194, in get_gdal_config
gdal_config_error: Traceback (most recent call last):
File "<string>", line 87, in fetch_config
File "/usr/local/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 188, in get_gdal_config
File "<string>", line 90, in fetch_config
gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
Could not find gdal-config. Make sure you have installed the GDAL native library and development headers.
---
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────── pip ───────────────────────────────────────────
Using standard pip install.
ERROR: cudf_cu12-24.10.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl is not a supported wheel on this platform.
[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[03:35:34] ❗️ installer returned a non-zero exit code
[03:54:07] 🐙 Pulling code changes from Github...
[03:54:08] 📦 Processing dependencies...
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
error[2024-11-12 03:54:11.581408] : [2024-11-12 03:54:11.581724] Failed to download and build `gdal==3.6.4`
Caused by: Failed to build: `gdal==3.6.4`
Caused by: Build backend failed to determine extra requires with `build_wheel()` with exit status: 1
--- stdout:
WARNING: numpy not available! Array support will not be enabled
running egg_info
writing gdal-utils/GDAL.egg-info/PKG-INFO
writing dependency_links to gdal-utils/GDAL.egg-info/dependency_links.txt
writing requirements to gdal-utils/GDAL.egg-info/requires.txt
writing top-level names to gdal-utils/GDAL.egg-info/top_level.txt
--- stderr:
Traceback (most recent call last):
File "<string>", line 87, in fetch_config
File "/usr/local/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 188, in get_gdal_config
File "<string>", line 90, in fetch_config
gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 350, in <module>
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 994, in run_command
super().run_command(command)
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 312, in run
self.find_sources()
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 320, in find_sources
mm.run()
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 543, in run
self.add_defaults()
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 581, in add_defaults
sdist.add_defaults(self)
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/command/sdist.py", line 109, in add_defaults
super().add_defaults()
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 238, in add_defaults
self._add_defaults_ext()
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 322, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 303, in get_finalized_command
cmd_obj.ensure_finalized()
File "/home/adminuser/.cache/uv/.tmpI4zuvR/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "<string>", line 255, in finalize_options
File "<string>", line 194, in get_gdal_config
gdal_config_error: Traceback (most recent call last):
File "<string>", line 87, in fetch_config
File "/usr/local/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 188, in get_gdal_config
File "<string>", line 90, in fetch_config
gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
Could not find gdal-config. Make sure you have installed the GDAL native library and development headers.
---
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────── pip ───────────────────────────────────────────
Using standard pip install.
ERROR: cudf_cu12-24.10.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl is not a supported wheel on this platform.
[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[03:54:16] ❗️ installer returned a non-zero exit code
- my github link for the code is: GitHub - rk2026/mtanalysis: MT analysis applocation
- my streamlit link is: https://calculation-mothertree.streamlit.app/
In this context what should I do?