'conda: ResolvePackageNotFound python=3.1 [duplicate]

I created a new environment called geo through

conda create --name geo

I want to install spyder in geo environment.

I tried

conda install spyder

But I got this error

(geo) C:\windows\system32>conda install spyder
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

ResolvePackageNotFound:
  - python=3.1

How can I fix this error?



Solution 1:[1]

  1. Create Environment

conda create -n geo python=3.1 anaconda

  1. Activate geo

conda activate geo

  1. Install spyder

conda install spyder

Let me know if it worked.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 JAdel