Closed AntonReinhard closed 5 years ago
I generated new environment.yml
file and updated README file so try it one more time and if it won't work let me know, please.
Okay, I reinstalled Anaconda from the link in the readme, recloned the repository but it still gives me a bunch of "ResolvePackageNotFound:" Errors.
What operating system system do u use?
I'm on Linux, Antergos
I don't have too much time to look deeper into this problem today. It seems like the problem might be that I've generated enviroment.yml file on mac os and Linux has some problem with it. But if you want to make it run you can install the necessary libraries manually. By quickly looking at the enviroment.yml file you have to install the following libraries: python=3.6.8, keras=2.2.4, matplotlib=3.0.2, numpy=1.16.2, pandas=0.23.4, pytest=4.1.0, scipy=1.2.1, yaml=0.1.7, zlib=1.2.11, opencv-python==4.1.0.25
If you will do it with anaconda it should also automatically install all dependencies.
If you will decide to do it this way and it will work please generate and share your enviroment.yml file. Thanks
Okay, I made the environment myself now and it looks like all dependencies are there now. However, now when I try running the solver it tells me
$ python3 sudoku_solver.py sudoku_imgs/web_cam/webcam_clean_1.jpg
Using TensorFlow backend.
Unable to open file (file signature not found)
From googling it looks like that error comes from h5py? But I'm not sure how that works or where and if you use it.
I attached the environment file: environment_linux.yml.zip
Thats weird I thought that it will be installed together with keras. Try to install h5py=2.8.0
thanks for patience :D
That package is already installed.
Since it's saying "file signature not found": I noticed that the jpg images of the sudokus you use seem to have some kind of broken signature. E.g. Gimp tells me "Not a JPEG file: starts with 0x76 0x65" I fixed it for one of them so gimp can open it, but the error in your code still occurs. So it probably has nothing to do with it...
Ok, sorry, that seems to have been fixed by me pulling the newest version, I guess I can close this now.
So I'm trying to set this up, I installed miniconda and when I try to run the first command I get this:
I googled this and found to put the dependencies that don't work in the "pip:" section in the .yaml I did that, but it still doesn't work: