This repository was archived by the owner on Mar 9, 2026. It is now read-only.
How can I install 3rd party packages #26
|
I want to import "xlrd" in my python code, but I don't how to install it to my Unity project. Is there someway install 3rd party packages. Thank you. |
Answered by
exodrifter
Apr 13, 2020
Replies: 2 comments
|
You'll need to add the location of the Basically, you'll need to do something like this: var engine = Python.CreateEngine();
var paths = engine.GetSearchPaths();
paths.Add("path/to/xlrd/module");
engine.SetSearchPaths (paths); |
0 replies
Answer selected by
exodrifter
|
OK, It worked. Thanks |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You'll need to add the location of the
xlrdmodule when you set up the Python engine. We do something like this in the PythonLibrary.cs example.Basically, you'll need to do something like this: