-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第三方库不能使用的问题 #1562
Comments
应该只支持纯python的库 |
You can use any python library in assets, but you must build or install the library with an external python (not kbe python). The external python must have the same version like the kbe python (Python 3.7.3 for KBEngine v2.5.12). Then copy the installed library to the kbengine python import directory (site-packages). |
第三方库不能使用的问题 #1562
I added numpy and lxml to my kbengine project and they worked fine. But my project was hosted on Linux, so the Python libraries were also built on it. I also added the libraries path to
|
可能是因为我使用了fcl库 这个库不是纯Python的 fcl是C++写的 Python封装了一层 |
Thank you for sharing. |
python环境是 3.7.3
我将安装好的第三方库文件在Python37\Lib\site-packages下 复制到 kbengine-2.5.11\kbe\res\scripts\common\Lib\site-packages文件夹下
然后在脚本中导入该库启动keb时报错
在我本地这个库是能正常使用的,所以排除是版本不对的原因
kbe使用第三方库是这么操作的吗 希望好心人帮帮忙
The text was updated successfully, but these errors were encountered: