如何在公司代理后面安装 jupyterlab 扩展?

use*_*437 5 python jupyter jupyter-lab

我正在尝试在公司代理后面安装 jupyterlab 扩展。我已经设法npm使用以下命令配置配置:

npm config set proxy http://username:password@host:port
npm config set https-proxy http://username:password@host:port
Run Code Online (Sandbox Code Playgroud)

似乎包已下载,但我仍然收到以下错误:

Failed to fetch package metadata for 'jupyterlab-plotly': URLError(ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

如何解决这个问题?