Image2Paragraph
                                
                                 Image2Paragraph copied to clipboard
                                
                                    Image2Paragraph copied to clipboard
                            
                            
                            
                        install not work with python = 3.8.16
Hi,
Thanks for the great work.
try to replicate your work here, i created a new env and try pip install -r requirements.txt. but it give me an error.
ERROR: Could not find a version that satisfies the requirement torch==1.9.0+cu111 (from versions: 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0) ERROR: No matching distribution found for torch==1.9.0+cu111
I also try install torch using conda, but it seems not work at the implementation stage.
Any suggestions are appreciated.
Hi tankwin08:
Follow previous install guide https://github.com/showlab/Image2Paragraph/blob/4c7f4436c02f5e9bc878fda0e352aa42995b3e07/install.sh
Thanks. i did the same thing in previous trial. I tried your instruction, it give me the same error.
How about "pip install --upgrade pip".   Because 1.9.0+cu111 is indeed in https://download.pytorch.org/whl/torch_stable.html, as below

Or what's your system? I only try on linux
If you have no GPU available, just install torch==1.9.0 rather than torch==1.9.0+cu111
maybe that's the reason, i am using terminal of mac. FYI. update pip did not work.
Yes, the Mac install is different from linux. Look this page for instruction. https://pytorch.org
@tankwin08 were you able to find the problem / workaround?
@yahorbarkouski  for only installing torch, you can try conda install pytorch torchvision torchaudio -c pytorch, it works for me in python 3.8 with terminal
@tankwin08 How did you solve the problem? Can you share it? Thanks!