First of all, thank you for your detailed reply
It’s just that my application is not written by Python, but, to put it simply, it’s an application that calls the dynamic library in C mode to complete the corresponding functions
The reason for using pip is that it is the fastest way I can find to install the torch runtime library
The purpose of using “classic” is not to forcibly install a copy of the torch runtime library locally, but to check whether there is a local installation. If there is, use it directly, or install it if there is no local installation
The local installation through pip is of course compatible with the local installation, and the so-called conflict will not occur naturally
I wonder if it will help you understand. Thanks again
首先谢谢你这么详尽的回复
只是,我这个应用其实并非由 python 编写,而是,简单地说,是 C 方式调用动态库完成相应功能的应用
之所以用到 pip,是因为这是我目前能够找到的最快捷的安装 torch 运行时库的方式
而使用“classic”的目的也非想强行安装一份 torch 运行时库到本地,而是先查看本地有无安装,有则直接使用,无则安装
通过 pip 进行的本地安装当然便是兼容本地的安装,自然也不会出现所谓冲突
不知是否有助你的理解,再次感谢