[Cloud] Issue with pip

2019-07-30 Thread Huji Lee
Hi all, I am trying to run a pywikibot script on the Cloud servers. Please find the script at [1]. The script depends on a few pip packages include cidr_trie. I created a virtual environment under my tools account and installed these dependencies using "pip3 install ..." commands. When I ran the b

Re: [Cloud] Issue with pip

2019-07-30 Thread Chico Venancio
It seems you are using f strings, this requires python 3.6 or greater. You can check what python is available in Toolforge and use a suitable version for your environment or change the module to be compatible with earlier versions. Cheers, Chico Venancio Em ter, 30 de jul de 2019 21:55, Huji Lee

Re: [Cloud] Issue with pip

2019-07-30 Thread Huji Lee
Good catch! It seems like we have 3.5.3 on Toolforge. Being a light user of pip, I have no clue how to force installation of an earlier version of the python module. Any advice on that? On Tue, Jul 30, 2019 at 9:06 PM Chico Venancio wrote: > It seems you are using f strings, this requires pytho

Re: [Cloud] Issue with pip

2019-07-30 Thread Huji Lee
Indeed, I modified the module on my venv and now it works fine. But if there is a better way, I am still eager to know. Thanks! Huji On Tue, Jul 30, 2019 at 9:30 PM Huji Lee wrote: > Good catch! It seems like we have 3.5.3 on Toolforge. Being a light user > of pip, I have no clue how to force i