Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
depend: Allow pylib detection when not a dependency of python.exe
If libpython is not detected uses the dependency checker to look for a dll matching the pattern pythonXY.dll using the same method as automated detection. Checks after automated detection and only on windows systems. Fixes pyinstaller#3942
- Loading branch information
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
worked out in my pycharm project thanks much
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This worked for me on Windows with Python 3.7. I wasn't using PyCharm. Just had installed pyinstaller within a virtualenv.
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ericfrederich same here.
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
Worked like a charm with venv, python 3.7.2 sqalchemy + PySimpleGUI, Thank you very much!
Please put this inside my pyinstaller as soon as possible.
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super! Thx
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So glad this is working for everyone, been a little rocky journey at times with learning the ins and outs of contributing to public repos and working with CI. Glad I was able to make things a little bit smoother.
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked! (Python 3.7.3 venv + Win10 64bit)
Why isn't this merged yet?
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excelent! Thanks. Worked. Win8 Python 3.7.2
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much!
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. (Win 10 + Python 3.7.3 + PyCharm)
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it worked! Using VSCode, Python 3.7.3 and virtualenv 16.5.0
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally found this - works for me Win 10, Visual Studio, Python 3.7.3
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Life saver! Same problem as everyone else. Albeit, not using Pycharm, just CLI and VS code.
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i tried this and it does allow the process to complete but i get "Error loading Python DLL" when trying to launch the resulting exe. does anyone have any ideas how to fix this?
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any update?
14b6e65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch was over two years ago, I believe there is a develop branch that either implemented this or another method of fixing the Python DLL recognition.
Unfortunately without more information of the existing environment this is a very difficult problem to troubleshoot, for example the original issue only appeared while working with
venv
not a system wide install and only in 3.7 if I remember correctly.