-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fails to copy python3.dll to Virtualenv under Windows #1050
Comments
effectively this really looks like 1015 but on Windows.
simply Linux system pythons (python coming with the Linux distributions) aren't compiled with that option (relative path to the shared library). |
@jdmansour fyi: python3 has its embedded |
@gst Interesting, I always thought that the builtin One added complication is that I used |
I m a user like you here ;) venv vs virtualenv: they are not the same yes. |
@dstufft Hi Donald, sorry to ping you but I've seen in the commit history you're a major contributor of virtualenv. Any possible solution about trivial issue? Running virtualenv 15.1.0 on a windows platform will show this issue after installing pyqt5. Copying So, wouldn't something like copying python3*.dll on the virtualenv Scripts folder if platform==windows solve it? |
Fix issue #1050 - Copy additional python dll to the scripts folder so…
When creating a Virtualenv under Windows (using Python 3.6), it seems to work fine at first, but some modules (notably PyQt5) complain with
ImportError: DLL load failed: The specified module could not be found.
. The cause is that it fails to findpython3.dll
(notpython3.6.dll
). Manually copying it to the Scripts directory fixes the problem.Another option would be to add the original Python directory to the PATH, but I think that might cause problems. Better to keep the Virtualenv separate from the main installation, at the expense of copying one more file.
I wonder how this is handled under Linux, I never had that problem there?
Here somebody mentions the problem in a different isue: #796 (comment)
I think this issue is related, but for Linux: #1015
The text was updated successfully, but these errors were encountered: