Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sqlite/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 是否可以在blender 2.81 python上重新安装sqlite3?_Python 3.x_Sqlite_Blender - Fatal编程技术网

Python 3.x 是否可以在blender 2.81 python上重新安装sqlite3?

Python 3.x 是否可以在blender 2.81 python上重新安装sqlite3?,python-3.x,sqlite,blender,Python 3.x,Sqlite,Blender,使用BlenderGIS和Blender 2.81进行研究时提出的问题。似乎sqlite3库有问题——在本地文件夹中查找不存在的库。blender解释器库中存在sqlite3库,但导入它会引发错误 这让我对在blender的python环境中重新安装sqlite3模块来解决这个问题感到好奇。关于这个主题,我想没有太多的文档,因为这是一件非常罕见的事情。尽管如此,这是可能的吗?Pythons sqlite模块是一个编译过的C库。二进制文件包含确定在何处搜索lib的数据。看起来osx构建可能配置了依

使用
BlenderGIS
Blender 2.81
进行研究时提出的问题。似乎sqlite3库有问题——在本地文件夹中查找不存在的库。blender解释器库中存在
sqlite3
库,但导入它会引发错误


这让我对在blender的python环境中重新安装
sqlite3
模块来解决这个问题感到好奇。关于这个主题,我想没有太多的文档,因为这是一件非常罕见的事情。尽管如此,这是可能的吗?

Pythons sqlite模块是一个编译过的C库。二进制文件包含确定在何处搜索lib的数据。看起来osx构建可能配置了依赖项库构建文件夹的绝对rpath,或者使用了动态库而不是静态库。不确定使用osx,但是*nix可以删除python文件夹,它会找到系统安装的python。所以,是的,您应该能够构建和替换python的blenders——这不是推荐的,只是确保您匹配python版本。或者创建自己的blender副本。在终端中使用
ldd\u sqlite3.cpython-37m-darwin.so
查看它链接到的库。将搅拌机安装与您要更换的搅拌机进行比较。