使用Conda从私人PYPI中安装Python包装
我是Conda的新手,最近更改为带有M1芯片的MacBook,因此有些软件包更容易或仅与Conda一起安装,这就是为什么我使用Conda。
我想做的是,但是有了康达:
pip install --index-url https://<private-pypi> private-package
找不到实现这一目标的方法,我能做什么线索?
I'm new to Conda and recently changed to a MacBook with the M1 chip, so there are some packages that are easier or only available to install with Conda, that's why I'm using Conda.
What I'm trying to do is this but with Conda:
pip install --index-url https://<private-pypi> private-package
Couldn't find a way to achieve this, any clue what can I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您可以使用此模板在git中版本来帮助获取软件包:
如果您需要在conda env中安装pip:
https://gist.github.com/jaza/jaza/fcea493dd0ba6ebf09d3
在pypi中,有一个私人pypi package:
https://pypi.org/prog/project/proivate/private-pypi/
但是我不知道它会为您提供多少帮助。我认为您不需要这个,您的用法听起来要简单得多。
在GitHub中,您需要确保您的存储库设置了开发人员令牌供您使用:
https://techglimpse.com/git-push-push-push--push-tlow-------- - 无通话/
If its versioned in git that you can use this template to help get package:
If you need to install pip within your conda env:
This gist should help: https://gist.github.com/Jaza/fcea493dd0ba6ebf09d3
In PyPi, there is the private-pypi package:
https://pypi.org/project/private-pypi/
But I don't know how much its going to help you. I don't think you need this, your usage sounds much simpler.
In Github, you need to make sure your repository has developer tokens set up for you to use:
https://techglimpse.com/git-push-github-token-based-passwordless/