Skip to content
New issue

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

impossible to get a working install #86

Open
v2belleville opened this issue Oct 8, 2024 · 0 comments
Open

impossible to get a working install #86

v2belleville opened this issue Oct 8, 2024 · 0 comments

Comments

@v2belleville
Copy link

v2belleville commented Oct 8, 2024

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
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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant