Pip installation proble

I have connected the board to an ethernet port, and the laptop uses the same internet via wifi. After the connection, the Jupyter notebook is working fine. But when i am trying to install any packages using pip, its gives some error like:
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:997)’))’: /pypi/simple/keras/
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/keras/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘mirrors.aliyun.com’, port=443): Max retries exceeded with url: /pypi/simple/keras/ (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:997)’))) - skipping
ERROR: Could not find a version that satisfies the requirement keras (from versions: none)
ERROR: No matching distribution found for keras

i am able to ping external website like google, can u please help me with this issue.

I have connected the board to an ethernet port

Can you please clarify what the board is connected to?

If you can ping then internet access should be OK.

The error message indicates a problem with the date/time on the board. “certificate verify failed: certificate is not yet valid”
Can you check this?

If the board is connected to the internet, then this seems to be more of a Ubuntu issue than a PYNQ issue. You may be able to search on Ubuntu/Linux forums for a solution.

Cathal

1 Like