Kivy是否可以在不自行构建wheel的情况下安装?

huangapple go评论57阅读模式
英文:

Is Kivy installation possible today without building your own wheel?

问题

此链接显示,为了在Python 3.11上安装Kivy,您必须构建自己的"wheel"。不幸的是,对我来说,上述安装在"make install"命令失败。"which python"似乎确认我在正确的虚拟环境中,但我不确定。

所以我们可以确定,如果截至今天,您有最新版本的Python,即Python 3.11,那么您必须为Kivy构建自己的"wheel"。

那个StackOverflow链接对我不起作用,所以我想,我将只安装Python 3.7或Python 3.8。不幸的是,www.python.org没有低于3.9版本的安装程序。www.python.org提供了Python 3.7和Python 3.8,但这些版本没有适用于它们的"macOS 64位安装程序"。我不愿尝试手动安装Python而没有安装程序。

我阅读了Kivy文档,确认Kivy支持Python 3.7或Python 3.8。

所以对我来说,因为我想要使用在www.python.org上提供安装程序的Python版本,我不能安装Kivy而不构建自己的"wheel"。而且那个安装对我来说也失败了。

有什么建议吗?

英文:

This link

shows that in order to install Kivy with python3.11, you must build your own "wheel". Unfortunately for me, the above install fails at the "make install" command. "which python" seems to confirm that i am in the correct virtual environment, but i am not certain.

So we know for sure that if, as of today, you have the most recent version of python, which is python3.11, then you must build your own wheel for Kivy.

That stackoverflow link doesnt work for me, so I thought, well I will just install python3.7 or python3.8. Unfortunately www.python.org does not have installers for versions lower than 3.9. www.python.org does have python3.7 and python3.8 available but those versions do not have "macOS 64-bit...installer" available for them. i am reluctant to try a python install manually without the installer.

my reading of the Kivy documentation confirms that Kivy is happy with python3.7 or python3.8.

So for me, because I want to use a python version that has an installer on www.python.org, I cannot install Kivy without building my own wheel. And that installation fails for me.

Any advice?

答案1

得分: 0

答案是肯定的,Kivy的安装现在可以在不自己构建轮子的情况下进行。截止到今天,2023年2月8日,您可以使用python3.10。Kivy的轮子已经为python3.10构建好。我在运行Monterey 12.6的Mac笔记本上从www.python.org安装了Python3.10。然后,我按照www.kivy.org上的Kivy安装说明进行操作。这些说明完美地起作用,现在我可以从命令行运行Kivy应用程序。下一步是将我的Python集成开发环境(IDE)与用于安装Python3.10和Kivy的环境变量同步。

英文:

The answer is YES, Kivy installation is possible today without building your own wheel. Use python3.10 as of today, February 8, 2023. Kivy wheels are already built for phthon3.10. I installed Python3.10 from www.python.org on my mac laptop running Monterey 12.6. Then I followed the Kivy install instructions at www.kivy.org. The instructions worked perfectly and now I can run Kivy apps from the command line. Next step is to synchronize my python IDE with the environment variables that were used to install Python3.10 and Kivy.

huangapple
  • 本文由 发表于 2023年2月9日 03:00:46
  • 转载请务必保留本文链接:https://go.coder-hub.com/75390532.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定