RPA-Python: r.init() is very slow - network issue to github.com, pack() or download manually

when i try to run import rpa as r; r.init(), the second line code never stop with following message:

[RPA][INFO] - setting up TagUI for use in your Python environment
[RPA][INFO] - downloading TagUI (~200MB) and unzipping to below folder...
[RPA][INFO] - /Users/ygzhao_1

I try to downlaod tagUI and unzip to /Users/ygzhao_1, the problem still exists.

I guess it is because of the slow speed in China.

What can I do to fix this? Thanks

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (13 by maintainers)

Most upvoted comments

Using proxies to download is faster and easier, open a cmd window, set the proxy to the cmd window, and execute python rpa.py in the cmd window. Only the pack() function is called in rpa.py. You get the zip file. Download speed depends on the agent speed. Even with the manual download method above, there is no proxy is still a problem, since there is a proxy, why not use the pack() function?