[英]import sqlite3.dll from from another file location python
I new to python but how do I import the sqlite3.dll file from a custom file location as I can't find anything about it.我是 python 的新手,但是我如何从自定义文件位置导入 sqlite3.dll 文件,因为我找不到任何关于它的信息。 I can accept any option including building a new pyd,dll,etc file.我可以接受任何选项,包括构建新的 pyd、dll 等文件。
Edit: I need it to be in a separate location.编辑:我需要它在一个单独的位置。
Note: The following answers the above question with more thorough steps.注意:以下通过更彻底的步骤回答了上述问题。
I had the same issue as administrative rights to the default python library is blocked in a corporate environment and its extremely troublesome to perform installations.我遇到了与默认 python 库的管理权限相同的问题,该库在公司环境中被阻止,并且执行安装非常麻烦。
What works for me:什么对我有用:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.