Closed 11rohans closed 5 years ago
Yes, Frontera wasn't tested/developed on Windows yet, but it could be. If you can, please submit a PR fixing this.
Hello, is frontera version==0.8.1 support windows 10 platform now? What is the best platform to use the frontera?
Linux!
I am a student who trying to build a distributed crawler, and i have no experience of linux, but i willing to learn it.
Besides, im a windows user for a long time. May i wish to get your suggestion which linux distros that is suits for Frontera and easy to use.
Lastly, do you recommend me to install the linux using virtual box or alongside with my windows for development purpose?
Thanks in advance!
Ubuntu is usually a default choice in such cases.
If you want to use Frontera on Windows, follow next steps.
Control Panel\Programs and Features\Uninstall a program
and
remove Windows SDK AddOn if any.pip install --upgrade setuptools wheel
. This will update setuptools and wheel packages.setup.py
and change version to the latest ( 0.2.3.post9
now).python setup.py install
. This will install CityHash.frontera/worker/db.py
and comment signal
package import and usage (lines 8 and 129 in v0.8.1).frontera/worker/strategy.py
and comment signal
package import and usage (lines 10 and 256 in v0.8.1).Points 1-3 resolves issues with installing Twisted package and then will be also used to build CityHash.
Points 8-11 installs python binding of CityHash for Windows. CityHash from pip does not compile on Windows (#367), and thus it cannot be installed through pip. Another way is to replace CityHash usage with some other library in frontera/contrib/backends/partitioners.py
.
Points 13-15 resolves issues occurring due to usage of Unix-specific signal SIGUSR1. It is used for debugging: a user can sent it to print current stack trace. This signal cannot be used on Windows.
Hi, I'm trying to use the distributed mode of Frontera for a broad crawl but I am running into issues testing it on my local machine in windows. I am getting an import error (cannot import error name SIGUSR1) when I start a db worker due to SIGUSR1 not being available on windows. Would love if Frontera could develop a way that this software could be used on a windows machine and circumvent this issue.