尝试在22.04安装Pyenv-缺少Python-Openssl?

发布于 2025-02-02 11:59:40 字数 536 浏览 5 评论 0原文

E:无法找到Python-Openssl的软件包

具有22.04(非升级)的全新安装,并且似乎我遇到了很多问题,试图使我的“常规”工具与Python 3.10.4一起使用。试图降级捆绑的python太可怕了,宁愿使用诸如VENV或PIPENV之类的开发工具。

realpython> realpython 这里的文章说我需要安装这些构建工具,获取(仍然不确定Pipenv是否正确运行),但它会在OpenSSL上窒息。有什么原因发生了吗?好像我在22.04 World早些时候遇到了该模块的问题,但不能准确地回忆起哪里。

我遇到的这种类型的问题越多,我越质疑Ubuntu Packagers使用3.10,我敢肯定,我可以检查一下这些问题将在pypi.org上解决多久,但很好奇多少在我的Dev同伴中,他们觉得他们过早地升级了基本操作系统?

E: Unable to locate package python-openssl

Have a fresh install of 22.04 (non-upgrade) and seems I'm running into a ton of issues trying to make my "usual" tools work with Python 3.10.4 that comes bundled with. It's too scary trying to downgrade a bundled Python, much rather use dev tools like venv or pipenv.

RealPython article here says I need to install these build tools, get that (still not sure pipenv will run correctly), but it chokes on openssl. Any reason that is happening? Seems like I ran into an issue with that module earlier on in the 22.04 world but can't recollect exactly where.

The more of this type of issue I run into, the more I question the Ubuntu packagers going with 3.10, I'm sure I could check to see how soon these issues will be resolved on pypi.org or the like, but curious how many of my fellow devs feel like they upgraded the base OS too soon?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小矜持 2025-02-09 11:59:40

我通过安装Python3-openssl而不是仅仅是Python-Openssl,在Ubuntu 22.04(22.04的WSL2版本)上工作了Pyenv。像,使用

sudo apt安装python3-openssl

I got pyenv working on Ubuntu 22.04 (the WSL2 version of 22.04, but still) by installing python3-openssl instead of just python-openssl. Like, by using

sudo apt install python3-openssl

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文