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
Transforms/Other
When running the transform on windows, I get the following error:
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Cell In[3], line 1 ----> 1 from dpk_pdf2parquet.transform_python import Pdf2Parquet 2 from dpk_pdf2parquet.transform import pdf2parquet_contents_types File ~\AppData\Roaming\Python\Python312\site-packages\dpk_pdf2parquet\__init__.py:1 ----> 1 from .transform import * File ~\AppData\Roaming\Python\Python312\site-packages\dpk_pdf2parquet\transform.py:35 33 from data_processing.utils import TransformUtils, get_logger, str2bool 34 from data_processing.utils.cli_utils import CLIArgumentProvider ---> 35 from data_processing.utils.multilock import MultiLock 36 from docling.backend.docling_parse_backend import DoclingParseDocumentBackend 37 from docling.backend.docling_parse_v2_backend import DoclingParseV2DocumentBackend File ~\AppData\Roaming\Python\Python312\site-packages\data_processing\utils\multilock.py:15 13 import abc 14 import datetime ---> 15 import fcntl 16 import os 17 import tempfile ModuleNotFoundError: No module named 'fcntl'
This error was introduced when a lock mechanism was coded to address the issue when multiple ray workers are trying to create and delete the same file
Windows WSL
3.11.x
The text was updated successfully, but these errors were encountered:
Consider enabling this functionality only for non-windows users:
if platform.system() != 'Windows': import fcntl
Sorry, something went wrong.
daw3rd
No branches or pull requests
Search before asking
Component
Transforms/Other
What happened + What you expected to happen
When running the transform on windows, I get the following error:
Reproduction script
Anything else
This error was introduced when a lock mechanism was coded to address the issue when multiple ray workers are trying to create and delete the same file
OS
Windows WSL
Python
3.11.x
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: