allenai / allenai/papermage

impossible to get a working install

Đang mở
#86 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
802
Fork
64
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,

As I was getting `Error loading "C:\Program Files\Python311\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.`
Following this [fbgemm-load-error-trying-to-use-pytorch-on-windows](https://stackoverflow.com/questions/78786306/fbgemm-load-error-trying-to-use-pytorch-on-windows)
I
```
pip uninstall torch torchvision torchaudio
pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0.
```

Following several `no module named ...` errors I've installed
smashed
layoutparser
pysbd

Still getting this warning
`C:\Program Files\Python311\Lib\site-packages\smashed\utils\warnings.py:27: RuntimeWarning: smashed.interfaces.simple is deprecated; import from smashed.mappers instead.
cls._warn(message, RuntimeWarning)`

and this error :
```
File C:\Program Files\Python311\Lib\site-packages\portalocker\utils.py:313, in Lock._get_fh(self)
311 def _get_fh(self) -> typing.IO:
312 '''Get a new filehandle'''
--> 313 return open( # noqa: SIM115
314 self.filename,
315 self.mode,
316 **self.file_open_kwargs,
317 )

OSError: [Errno 22] Invalid argument: 'C:\\Users\\VG/.torch/iopath_cache\\s/ukbw5s673633hsw\\publaynet-tf_efficientdet_d0.pth.tar?dl=1.lock'
```

Any idea about how to fix this welcome !

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.