不使用pip安装python wheel文件 [英] Install python wheel file without using pip

查看:369
本文介绍了不使用pip安装python wheel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在不使用pip的情况下安装Python滚轮?我通常在使用pip进行安装时遇到问题,因此我通常通过复制和粘贴来手动安装库.我想知道是否有一种类似的方式来处理车轮文件.

Is it possible to install a Python wheel without using pip? I always have issues with installing with pip, so I usually install libraries manually by copying and pasting. I'm wondering if there is a way to do wheel files in a similar manner.

推荐答案

是.实际上.whl文件只是zip存档,因此您只需提取它们的内容并使用库路径变量来使其起作用. 但这确实是不好的做法.

It is. Actually .whl files are just zip archives, so you can just extract their content and play with libraries path variable to make it work. Yet it is really bad practice.

这篇关于不使用pip安装python wheel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆