Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot run basic code - network issue, try pack(), use proxy, replicate problem? #427

Closed
ativis opened this issue Oct 3, 2022 · 7 comments
Labels

Comments

@ativis
Copy link

ativis commented Oct 3, 2022

Hi, I face the below error message on Jupyter notebook:

error

@ativis
Copy link
Author

ativis commented Oct 4, 2022

error2

@kensoh
Copy link
Member

kensoh commented Oct 4, 2022

From above, it looks like your network is blocking automated downloading of dependencies from github.com domain. You can check out the pack() in the API to download it on a computer with internet access that allows automated downloading. Or see if some proxy settings can be modified to allow this computer to do this downloading.

The code used by the package to download is standard Python library. See here. Depending on your Python 2 or 3, you can try to run the following line directly and replicate the problem.

https://github.com/tebelorg/RPA-Python/blob/master/tagui.py#L1468

@kensoh kensoh changed the title Cannot run basic tagui code Cannot run basic tagui code - network issue, try pack(), use proxy, replicate problem? Oct 4, 2022
@kensoh kensoh changed the title Cannot run basic tagui code - network issue, try pack(), use proxy, replicate problem? Cannot run basic code - network issue, try pack(), use proxy, replicate problem? Oct 4, 2022
@kensoh kensoh added the query label Oct 4, 2022
@ativis
Copy link
Author

ativis commented Oct 6, 2022

Hi Ken, Thanks for replying. not sure what you mean by "check out the pack() in the API to download it on a computer"?

@kensoh
Copy link
Member

kensoh commented Oct 7, 2022

Oh here - https://github.com/tebelorg/RPA-Python#core-functions and #36 (comment)

r.pack() can be used on a computer with no network restriction, to generate a zip file and rpa.py file. This can then be copied to the computer with network restriction to run and it can work without internet on the target PC. No need pip install rpa.

@ativis
Copy link
Author

ativis commented Oct 11, 2022

@kensoh Still unable to download :(
image

@kensoh
Copy link
Member

kensoh commented Oct 15, 2022

Referring to #427 (comment) you will need to find a computer with no network restriction to do the download from github.com to use pack(). Otherwise pack() can't be used.

@kensoh
Copy link
Member

kensoh commented Oct 15, 2022

Do share back here, if that is not possible. For eg you want to install in your company computer, but there is no way to copy files from your own PC into computer intranet or computer.

@kensoh kensoh closed this as completed Feb 4, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Development

No branches or pull requests

2 participants