You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Handle some common failures and give nicer error messages for them.
200
+
lowered_stdout=result.stdout.lower()
201
+
if"invalid peer certificate"inlowered_stdout:
202
+
logger.error(
203
+
"Installation failed because of an invalid peer certificate. Are your systems certificates correctly installed? Do you have an Enterprise VPN enabled?"
204
+
)
205
+
elif"failed to fetch"inlowered_stdout:
206
+
logger.error(
207
+
"Installation failed because of a failed fetch. Is your network connection working?"
208
+
)
209
+
elif"no solution found when resolving dependencies"inlowered_stdout:
210
+
logger.error(
211
+
"Installation failed because the packages you requested are not supported by Python Workers. See above for details."
212
+
)
213
+
else:
214
+
logger.error(
215
+
"Installation of packages into the Python Worker failed. Possibly because these packages are not currently supported. See above for details."
0 commit comments