-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
about inspect.py error #6237
Comments
You need to ensure that source .py files of whatever torch-based library you are using ( Try adding a |
And once you have those .py files collected, you will hit a bug where we don't handle packages' pyinstaller/PyInstaller/loader/pyimod03_importers.py Lines 336 to 340 in 5a02f55
If you're in a hurry, you can try patching those lines in your local pyinstaller installation, so they read: if fullname in self.toc:
# Try loading .py file from the filesystem
if self.is_package(fullname):
fullname += '.__init__'
filename = pyi_os_path.os_path_join(
SYS_PREFIX,
fullname.replace('.', pyi_os_path.os_sep) + '.py') A simple test program, # program.py
import kornia
print("Hello") frozen with |
Yes, he has started to work. Thank you for your reply. Hope you have a wonderful day |
I have checked many previous answers, but there is still no solution. Looking forward to your reply
![A@C_HWQ$1F$Z_(9J1)8B](https://user-images.githubusercontent.com/48466610/134448962-50acd103-589a-49d0-8094-4fb8b91683e1.png)
The text was updated successfully, but these errors were encountered: