pyinstaller does not take packages from virtual environment #9048
-
Hi All, I have the following set-up:
Task: generating an EXE from a script inside my project (C:\myproject\scripts\myscript.py) and having that EXE built with the packages installed in the virtual environment. From the generated Analysis-00.toc, I can see that the directory
I have tried a bit of everything, such as:
My conclusion: for some reason, pyinstaller is not able to use the site-packages of the virtual environment. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
What is this module |
Beta Was this translation helpful? Give feedback.
Is your
Tools
dist perhaps installed in editable mode? PyInstaller is known not to be able to resolve that...What is the output of the following snippet
I.e., what is the "true" location of the
Tools
?