Skip to content

How to import a local script/module in a script run by blenderproc ? #754

Answered by themasterlink
matthieucx asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,

it seems that your file is not part of your PYTHONPATH:

import sys
sys.path.append(FOLDER_PATH)

That would be one option.

Without an exact knowledge how your stuff is structured I can't explain to you how to include it otherwise.

Best,
Max

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by matthieucx
Comment options

You must be logged in to vote
1 reply
@themasterlink
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants