You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so the package is installed correctly, but when I try to use it, I get an error:
(tmp) PS C:\Users\Elijah\Desktop\tmp> sacrebleu -h
Traceback (most recent call last):
File "C:\Users\Elijah\miniconda3\envs\tmp\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Elijah\miniconda3\envs\tmp\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\Elijah\miniconda3\envs\tmp\Scripts\sacrebleu.exe\__main__.py", line 4, in <module>
File "C:\Users\Elijah\miniconda3\envs\tmp\lib\site-packages\sacrebleu\__init__.py", line 21, in <module>
from .utils import smart_open, SACREBLEU_DIR, download_test_set # noqa: F401
File "C:\Users\Elijah\miniconda3\envs\tmp\lib\site-packages\sacrebleu\utils.py", line 12, in <module>
import portalocker
File "C:\Users\Elijah\miniconda3\envs\tmp\lib\site-packages\portalocker\__init__.py", line 4, in <module>
from . import portalocker
File "C:\Users\Elijah\miniconda3\envs\tmp\lib\site-packages\portalocker\portalocker.py", line 11, in <module>
import win32file
ImportError: DLL load failed while importing win32file: The specified module could not be found.
I've tried force reinstalling pywin32, but it seems like this is no good. Fortunately conda install -c conda-forge sacrebleu seems good so it seems like there's some issue with the built Windows wheel.
The text was updated successfully, but these errors were encountered:
It seems that this is related to some environment (or unknown) issue related to Windows. I found a similar issue for azure-cli that remains unsolved except reinstalling things: Azure/azure-cli#17986
I've forced an install of sacrebleu to ignore any installed versions:
so the package is installed correctly, but when I try to use it, I get an error:
I've tried force reinstalling
pywin32
, but it seems like this is no good. Fortunatelyconda install -c conda-forge sacrebleu
seems good so it seems like there's some issue with the built Windows wheel.The text was updated successfully, but these errors were encountered: