Screenshot2Code
Screenshot2Code copied to clipboard
Install fails on WIN10 , python 3.11
hi , I am very interested by this tool, exactly what I need, but I fail to install it. I tried pip install screenshot2code==0.0.1
Collecting screenshot2code==0.0.1 Downloading screenshot2code-0.0.1-py3-none-any.whl.metadata (797 bytes) INFO: pip is looking at multiple versions of screenshot2code to determine which version is compatible with other requirements. This could take a while. ERROR: Could not find a version that satisfies the requirement shutil (from screenshot2code) (from versions: none) ERROR: No matching distribution found for shutil
later it says :
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. screenshot2code 0.0.1 requires guesslang, which is not installed. screenshot2code 0.0.1 requires PIL, which is not installed. screenshot2code 0.0.1 requires pytesseract, which is not installed. screenshot2code 0.0.1 requires shutil, which is not installed.
PIL , guesslang, pytesseract and shutil have problems to install too ..
pip install pytessaract DEPRECATION: Loading egg at c:\usr\python311\lib\site-packages\screenshot2code-0.0.1-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330 ERROR: Could not find a version that satisfies the requirement pytessaract (from versions: none) ERROR: No matching distribution found for pytessaract
Would you have any advice for me ? thank you !
now I tried with cloning git ... first I installed tesseract https://digi.bib.uni-mannheim.de/tesseract/
then trying again pytesseract :
pip install pytessaract ERROR: Could not find a version that satisfies the requirement pytessaract (from versions: none) ERROR: No matching distribution found for pytessaract
also on guesslang, seems that tensorflow 2.12 is not supported and installing 2.5.0 can not be done natively but need to rely on anaconda (https://www.tensorflow.org/install/pip#windows-native) ? or linux on windows ? The conflict is caused by: guesslang 2.2.1 depends on tensorflow==2.5.0 guesslang 2.2.0 depends on tensorflow==2.5.0 guesslang 2.0.3 depends on tensorflow==2.5.0 guesslang 2.0.1 depends on tensorflow==2.2.0 guesslang 2.0.0 depends on tensorflow==2.2.0 guesslang 0.9.3 depends on tensorflow==1.7.0rc1 guesslang 0.9.1 depends on tensorflow==1.1.0
seems quite complicated for a noob like me , how did you manage to make your script work on WIN10 ? thank you !
Same issue here; my python version is 3.11.3 I cannot install the taliv
@osascruz It's been over one year since development and after seeing some initial traction I'm finally getting back to development, so apologies for the ultra-late reply. I would love to know more about what you were planning to use S2C for and if you were able to get a workaround to the above issue with this tool or another one. Over the next few weeks I plan to finish the Python package's development and get back to you.
You may have figured out that subsequent to the release of Screenshot2Code, GPT-4 Vision was released and does a good job at the intended task, so I was considering building this as a GPT wrapper.
In any event, I'll keep you posted.