I'm trying to install geopandas and I would normally do it through pip, but it seems to struggle with dependencies so I went to try installing via conda package manager.
It all goes well until I get this error:
Conda error: Cannot link a source that does not exist C:\ProgramData\Anaconda3\Scripts\conda.exe
I checked and I have conda.exe in the folder specified. I also have it in PATH
variable.
I also had a look at other questions on this error and tried proposed solutions:
conda clean --all --yes
conda update conda
conda update anaconda
And yet I still get the same error every time. Anyone knows any other ways to resolve this problem?
Thanks!
EDIT:
I have tried installing geopandas using these two options:
conda install geopandas
conda install --channel conda-forge geopandas
Output of conda info
:
(C:\ProgramData\Anaconda3) C:\VULCAN_HOME>conda info
Current conda install:
platform : win-64
conda version : 4.3.30
conda is private : False
conda-env version : 4.3.30
conda-build version : 3.0.27
python version : 3.6.3.final.0
requests version : 2.22.0
root environment : C:\ProgramData\Anaconda3 (writable)
default environment : C:\ProgramData\Anaconda3
envs directories : C:\ProgramData\Anaconda3\envs
C:\Users\cherp2\AppData\Local\conda\conda\envs
C:\VULCAN_HOME\.conda\envs
package cache : C:\ProgramData\Anaconda3\pkgs
C:\Users\cherp2\AppData\Local\conda\conda\pkgs
channel URLs : https://repo.continuum.io/pkgs/main/win-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/win-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/win-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/win-64
https://repo.continuum.io/pkgs/pro/noarch
https://repo.continuum.io/pkgs/msys2/win-64
https://repo.continuum.io/pkgs/msys2/noarch
config file : None
netrc file : None
offline mode : False
user-agent : conda/4.3.30 requests/2.22.0 CPython/3.6.3 Windows/7 W
indows/6.1.7601
administrator : False
Full error message:
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'defaults::tqdm-4.42.1-py_0'.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda3\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.