PackagesNotFoundError: The following packages are not available from current channels: - pytorch=0.4.1
时间: 2023-09-28 17:08:42 浏览: 119
As an AI language model, I don't have access to your system or its configuration, so I can't say for sure what's causing this error. However, here are a few things you could try:
1. Check that you have the correct channels added to your conda configuration. You can do this by running `conda config --show channels` and verifying that the relevant channels (e.g. `pytorch`) are listed.
2. Try updating your conda environment by running `conda update --all`. This may help resolve any conflicts or dependencies that are causing the package to be unavailable.
3. If the package is still unavailable, you could try installing it from a different channel. For example, you could try running `conda install pytorch=0.4.1 -c pytorch`.
4. If none of the above steps work, you could try creating a new conda environment and installing the package there. Sometimes this can help isolate and resolve issues with conflicting dependencies or configuration issues.
阅读全文