mirror of
https://github.com/chubin/wttr.in
synced 2025-01-11 19:48:45 +00:00
README.md: mentioned llvm and switched to python3
This commit is contained in:
parent
40ad45ad03
commit
df0b41fba5
1 changed files with 7 additions and 3 deletions
10
README.md
10
README.md
|
@ -428,11 +428,15 @@ If you want to get weather reports as PNG files, you'll also need to install:
|
|||
|
||||
You can install most of them using `pip`.
|
||||
|
||||
Some python package use LLVM, so install it first:
|
||||
|
||||
$ apt-get install llvm-7 llvm-7-dev
|
||||
|
||||
If `virtualenv` is used:
|
||||
|
||||
$ virtualenv ve
|
||||
$ ve/bin/pip install -r requirements.txt
|
||||
$ ve/bin/python bin/srv.py
|
||||
$ virtualenv -p python3 ve
|
||||
$ ve/bin/pip3 install -r requirements.txt
|
||||
$ ve/bin/python3 bin/srv.py
|
||||
|
||||
Also, you need to install the geoip2 database.
|
||||
You can use a free database GeoLite2 that can be downloaded from (http://dev.maxmind.com/geoip/geoip2/geolite2/).
|
||||
|
|
Loading…
Reference in a new issue