如何在Python虚拟环境中添加具有不寻常构建的自定义软件包?
我是虚拟环境的新手,但是需要将它们用于我正在处理的超级计算机上的Python软件包。我有一个希望使用的软件包,但是我无法使用pip
以安装所需的其他软件包的方式安装它。
要构建此软件包,我必须导航到特定目录并运行./ build
命令,然后我能够导入
将其纳入python并正常使用。有没有办法在虚拟环境中进行设置,以便我可以source ...激活
,并且可以构建软件包并可以使用该软件包?
I'm new to virtual environments, but am required to use them for using python packages on an supercomputer that I am working on. I have a package that I wish to use, but I can't install it using pip
in the way that I can install the other packages I need.
To build this package, I have to navigate to a particular directory and run a ./build
command, and then I am able to import
it into python and use as normal. Is there a way to set this up within a virtual environment so that I can just source ... activate
and the package will already be built and can be used?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论