1KE-JI / HierVerb

Official resources of "Hierarchical Verbalizer for Few-Shot Hierarchical Text Classification" (ACL 2023 long).
26 stars 1 forks source link

openprompt ERROR #3

Closed YvoGao closed 1 year ago

YvoGao commented 1 year ago

ERROR: Could not find a version that satisfies the requirement openprompt==0.1.2 (from versions: 0.1.1, 1.0.0, 1.0.1) ERROR: No matching distribution found for openprompt==0.1.2 I try to install openprompt other versions, but they do not work,

they all say Traceback (most recent call last): File "train.py", line 15, in import openprompt File "/data/gaoyunlong/anaconda3/envs/HV/lib/python3.6/site-packages/openprompt/init.py", line 4, in from .trainer import ClassificationRunner, GenerationRunner File "/data/gaoyunlong/anaconda3/envs/HV/lib/python3.6/site-packages/openprompt/trainer.py", line 9, in from tensorboardX import SummaryWriter File "/data/gaoyunlong/anaconda3/envs/HV/lib/python3.6/site-packages/tensorboardX/init.py", line 5, in from .torchvis import TorchVis File "/data/gaoyunlong/anaconda3/envs/HV/lib/python3.6/site-packages/tensorboardX/torchvis.py", line 10, in from .writer import SummaryWriter File "/data/gaoyunlong/anaconda3/envs/HV/lib/python3.6/site-packages/tensorboardX/writer.py", line 16, in from .comet_utils import CometLogger File "/data/gaoyunlong/anaconda3/envs/HV/lib/python3.6/site-packages/tensorboardX/comet_utils.py", line 7, in from .summary import _clean_tag File "/data/gaoyunlong/anaconda3/envs/HV/lib/python3.6/site-packages/tensorboardX/summary.py", line 12, in from .proto.summary_pb2 import Summary File "/data/gaoyunlong/anaconda3/envs/HV/lib/python3.6/site-packages/tensorboardX/proto/summary_pb2.py", line 5, in from google.protobuf.internal import builder as _builder ImportError: cannot import name 'builder'

YvoGao commented 1 year ago

fix