turbodbc
turbodbc copied to clipboard
error installing with conda InvalidSpecError: Invalid spec:
Hi,
getting the following error trying to install with conda into 3.6 python (arcgis pro) worked ok, using pip
conda install turbodbc Fetching package metadata ............... Solving package specifications: InvalidSpecError: Invalid spec: =20190808 conda install:
platform : win-64
conda version : 4.3.27
conda is private : False
conda-env version : 4.3.27
conda-build version : 3.18.9
python version : 3.6.8.final.0
requests version : 2.22.0
root environment : C:\Program Files\ArcGIS\Pro\bin\Python (writable)
default environment : C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-deploy
envs directories : C:\Program Files\ArcGIS\Pro\bin\Python\envs
C:\Users\Admin\AppData\Local\ESRI\conda\envs
C:\Users\Admin\.conda\envs
package cache : C:\Users\Admin\AppData\Local\ESRI\conda\pkgs
C:\Program Files\ArcGIS\Pro\bin\Python\pkgs
channel URLs : https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://conda.anaconda.org/esri/win-64
https://conda.anaconda.org/esri/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
config file : C:\Program Files\ArcGIS\Pro\bin\Python\.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.27 requests/2.22.0 CPython/3.6.8 Windows/10 Windows/10.0.18362
administrator : False
I would advise you just use the regular conda forge channel. Nothing new has been added to the gcc7 channel for more than a year
Turbodbc hasn't been built for Python 3.8 on Windows. That's the main error you probably have.
Also for better error messages, you should update your conda installation. conda 4.3 is quite old.
Hi,
It is Python 3.6 - i have used - conda-forge also same error. Yes the conda is quite old, but it comes with ArcGIS Pro 2.50. I have deployed about about 200 packages in this environment, using conda and pip, without any issues.
For turbodbc i am now using a pypi wheel for installation.
Rudy
@rudyvogt Can you run conda install with -vvv? Still, I think this probably will be solved by using a newer version conda. The version of conda shouldn't interfer with your ArcGIS installation.