conda: ResolvePackageNotFound python=3.1

Viewed 8003

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?

1 Answers
  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.

Related