Skip to content
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

Add warning message for Python API #313

Merged
merged 1 commit into from
Dec 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,21 @@ You can also build the image from the source as well. From the root directory of
docker build -t doyubkim/fluid-engine-dev .
```

> Warning: When you run Python examples using Intel TBB from Windows, you might encounter the following error:
```
import pyjet
ImportError: DLL load failed while importing pyjet:
The specified module could not be found.
```

> It is a new Windows safety feature that changes how DLLs are loaded in Python 3.8+. To resolve this issue, I needed to tell Python how to find the library again like this:
```
import os
os.add_dll_directory(r'C:/Intel/tbb/bin/intel64/vc14') << (The path that Intel TBB is located)
import pyjet
```

> Open example file and add the code above to the first line. Now, you won't have any problems running it.

### Coding Style

Expand Down