mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Fix how channels are added to -c command
This commit is contained in:
@@ -117,7 +117,8 @@ def ensure_conda_packages(prefix, packages, channels=('conda-forge',), force_rei
|
||||
# avoids problems with RemoveError upgrading conda from old versions
|
||||
cmd += ["--force-reinstall"]
|
||||
|
||||
cmd += ["-c", channel for channel in channels]
|
||||
for channel in channels:
|
||||
cmd += ["-c", channel]
|
||||
|
||||
abspath = os.path.abspath(prefix)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user