[RELEASE] Python 3.8.0 is now available
On behalf of the Python development community and the Python 3.8 release team, I’m pleased to announce the availability of Python 3.8.0. Python 3.8.0 is the newest feature release of the Python language, and it contains many new features and optimizations. You can find Python 3.8.0 here: https://www.python.org/downloads/release/python-380/ https://www.python.org/downloads/release/python-380/ Most third-party distributors of Python should be making 3.8.0 packages available soon. See the “What’s New in Python 3.8 https://docs.python.org/3.8/whatsnew/3.8.html” document for more information about features included in the 3.8 series. Detailed information about all changes made in 3.8.0 can be found in its change log. Maintenance releases for the 3.8 series will follow at regular bi-monthly intervals starting in December of 2019. We hope you enjoy Python 3.8! Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation. https://www.python.org/psf/ https://www.python.org/psf/ - Ł
On 2019-10-14 21:23, Łukasz Langa wrote:
On behalf of the Python development community and the Python 3.8 release team, I’m pleased to announce *the availability of Python 3.8.0*.
[snip] I've installed pywin32 on Python 3.8, but when I try to import win32clipboard it says it can't find it: Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
import win32 import win32clipboard Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: DLL load failed while importing win32clipboard: The specified module could not be found.
Does anyone else have this problem?
On 10/15/2019 11:03 AM, MRAB wrote:
On 2019-10-14 21:23, Łukasz Langa wrote:
On behalf of the Python development community and the Python 3.8 release team, I’m pleased to announce *the availability of Python 3.8.0*.
[snip] I've installed pywin32 on Python 3.8, but when I try to import win32clipboard it says it can't find it:
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
import win32 import win32clipboard Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: DLL load failed while importing win32clipboard: The specified module could not be found.
Does anyone else have this problem?
Yes, and also win32gui (of pywin32) gets the same error.
On 2019-10-15 19:03, MRAB wrote:
On 2019-10-14 21:23, Łukasz Langa wrote:
On behalf of the Python development community and the Python 3.8 release team, I’m pleased to announce *the availability of Python 3.8.0*.
[snip] I've installed pywin32 on Python 3.8, but when I try to import win32clipboard it says it can't find it:
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
import win32 import win32clipboard Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: DLL load failed while importing win32clipboard: The specified module could not be found.
Does anyone else have this problem?
I found the solution: copy pywintypes38.dll and pythoncom38.dll from site-packages/pywin32_system32 into site-packages/win32.
On 15Oct2019 1143, MRAB wrote:
On 2019-10-15 19:03, MRAB wrote:
I've installed pywin32 on Python 3.8, but when I try to import win32clipboard it says it can't find it:
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import win32 >>> import win32clipboard Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: DLL load failed while importing win32clipboard: The specified module could not be found. >>>
Does anyone else have this problem?
I found the solution: copy pywintypes38.dll and pythoncom38.dll from site-packages/pywin32_system32 into site-packages/win32.
The new os.add_dll_directory() function [1] is a way for pywin32 to work around this themselves without having to relocate files. The note in the doc also explains the cause. Cheers, Steve [1]: https://docs.python.org/3.8/library/os.html#os.add_dll_directory
participants (4)
-
Glenn Linderman
-
MRAB
-
Steve Dower
-
Łukasz Langa