I'm working on a project and need to use OCRopus, I tried to install it on windows but failed, so I moved to Ubuntu. I'm not a nerdy when it comes to Ubuntu, so I'm stuck now.
I have installed
python 2.7 and all the requirements 1 and 2, also I've installed opencv.
Then I tried to install ocropy as written in this link:
$ sudo apt-get install $(cat PACKAGES) $ wget -nd http://www.tmbdev.net/en-default.pyrnn.gz $ mv en-default.pyrnn.gz models/ $ sudo python setup.py install
But failed at this line:
mv en-default.pyrnn.gz models/
I got the following message:
mv: cannot move ‘en-default.pyrnn.gz’ to ‘models/’: Not a directory
I actually don't understand the command, because previous line gets a
.gz then we want to move it to a model directory (which is not created yet!) then we need to run
setup.py which is not there.
So I don't know if I'm missing something.
Why this is happening?