- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I seem to have this problem over and over again.
[conda 4.5.13, Python 3.6.8 :: Intel Corporation, Windows 10]
How are you dealing with it.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please provide the output of `conda info`, `conda list --explicit` and the operations you were attempting to do.
The win32file is a native extension, part of pywin32 module, a dependency of menuinst.
The error may indicate that the native extension fails to load due to an inconsistency in the environment, or some file corruption.
Try reinstalling the pywin32 conda package in the base environment, by first inspecting output of `conda list -n base pywin32`, and then issuing `conda install -n base pywin32=version=buildNumber`.
For example
(py36) C:\Users\user>conda list -n base pywin32 # packages in environment at C:\Users\user\miniconda3: # # Name Version Build Channel pywin32 223 py37hfa6e2cd_1 (py36) C:\Users\user>conda install -n base pywin32=223=py37hfa6e2cd_1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
File "E:\intelpython3.6\intelpython3\lib\site-packages\conda\exceptions.py", line 822, in __call__
return self.handle_exception(exc_val, exc_tb)
File "E:\intelpython3.6\intelpython3\lib\site-packages\conda\exceptions.py", line 862, in handle_exception
return self.handle_unexpected_exception(exc_val, exc_tb)
File "E:\intelpython3.6\intelpython3\lib\site-packages\conda\exceptions.py", line 873, in handle_unexpected_exception
self.print_unexpected_error_report(error_report)
File "E:\intelpython3.6\intelpython3\lib\site-packages\conda\exceptions.py", line 943, in print_unexpected_error_report
from .cli.main_info import get_env_vars_str, get_main_info_str
File "E:\intelpython3.6\intelpython3\lib\site-packages\conda\cli\main_info.py", line 24, in <module>
from ..core.envs_manager import env_name
File "E:\intelpython3.6\intelpython3\lib\site-packages\conda\core\envs_manager.py", line 9, in <module>
from .prefix_data import PrefixData
File "E:\intelpython3.6\intelpython3\lib\site-packages\conda\core\prefix_data.py", line 16, in <module>
from ..gateways.disk.create import write_as_json_to_file
File "E:\intelpython3.6\intelpython3\lib\site-packages\conda\gateways\disk\create.py", line 16, in <module>
from .delete import rm_rf
File "E:\intelpython3.6\intelpython3\lib\site-packages\conda\gateways\disk\delete.py", line 18, in <module>
import win32file
ModuleNotFoundError: No module named 'win32file'
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page