Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error installing with conda InvalidSpecError: Invalid spec: #247

Open
rudyvogt opened this issue Apr 2, 2020 · 4 comments
Open

error installing with conda InvalidSpecError: Invalid spec: #247

rudyvogt opened this issue Apr 2, 2020 · 4 comments

Comments

@rudyvogt
Copy link

rudyvogt commented Apr 2, 2020

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
@mariusvniekerk
Copy link
Contributor

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

@xhochy
Copy link
Collaborator

xhochy commented Apr 3, 2020

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.

@rudyvogt
Copy link
Author

rudyvogt commented Apr 4, 2020

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 rudyvogt closed this as completed Apr 4, 2020
@rudyvogt rudyvogt reopened this Apr 4, 2020
@xhochy
Copy link
Collaborator

xhochy commented Apr 7, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants