Open fontclos opened 4 years ago
rsync: failed to connect to aleph.gutenberg.org (65.50.255.20): Connection refused (111) rsync: failed to connect to aleph.gutenberg.org (2604:3200:0:3:1618:77ff:fe49:8a7): Network is unreachable (101) rsync error: error in socket IO (code 10) at clientserver.c(127) [Receiver=3.1.3]
Hi! Any way I can fix this? I'm running it in Ubuntu on Windows. :)
For Windows, easiest way is to use WSL with Ubuntu and install following packages on Ubuntu:
sudo apt-get update && \
sudo apt-get upgrade -y && \
sudo apt-get install -y python3-pip && \
sudo apt-get install -y python-is-python3 && \
sudo apt-get install -y rsync
and then run python get_data.py
. This should work (at least for me, it did)
There are a couple of things not 'windows friendly' - this rsync error is the first you'll hit.:
rsync
,wget
andln
. Windows needs cwRsync, wget installed and added to path, and usemklink
instead ofln
"/"
and replace withos.path.sep
Working windows version a WIP - will push when/if I have it working. Alternatively (win10) run in ubuntu_on_windows.
Originally posted by @aegis1980 in https://github.com/pgcorpus/gutenberg/issues/30#issuecomment-671015671