We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Make sure you run commands with -v flag before pasting the output.
-v
Initialize and then add xlwings
pdm init pdm add xlwings
import xlwings as xw in py file
import xlwings as xw
Get the error that pywintypes could not be found afterimport xlwings
import xlwings
Traceback (most recent call last): File "e:\Code\pdm-test\test.py", line 1, in <module> import xlwings as xw File "e:\Code\pdm-test\__pypackages__\3.9\lib\xlwings\__init__.py", line 9, in <module> from . import _xlwindows as xlplatform File "e:\Code\pdm-test\__pypackages__\3.9\lib\xlwings\_xlwindows.py", line 14, in <module> import pywintypes File "e:\Code\pdm-test\__pypackages__\3.9\lib\win32\lib\pywintypes.py", line 117, in <module> __import_pywin32_system_module__("pywintypes", globals()) File "e:\Code\pdm-test\__pypackages__\3.9\lib\win32\lib\pywintypes.py", line 98, in __import_pywin32_system_module__ raise ImportError("No system module '%s' (%s)" % (modname, filename)) ImportError: No system module 'pywintypes' (pywintypes39.dll)
After installing xlwings, can find pywintypes39.dll in __pypackages__\3.9\lib\pywin32_system32\, it should be imported correctly
xlwings
pywintypes39.dll
__pypackages__\3.9\lib\pywin32_system32\
# Paste the output of `pdm info && pdm info --env` below: PDM version: 1.11.0 Python Interpreter: C:/Python39/python.EXE (3.9) Project Root: E:/Code/pdm-test Project Packages: E:\Code\pdm-test\__pypackages__\3.9
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Initialize and then add xlwings
import xlwings as xw
in py fileActual behavior
Get the error that pywintypes could not be found after
import xlwings
Expected behavior
After installing
xlwings
, can findpywintypes39.dll
in__pypackages__\3.9\lib\pywin32_system32\
, it should be imported correctlyEnvironment Information
The text was updated successfully, but these errors were encountered: