如何安装带有.whl文件的Python软件包?

女生的网名这么多〃 提交于 2020-04-24 06:06:57

问题:

I'm having trouble installing a Python package (specifically, JPype1 0.5.7) on my Windows machine, and would like to install it with Christoph Gohlke's Window binaries. 我在Windows机器上安装Python软件包(特别是JPype1 0.5.7)时遇到问题,并且想用Christoph Gohlke的Window二进制文件安装它。 (Which, to my experience, alleviated much of the fuss for many other package installations.) (根据我的经验,这减轻了许多其他软件包安装的麻烦。)

However, while Christoph used to provide .exe files in the past, recently it seems he's uploading .whl files instead. 但是,尽管Christoph过去曾经提供过.exe文件,但最近看来他正在上传.whl文件。

http://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype http://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype

But how do I install .whl files? 但是,如何安装.whl文件?

Notes: 笔记:

  • I've found documents on wheel , but they don't seem so staightforward in explaining how to install .whl files. 我已经找到了车轮上的文档 ,但是它们在解释如何安装.whl文件时似乎并不那么简单。
  • This question is a duplicate with this question , which wasn't directly answered. 该问题与该问题重复,但未直接回答。

解决方案:

参考一: https://stackoom.com/question/1t0GT/如何安装带有-whl文件的Python软件包
参考二: https://oldbug.net/q/1t0GT/How-do-I-install-a-Python-package-with-a-whl-file
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!