ERROR: Could not install packages due to an OSError: [Errno 2] 没有那个文件或目录: '/anaconda3/envs/mydlenv/lib/python3.8/site-packages/fastjsonschema-2.16.2.dist-info/METADATA

ERROR: Could not install packages due to an OSError: [Errno 2] 没有那个文件或目录: '/home/software/anaconda3/envs/mydlenv/lib/python3.8/site-packages/fastjsonschema-2.16.2.dist-info/METADATA'


 

 

/home/user01/anaconda3/envs/RL/lib/python3.7/site-packages/rsa-4.8.dist-info/METADATA

 (mydlenv) [root@ibiomed files]#  pip uninstall fastjsonschema
WARNING: No metadata found in /home/software/anaconda3/envs/mydlenv/lib/python3.8/site-packages
Found existing installation: fastjsonschema 2.16.2
ERROR: Cannot uninstall fastjsonschema 2.16.2, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps fastjsonschema==2.16.2'.

# pip install --force-reinstall --no-deps fastjsonschema==2.16.2
Collecting fastjsonschema==2.16.2
  Using cached fastjsonschema-2.16.2-py3-none-any.whl (22 kB)
Installing collected packages: fastjsonschema
  Attempting uninstall: fastjsonschema
    WARNING: No metadata found in /home/software/anaconda3/envs/mydlenv/lib/python3.8/site-packages
    Found existing installation: fastjsonschema 2.16.2
ERROR: Cannot uninstall fastjsonschema 2.16.2, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps fastjsonschema==2.16.2'.

 

posted @ 2023-10-10 19:57  emanlee  阅读(143)  评论(0编辑  收藏  举报