Answer the question
In order to leave comments, you need to log in
Why does an error appear when running the PyInstaller exe with TensorFlow2 and Tkinter libraries?
I have a small Tkinter application that uses the TensorFlow2 library. I run pyinstaller main2.py
and the project builds successfully, but when I run it via console I get this error . How can I fix this error?
Imports:
from tkinter import *
import tensorflow as tf
import tensorflow_hub as hub
import numpy as np
import PIL.Image
Answer the question
In order to leave comments, you need to log in
Try putting the file 'cudart64_101.dll' next to main2.exe, because your program cannot find this dll.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question