I have uploaded a python package in Anaconda. But I cannot install my own package. The error message is
collecting package metadata (current_repodata.json): failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/home/adelap054/miniconda3/lib/python3.10/site-packages/conda/gateways/repodata/__init__.py", line 187, in conda_http_errors
File "/home/adelap054/miniconda3/lib/python3.10/site-packages/conda/gateways/repodata/__init__.py", line 153, in repodata
File "/home/adelap054/miniconda3/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://conda.anaconda.org/t/<TOKEN>/tharakau/linux-64/current_repodata.json
I tried visiting above url which is not available. however https://conda.anaconda.org/tharakau/linux-64/repodata.json exist.
Can you help me to resolve this problem ?
The error message “
collecting package metadata (currentrepodata.json): failed” typically indicates that there’s a problem with the Anaconda package repository you’re trying to access, or with your network connection.
Here are a few things you can try to resolve this issue:
Check your internet connection. Make sure you have a stable internet connection, and that you’re able to access other websites.
Try updating conda. Sometimes this issue can be resolved by updating conda to the latest version. You can do this by running the command conda update conda.
Check the Anaconda repository. If you’re trying to install a package from a specific Anaconda repository, make sure the repository is available and functioning correctly. You can do this by visiting the repository URL in your web browser.
Try using a different Anaconda repository. If you’re unable to access the repository you’re trying to use, you can try using a different one. You can change the repository by editing the .condarc file in your home directory, or by using the conda config --add channels command.
Check the package name and version. Make sure you’re using the correct package name and version number when trying to install the package.
If none of these solutions work, the issue might be with the package you’re trying to install. You might need to rebuild and re-upload the package.
No the problem is current_repodata.json not exist