使用conda-env-mod揭秘Python包安装

Q4 Social Sciences
A. Maji, Lev Gorenstein, Geoffrey Lentner
{"title":"使用conda-env-mod揭秘Python包安装","authors":"A. Maji, Lev Gorenstein, Geoffrey Lentner","doi":"10.1109/HUSTProtools51951.2020.00011","DOIUrl":null,"url":null,"abstract":"Novice users face significant challenges while installing and using Python packages in an HPC environment. Due to the inherent design of tools like Pip and Conda and how packages look for libraries, installing Python packages as a non-root user is complicated and often leads to broken packages with conflicting dependencies. With the growing popularity of Python in the HPC community, supporting users with their package installation needs is an evolving issue for the HPC center staff. In this paper, we present the design and implementation of conda-env-mod—a tool for simplifying the installation and use of Python packages in HPC clusters. conda-env-mod simplifies and streamlines the creation of virtual environments and provides users with environment modules for activating the environments. Users can install individual packages into isolated environments reducing chances of conflict (both current and future) and can activate multiple environments using modules as needed. After users load necessary modules, they can simply run pip and conda to install packages just like they would on their desktop. It also helps create Jupyter kernels and allows users to use external packages in a central JupyterHub installation with ease. conda-env-mod hides the complexity of configuring the package managers and setting up the users’ runtime environments and, thereby, reduces the barriers for novice Python users. Over the last three months (June-August, 2020), more than 160 users have used conda-env-mod to install and manage custom Python packages, while our deep learning package installations, facilitated by conda-env-mod, have been used by 60 plus users.","PeriodicalId":38836,"journal":{"name":"Meta: Avaliacao","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2020-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Demystifying Python Package Installation with conda-env-mod\",\"authors\":\"A. Maji, Lev Gorenstein, Geoffrey Lentner\",\"doi\":\"10.1109/HUSTProtools51951.2020.00011\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Novice users face significant challenges while installing and using Python packages in an HPC environment. Due to the inherent design of tools like Pip and Conda and how packages look for libraries, installing Python packages as a non-root user is complicated and often leads to broken packages with conflicting dependencies. With the growing popularity of Python in the HPC community, supporting users with their package installation needs is an evolving issue for the HPC center staff. In this paper, we present the design and implementation of conda-env-mod—a tool for simplifying the installation and use of Python packages in HPC clusters. conda-env-mod simplifies and streamlines the creation of virtual environments and provides users with environment modules for activating the environments. Users can install individual packages into isolated environments reducing chances of conflict (both current and future) and can activate multiple environments using modules as needed. After users load necessary modules, they can simply run pip and conda to install packages just like they would on their desktop. It also helps create Jupyter kernels and allows users to use external packages in a central JupyterHub installation with ease. conda-env-mod hides the complexity of configuring the package managers and setting up the users’ runtime environments and, thereby, reduces the barriers for novice Python users. Over the last three months (June-August, 2020), more than 160 users have used conda-env-mod to install and manage custom Python packages, while our deep learning package installations, facilitated by conda-env-mod, have been used by 60 plus users.\",\"PeriodicalId\":38836,\"journal\":{\"name\":\"Meta: Avaliacao\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Meta: Avaliacao\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/HUSTProtools51951.2020.00011\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"Social Sciences\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Meta: Avaliacao","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HUSTProtools51951.2020.00011","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"Social Sciences","Score":null,"Total":0}
引用次数: 2

摘要

新手在HPC环境中安装和使用Python包时面临着巨大的挑战。由于Pip和Conda等工具的固有设计以及包查找库的方式,以非root用户的身份安装Python包非常复杂,并且经常导致包因依赖关系冲突而损坏。随着Python在HPC社区中的日益普及,支持用户的包安装需求对HPC中心工作人员来说是一个不断发展的问题。在本文中,我们介绍了conda-env-mod的设计和实现,conda-env-mod是一个简化在HPC集群中安装和使用Python包的工具。Conda-env-mod简化了虚拟环境的创建,并为用户提供了用于激活环境的环境模块。用户可以将单个包安装到隔离的环境中,减少冲突的可能性(当前和将来),并且可以根据需要使用模块激活多个环境。在用户加载必要的模块之后,他们可以简单地运行pip和conda来安装包,就像在桌面上一样。它还有助于创建Jupyter内核,并允许用户在中央JupyterHub安装中轻松使用外部包。conda-env-mod隐藏了配置包管理器和设置用户运行时环境的复杂性,从而减少了Python新手用户的障碍。在过去的三个月(2020年6月至8月),超过160个用户使用conda-env-mod安装和管理自定义Python包,而我们的深度学习包安装,由conda-env-mod提供便利,已被60多个用户使用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Demystifying Python Package Installation with conda-env-mod
Novice users face significant challenges while installing and using Python packages in an HPC environment. Due to the inherent design of tools like Pip and Conda and how packages look for libraries, installing Python packages as a non-root user is complicated and often leads to broken packages with conflicting dependencies. With the growing popularity of Python in the HPC community, supporting users with their package installation needs is an evolving issue for the HPC center staff. In this paper, we present the design and implementation of conda-env-mod—a tool for simplifying the installation and use of Python packages in HPC clusters. conda-env-mod simplifies and streamlines the creation of virtual environments and provides users with environment modules for activating the environments. Users can install individual packages into isolated environments reducing chances of conflict (both current and future) and can activate multiple environments using modules as needed. After users load necessary modules, they can simply run pip and conda to install packages just like they would on their desktop. It also helps create Jupyter kernels and allows users to use external packages in a central JupyterHub installation with ease. conda-env-mod hides the complexity of configuring the package managers and setting up the users’ runtime environments and, thereby, reduces the barriers for novice Python users. Over the last three months (June-August, 2020), more than 160 users have used conda-env-mod to install and manage custom Python packages, while our deep learning package installations, facilitated by conda-env-mod, have been used by 60 plus users.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Meta: Avaliacao
Meta: Avaliacao Social Sciences-Education
CiteScore
0.40
自引率
0.00%
发文量
13
审稿时长
10 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信