'ProxyError('Cannot connect to proxy.', NewConnectionError

发布时间 2023-10-08 08:19:04作者: emanlee

 

 

Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure.
                 It can be downloaded at https://aka.ms/vs/16/release/vc_redist.x64.exe
Traceback (most recent call last):
  File "E:/other/lightvit/Chinese-Text-Classification-PyTorch/run.py", line 5, in <module>
    from train_eval import train, init_network
  File "E:\other\lightvit\Chinese-Text-Classification-PyTorch\train_eval.py", line 9, in <module>
    from tensorboardX import SummaryWriter
ModuleNotFoundError: No module named 'tensorboardX'

 

================================

tensorboard                        2.4.1
tensorboard-plugin-wit             1.8.0
tensorflow                         2.4.1
tensorflow-estimator               2.4.0

================================

ERROR: Could not find a version that satisfies the requirement tensorboardX (from versions: none)
ERROR: No matching distribution found for tensorboardX
================================

ModuleNotFoundError: No module named 'tensorboardX'

 

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002037A49BB80>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))': /simple/tensorboardx/

 

 ================================