mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Install gcc by default
Required by psutil, which is required by nbresuse
This commit is contained in:
@@ -203,6 +203,11 @@ def ensure_user_environment(user_requirements_txt_file):
|
|||||||
with conda.download_miniconda_installer(miniconda_version, miniconda_installer_md5) as installer_path:
|
with conda.download_miniconda_installer(miniconda_version, miniconda_installer_md5) as installer_path:
|
||||||
conda.install_miniconda(installer_path, USER_ENV_PREFIX)
|
conda.install_miniconda(installer_path, USER_ENV_PREFIX)
|
||||||
|
|
||||||
|
# nbresuse needs psutil, which requires gcc
|
||||||
|
apt.install_packages([
|
||||||
|
'gcc'
|
||||||
|
])
|
||||||
|
|
||||||
conda.ensure_conda_packages(USER_ENV_PREFIX, [
|
conda.ensure_conda_packages(USER_ENV_PREFIX, [
|
||||||
# Conda's latest version is on conda much more so than on PyPI.
|
# Conda's latest version is on conda much more so than on PyPI.
|
||||||
'conda==4.5.8'
|
'conda==4.5.8'
|
||||||
|
|||||||
Reference in New Issue
Block a user