-
Notifications
You must be signed in to change notification settings - Fork 17
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
make all fails due to tensorflow #219
Comments
tensorflow does not provide packages of tensorflow < 2.2 for Python 3.8. That is why we're recommending deployment on Ubuntu 18.04 because Python is still at 3.7 for which packages are available of all relevant tensorflow versions. So, I recommend either downgrading Python, downgrading Ubuntu from 20.04 to 18.04 or using the docker deployment option. See the wiki article on Ubuntu installation for a recipe to downgrade Python. |
OCD-D installation via Docker gives the following error message: sudo snap install docker |
Are you in the |
Did you manage to solve this @wlbocr? |
The docker installation actually worked so far. The installation is not yet complete. On the last step I got the massage: |
This looks like the snap method did not install Docker properly. I have no experience with snap. The recommended way for Docker installation on Ubuntu is via 3rd-party apt source. |
Does the problem persist after a reboot or |
I tryed different ways to solve the problem and only one helped: the new installation of Ubuntu Bionic 18.04 (LTS) -> manualy installation ocr-d |
@Aysoltan, a manual installation of Python 3.7 would also help. You can then build OCR-D using Python 3.7 for which the required versions of Tensorflow exist. |
Duplicate of #235 (but discussions are complementary so far). |
I am trying to install OCR-D Software. The installation fails during the "make all"-step because tensorflow is not compatible with python 3.8. :
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.15.* (from ocrd-cor-asv-ann==0.1.6) (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.4.0rc0, 2.4.0rc1)
ERROR: No matching distribution found for tensorflow-gpu==1.15.* (from ocrd-cor-asv-ann==0.1.6)
Python version will be updated on the step before "sudo make deps-ubuntu":
python3 is already the newest version (3.8.2-0ubuntu2).
How to fix this problem?
The text was updated successfully, but these errors were encountered: