In conda, when I tried to install a package, I got this error:
CorruptedEnvironmentError: The target environment has been corrupted. Corrupted environments most commonly
occur when the conda process is force-terminated while in an unlink-link
transaction.
environment location: /home/user/anaconda3/envs/myenv
corrupted file: /home/user/anaconda3/envs/myenv/conda-meta/qt-5.9.7-h5867ecd_1.json
I think my RAM is kind of messed up due to previous electricity disconnections so that might be the cause of this. How would I fix this?
The following worked for me. TL;DR of @Jordan's answer.
conda update --all
for good measureIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With