displaycal-py3 icon indicating copy to clipboard operation
displaycal-py3 copied to clipboard

PyPI installation: ModuleNotFoundError: No module named 'win32file'

Open fishcu opened this issue 1 year ago • 4 comments

The above error occurs when trying to install DisplayCAL through PyPI on Windows 10, version 22H2. I am using Miniconda to install and manage different Python versions. The current default version in the base environment is Python 3.9.12.

pywin32 is already installed. So this error is puzzling to me. I have also tried this approach to re-install it: https://community.intel.com/t5/Intel-Distribution-for-Python/ModuleNotFoundError-No-module-named-win32file/m-p/1136507 However, it did not help.

I then tried to set up a fresh environment. This used Python 3.10.6. However, it did not help. Again, I also tried to additionally install pywin32.

I then tried to additionally install all the dependencies listed in requirements.txt. This gave me an error when trying to install dbus-python related to CMake. I installed CMake 3.25.0. However, more errors showed up at that point -- it requires Ninja and probably a compiler installed with Visual Studio. At that point, I gave up trying to install the requirements.

Any help for an easier installation in Windows would be appreciated.

fishcu avatar Nov 09 '22 20:11 fishcu