Conda UnsatisfiableError xgboost installation on Windows incompatible with cuda - python

Command used to install which is failing. There are no version currently getting installed on Windows 10.
conda install dask-xgboost
Environment Details:
conda 4.8.4
Python 3.7.7
UnsatisfiableError: The following specifications were found to be incompatible with your system:
feature:/win-32::__cuda==10.2=0
Complete conda environment information
(oto) C:\WINDOWS\system32>conda info -a
active environment : oto
active env location : C:\ProgramData\Anaconda3\envs\oto
shell level : 1
user config file : C:\Users\XX\.condarc
populated config files : C:\Users\XX\.condarc
conda version : 4.8.3
conda-build version : 3.17.6
python version : 3.7.1.final.0
virtual packages : __cuda=10.2
base environment : C:\ProgramData\Anaconda3 (writable)
channel URLs : https://conda.anaconda.org/mndrake/win-64
https://conda.anaconda.org/mndrake/noarch
https://conda.anaconda.org/intel/win-64
https://conda.anaconda.org/intel/noarch
https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://conda.anaconda.org/legendu/win-64
https://conda.anaconda.org/legendu/noarch
https://conda.anaconda.org/anaconda/win-64
https://conda.anaconda.org/anaconda/noarch
https://conda.anaconda.org/menpo/win-64
https://conda.anaconda.org/menpo/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/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
package cache : C:\ProgramData\Anaconda3\pkgs
C:\Users\XX\.conda\pkgs
C:\Users\XX\AppData\Local\conda\conda\pkgs
envs directories : C:\ProgramData\Anaconda3\envs
C:\Users\XX\.conda\envs
C:\Users\XX\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.8.3 requests/2.21.0 CPython/3.7.1 Windows/10 Windows/10.0.17763
administrator : True
netrc file : None
offline mode : False
# conda environments:
#
C:\ProgramData\Anaconda2
base C:\ProgramData\Anaconda3
oto * C:\ProgramData\Anaconda3\envs\oto
sys.version: 3.7.1 (default, Dec 10 2018, 22:54:23) [...
sys.prefix: C:\ProgramData\Anaconda3
sys.executable: C:\ProgramData\Anaconda3\python.exe
conda location: C:\ProgramData\Anaconda3\lib\site-packages\conda
conda-build: C:\ProgramData\Anaconda3\Scripts\conda-build.exe
conda-convert: C:\ProgramData\Anaconda3\Scripts\conda-convert.exe
conda-debug: C:\ProgramData\Anaconda3\Scripts\conda-debug.exe
conda-develop: C:\ProgramData\Anaconda3\Scripts\conda-develop.exe
conda-env: C:\ProgramData\Anaconda3\Scripts\conda-env.exe
conda-index: C:\ProgramData\Anaconda3\Scripts\conda-index.exe
conda-inspect: C:\ProgramData\Anaconda3\Scripts\conda-inspect.exe
conda-metapackage: C:\ProgramData\Anaconda3\Scripts\conda-metapackage.exe
conda-render: C:\ProgramData\Anaconda3\Scripts\conda-render.exe
conda-server: C:\ProgramData\Anaconda3\Scripts\conda-server.exe
conda-skeleton: C:\ProgramData\Anaconda3\Scripts\conda-skeleton.exe
conda-verify: C:\ProgramData\Anaconda3\Scripts\conda-verify.exe
user site dirs: C:\Users\XX\AppData\Roaming\Python\Python37
CIO_TEST: <not set>
CONDA_BAT: C:\ProgramData\Anaconda3\condabin\conda.bat
CONDA_DEFAULT_ENV: oto
CONDA_EXE: C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe
CONDA_EXES: "C:\ProgramData\Anaconda3\condabin\..\Scripts\conda.exe"
CONDA_PREFIX: C:\ProgramData\Anaconda3\envs\oto
CONDA_PROMPT_MODIFIER: (oto)
CONDA_PYTHON_EXE: C:\ProgramData\Anaconda3\python.exe
CONDA_ROOT: C:\ProgramData\Anaconda3
CONDA_SHLVL: 1
CUDA_PATH: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2
GDAL_DRIVER_PATH: C:\Users\XX\AppData\Local\conda\conda\envs\Lib\site-packages\osgeo\gdalplugins
GIT_LFS_PATH: C:\Program Files\Git LFS
HOMEPATH: \Users\XX
NVTOOLSEXT_PATH: C:\Program Files\NVIDIA Corporation\NvToolsExt\
PATH: C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Library\mingw-w64\bin;C:\ProgramData\Anaconda3\Library\usr\bin;C:\ProgramData\Anaconda3\Library\bin;C:\ProgramData\Anaconda3\Scripts;C:\ProgramData\Anaconda3\bin;C:\ProgramData\Anaconda3\envs\oto;C:\ProgramData\Anaconda3\envs\oto\Library\mingw-w64\bin;C:\ProgramData\Anaconda3\envs\oto\Library\usr\bin;C:\ProgramData\Anaconda3\envs\oto\Library\bin;C:\ProgramData\Anaconda3\envs\oto\Scripts;C:\ProgramData\Anaconda3\envs\oto\bin;C:\ProgramData\Anaconda3\condabin;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\devprogs\java\jdk8u252-b09\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\libnvvp;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Git\cmd;C:\devprogs\apache-maven-3.5.2\bin;C:\devprogs\sonar-scanner-3.0.3.778-windows\bin;C:\Program Files\FMEServer\Utilities\jre\bin\client;C:\Program Files\FMEServer\Server\fme;C:\Program Files\FMEServer;C:\Program Files\Cloud Foundry;C:\devprogs\apache-tomcat-8.0.39\bin;C:\Program Files\MIT\Kerberos\bin;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Airtame;C:\Program Files (x86)\Yarn\bin;C:\Program Files\FME;C:\devprogs\release-1900-x64-gdal-2-3-1-mapserver-7-2-0\bin;C:\hadoop;C:\Program Files\Amazon\AWSCLI\bin;C:\codelab\groovy\groovy-2.5.5\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Python27\ArcGIS10.3\Lib;C:\Program Files\Git LFS;C:\Users\XX\AppData\Local\conda\conda\envs\Lib\site-packages\osgeo;C:\Program Files\nodejs;C:\devprogs\terraform_0.12.12_windows_amd64;C:\Program Files\FME19;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Scripts;C:\ProgramData\Anaconda3\Library\bin;C:\Users\XX\scoop\shims;C:\Users\XX\AppData\Local\Microsoft\WindowsApps;C:\Users\XX\AppData\Roaming\npm;C:\Users\XX\AppData\Local\Yarn\bin;C:\Users\XX\AppData\Local\Programs\Fiddler;C:\Users\XX\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.2.4\bin;C:\Users\XX\AppData\Local\Programs\Microsoft VS Code\bin;C:\ProgramData\Anaconda3\envs\oto
PSMODULEPATH: C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PYTHONPATH: C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy;C:\Program Files (x86)\ArcGIS\Desktop10.3\bin;C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolbox\Scripts;C:\ProgramData\Anaconda3\envs\oto\;
REQUESTS_CA_BUNDLE: <not set>
SSL_CERT_FILE: <not set>

Related

Anaconda version update not working (Windows)

Just tried to update conda via Anaconda Prompt but it is not working.
After I managed to open Anaconda Prompt as administrator to mitigate:The current user does not have write permissions to a required path. problem even if I open promt from navigator-Enviroments-base root - open terminal
after command conda update conda.
So After opening Prompt as Administrator I used commands from conda cheatlist from here:https://conda.io/projects/conda/en/latest/user-guide/cheatsheet.html
I have updated Anaconda but when I ask version number it the same before updating.
I typed: conda update conda
I got:
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
(Many packages here)
done
## Package Plan ##
environment location: D:\Program Files\Anaconda
added / updated specs:
- conda
The following NEW packages will be INSTALLED:
(packages)
The following packages will be UPDATED:
(packages)
The following packages will be DOWNGRADED:
(packages)
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: \ DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'D:\Program Files\Anaconda', env_name: 'None', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(323): Shortcut cmd is "D:\Program Files\Anaconda\python.exe", args are ['"D:\\Program Files\\Anaconda\\cwp.py"', '"D:\\Program Files\\Anaconda"', '"D:\\Program Files\\Anaconda\\python.exe"', '"D:\\Program Files\\Anaconda\\Scripts\\jupyter-notebook-script.py"', '"%USERPROFILE%/"']
DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'D:\Program Files\Anaconda', env_name: 'None', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(323): Shortcut cmd is "D:\Program Files\Anaconda\python.exe", args are ['"D:\\Program Files\\Anaconda\\cwp.py"', '"D:\\Program Files\\Anaconda"', '"D:\\Program Files\\Anaconda\\python.exe"', '"D:\\Program Files\\Anaconda\\Scripts\\jupyter-notebook-script.py"', '"%USERPROFILE%/"']
- DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'D:\Program Files\Anaconda', env_name: 'None', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(323): Shortcut cmd is "D:\Program Files\Anaconda\python.exe", args are ['"D:\\Program Files\\Anaconda\\cwp.py"', '"D:\\Program Files\\Anaconda"', '"D:\\Program Files\\Anaconda\\python.exe"', '"D:\\Program Files\\Anaconda\\Scripts\\jupyter-notebook-script.py"', '"%USERPROFILE%/"']
done
And than I check version again ... and nothing!
(base) C:\WINDOWS\system32>conda --version
conda 4.9.2
I used command in cheatlist:
(base) C:\WINDOWS\system32>conda update -n base conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
Package Plan
environment location: D:\Program Files\Anaconda
added / updated specs:
- conda
The following packages will be downloaded:
(packages)
Proceed ([y]/n)?
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
I tied to check conda version again - and got the same old version I have before update
(base) C:\WINDOWS\system32>conda -V
conda 4.9.2
(base) C:\WINDOWS\system32>python -V
Python 3.7.7
(base) C:\WINDOWS\system32>conda list anaconda$
packages in environment at D:\Program Files\Anaconda:
Name Version Build Channel
anaconda custom py37_1
(base) C:\WINDOWS\system32>conda info
active environment : base
active env location : D:\Program Files\Anaconda
shell level : 1
user config file : C:\Users\G703\.condarc
populated config files : C:\Users\G703\.condarc
conda version : 4.9.2
conda-build version : 3.18.11
python version : 3.7.7.final.0
virtual packages : __cuda=11.2=0
__win=0=0
__archspec=1=x86_64
base environment : D:\Program Files\Anaconda (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/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
package cache : D:\Program Files\Anaconda\pkgs
C:\Users\G703\.conda\pkgs
C:\Users\G703\AppData\Local\conda\conda\pkgs
envs directories : D:\Program Files\Anaconda\envs
C:\Users\G703\.conda\envs
C:\Users\G703\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.9.2 requests/2.25.1 CPython/3.7.7 Windows/10 Windows/10.0.19041
administrator : True
netrc file : None
offline mode : False
The same in Anaconda Power Shell:
(base) PS C:\WINDOWS\system32> conda update -n base conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
# All requested packages already installed.
(base) PS C:\WINDOWS\system32> conda update anaconda
Collecting package metadata (current_repodata.json): done
Solving environment: done
# All requested packages already installed.
(base) PS C:\WINDOWS\system32> conda info
active environment : base
active env location : D:\Program Files\Anaconda
shell level : 1
user config file : C:\Users\G703\.condarc
populated config files : C:\Users\G703\.condarc
conda version : 4.9.2
conda-build version : 3.18.11
python version : 3.7.7.final.0
virtual packages : __cuda=11.2=0
__win=0=0
__archspec=1=x86_64
base environment : D:\Program Files\Anaconda (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/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
package cache : D:\Program Files\Anaconda\pkgs
C:\Users\G703\.conda\pkgs
C:\Users\G703\AppData\Local\conda\conda\pkgs
envs directories : D:\Program Files\Anaconda\envs
C:\Users\G703\.conda\envs
C:\Users\G703\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.9.2 requests/2.25.1 CPython/3.7.7 Windows/10 Windows/10.0.19041
administrator : True
netrc file : None
offline mode : False
Any ideas what I should try to properly update Anaconda and Navigator from the prompt?
Or I have to download New Version from the website and Uninstall old one?
Many Thanks!
You may want to run:
conda update conda
conda install anaconda=<version>
Check out this question.

conda `ResolvePackageNotFound` after fresh install

I want to create a new conda environment.
However, I get the following error message:
(base) ➜ ~ conda env create -n ml
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:
- libspatialindex==1.9.0=h6de7cb9_1
- libgdal==2.4.0=h89caebc_1002
- gdal==2.4.0=py37h0e3174d_1002
- openblas==0.3.5=h436c29b_1001
- libcxxabi==8.0.0=2
I removed all of my old environments (they had become bloated) and uninstalled and reinstalled a new miniconda3 installation.
(base) ➜ ~ conda env list
# conda environments:
#
base * /Users/tommylees/miniconda3
Here is some other information:
(base) ➜ ~ conda info
active environment : base
active env location : /Users/tommylees/miniconda3
shell level : 1
user config file : /Users/tommylees/.condarc
populated config files :
conda version : 4.9.2
conda-build version : not installed
python version : 3.8.6.final.0
virtual packages : __osx=10.15.7=0
__unix=0=0
__archspec=1=x86_64
base environment : /Users/tommylees/miniconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /Users/tommylees/miniconda3/pkgs
/Users/tommylees/.conda/pkgs
envs directories : /Users/tommylees/miniconda3/envs
/Users/tommylees/.conda/envs
platform : osx-64
user-agent : conda/4.9.2 requests/2.25.1 CPython/3.8.6 Darwin/19.6.0 OSX/10.15.7
UID:GID : 501:20
netrc file : None
offline mode : False
(base) ➜ ~ cat /Users/tommylees/.condarc
cat: /Users/tommylees/.condarc: No such file or directory
(base) ➜ ~ ls /Users/tommylees/.conda/envs
ls: /Users/tommylees/.conda/envs: No such file or directory
I do not understand why the conda installer is still looking for gdal or other packages which were previously installed but I thought I had removed.

Anaconda Import Error, module just installed isn't found

Yet another Import Error issue, I know...
I have been through many posts on stackoverflow about this issue but nothing seem to help
Here is the thing, I am not a windows person, I have used anaconda on mac and Linux for quite a while but now I have to train someone on Python with windows10.
So I tried to install Anaconda, thinking oh well that should be easy...
What I did :
Install miniconda3
Create a conda environment named 'first' - activated it
Install numpy scipy and geopandas (conda install -c conda-forge geopandas)
Start IPython
Typed import geopandas and got an Import Error ModuleNotFoundError: No module named 'geopandas'
Note that Geopandas and all packages appear in the pip list of my environment
So then I Import sys and typed sys.path with this result (sys.executable was fine)
['',
'C:\\Users\\mine\\Miniconda3\\Scripts',
'C:\\Users\\mine\\Miniconda3\\python36.zip',
'C:\\Users\\mine\\Miniconda3\\DLLs',
'C:\\Users\\mine\\Miniconda3\\lib',
'C:\\Users\\mine\\Miniconda3',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages\\win32',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages\\win32\\lib',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages\\Pythonwin',
'C:\\Users\\mine\\Miniconda3\\lib\\site-packages\\IPython\\extensions',
'C:\\Users\\mine\\.ipython']
I believe I should see something about my conda environment in there
c:\users\mine\miniconda3\envs\first\
What did I do wrong? How do I fix it and why do you think that happened? Should I report it to anaconda as it seems to be a pretty annoying thing.
In case that helps :
(first) C:\Users\mine>conda info -a
active environment : first
active env location : C:\Users\mine\Miniconda3\envs\first
shell level : 2
user config file : C:\Users\mine\.condarc
populated config files :
conda version : 4.4.10
conda-build version : not installed
python version : 3.6.3.final.0
base environment : C:\Users\mine\Miniconda3 (writable)
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
package cache : C:\Users\mine\Miniconda3\pkgs
C:\Users\mine\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\mine\Miniconda3\envs
C:\Users\mine\AppData\Local\conda\conda\envs
C:\Users\mine\.conda\envs
platform : win-64
user-agent : conda/4.4.10 requests/2.18.4 CPython/3.6.3 Windows/10 Windows/10.0.16299
administrator : False
netrc file : None
offline mode : False
# conda environments:
#
base C:\Users\mine\Miniconda3
first * C:\Users\mine\Miniconda3\envs\first
sys.version: 3.6.3 |Anaconda, Inc.| (default, Nov 8 ...
sys.prefix: C:\Users\mine\Miniconda3
sys.executable: C:\Users\mine\Miniconda3\python.exe
conda location: C:\Users\mine\Miniconda3\lib\site-packages\conda
conda-build: None
conda-env: C:\Users\mine\Miniconda3\Scripts\conda-env.exe
user site dirs:
CIO_TEST: <not set>
CONDA_DEFAULT_ENV: first
CONDA_PREFIX: C:\Users\mine\Miniconda3\envs\first
CONDA_PREFIX_1: C:\Users\mine\Miniconda3
CONDA_PROMPT_MODIFIER: (first)
CONDA_PYTHON_EXE: C:\Users\mine\Miniconda3\python.exe
CONDA_ROOT: C:\Users\mine\Miniconda3
CONDA_SHLVL: 2
HOMEPATH: \Users\mine
PATH: C:\Users\mine\Miniconda3\envs\first;C:\Users\mine\Miniconda3\envs\first\Library\mingw-w64\bin;C:\Users\mine\Miniconda3\envs\first\Library\usr\bin;C:\Users\mine\Miniconda3\envs\first\Library\bin;C:\Users\mine\Miniconda3\envs\first\Scripts;C:\Users\mine\Miniconda3\envs\first\bin;C:\Users\mine\Miniconda3;C:\Users\mine\Miniconda3\Library\mingw-w64\bin;C:\Users\mine\Miniconda3\Library\usr\bin;C:\Users\mine\Miniconda3\Library\bin;C:\Users\mine\Miniconda3\Scripts;C:\Users\mine\Miniconda3\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\mine\AppData\Local\Microsoft\WindowsApps;
PSMODULEPATH: C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PYTHONIOENCODING: 1252
REQUESTS_CA_BUNDLE: <not set>
SSL_CERT_FILE: <not set>
You also need to install IPython into your new environment:
conda install ipython
otherwise it uses the ipython form "outside" the environment because it is a command line app and not necessary connected to an environment.
You can check IPython you use with:
where ipython

anaconda installed package not importable

I have tried to install 'gtk' for python on Ubuntu (14.04). It seems to be installed OK. However I'm unable to import it.
$ python --version
Python 2.7.13 :: Anaconda 2.5.0 (64-bit)
$ python -c 'import gtk'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named gtk
$ which python
It seems to be installed OK...
$ conda list | grep -i gtk
conda list |grep -i gtk
gtk 3.16.6 2 ostrokach
I've only got one conda environment. PYTHONPATH and PYTHONHOME are unset.
$ conda info -a
Current conda install:
platform : linux-64
conda version : 4.3.24
conda is private : False
conda-env version : 4.3.24
conda-build version : 1.19.0
python version : 2.7.13.final.0
requests version : 2.18.3
root environment : /home/manohar/anaconda2 (writable)
default environment : /home/manohar/anaconda2
envs directories : /home/manohar/anaconda2/envs
/home/manohar/.conda/envs
package cache : /home/manohar/anaconda2/pkgs
/home/manohar/.conda/pkgs
channel URLs : https://conda.anaconda.org/brian-team/linux-64
https://conda.anaconda.org/brian-team/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : /home/manohar/.condarc
netrc file : None
offline mode : False
user-agent : conda/4.3.24 requests/2.18.3 CPython/2.7.13 Linux/3.13.0-123-generic debian/jessie/sid glibc/2.19
UID:GID : 1000:1000
# conda environments:
#
root * /home/manohar/anaconda2
sys.version: 2.7.13 |Anaconda 2.5.0 (64-bit)| (defaul...
sys.prefix: /home/manohar/anaconda2
sys.executable: /home/manohar/anaconda2/bin/python
conda location: /home/manohar/anaconda2/lib/python2.7/site-packages/conda
conda-build: /home/manohar/anaconda2/bin/conda-build
conda-convert: /home/manohar/anaconda2/bin/conda-convert
conda-develop: /home/manohar/anaconda2/bin/conda-develop
conda-env: /home/manohar/anaconda2/bin/conda-env
conda-index: /home/manohar/anaconda2/bin/conda-index
conda-inspect: /home/manohar/anaconda2/bin/conda-inspect
conda-metapackage: /home/manohar/anaconda2/bin/conda-metapackage
conda-pipbuild: /home/manohar/anaconda2/bin/conda-pipbuild
conda-server: /home/manohar/anaconda2/bin/conda-server
conda-sign: /home/manohar/anaconda2/bin/conda-sign
conda-skeleton: /home/manohar/anaconda2/bin/conda-skeleton
user site dirs:
CIO_TEST: <not set>
CONDA_DEFAULT_ENV: <not set>
CONDA_ENVS_PATH: <not set>
LD_LIBRARY_PATH: <not set>
PATH: /home/manohar/anaconda2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/bin:/usr/lib/jvm/default-java/bin
PYTHONHOME: <not set>
PYTHONPATH: <not set>
License directories:
/home/manohar/.continuum
/home/manohar/anaconda2/licenses
License files (license*.txt):
Package/feature end dates:
Any ideas as to what to check next? There are a plethora of gtk-related files inside ~/anancoda2:
~/anaconda2/share/gtk-3.0 (containing gtkbuilder.rng)
~/anaconda2/include/gtk-3.0 (many header files and subfolders)
~/anaconda2/bin/
gtk3-demo-application
gtk3-demo
gtk3-icon-browser
gtk3-widget-factory
gtk-encode-symbolic-svg
gtk-launch
gtk-query-immodules-3.0
gtk-update-icon-cache
~/anaconda2/lib/
gtk-2.0
gtk-3.0
libgtk-3.la
libgtk-3.so
libgtk-3.so.0
libgtk-3.so.1600.6

GCE and conda envs, having problems to find packages installed with conda when running gce dev_server in windows

im using GCE with conda in windows.
I have a Virtualenv made with conda using the following command:
conda create --name myenv python=2.7.8
and then i installed a module that i want to use with my app called stripe
conda install --name myenv stripe
The problem is that when i run my GCE app launcher i get the following error:
import stripe
ImportError: No module named stripe
which is weird because i have my GCE app launcher pointing at C:/Miniconda2/envs/myenv/pythonw.exe
if i do:
activate myenv
and then i go into python and import stripe i get no problem, but when i run the launcher i get that error in the logs, this happens for all the packages i want to use.
this is what i get running conda info -a:
[myenv] C:\Users\MyUser\Documents\myenv\MyGCEApp>conda info -a
Using Anaconda Cloud api site https://api.anaconda.org
Current conda install:
platform : win-64
conda version : 4.0.5
conda-build version : 1.20.1
python version : 2.7.11.final.0
requests version : 2.9.1
root environment : C:\Miniconda2 (writable)
default environment : C:\Miniconda2\envs\myenv
envs directories : C:\Miniconda2\envs
package cache : C:\Miniconda2\pkgs
channel URLs : https://repo.continuum.io/pkgs/free/win-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/win-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : None
is foreign system : False
# conda environments:
#
py27 C:\Miniconda2\envs\py27
myenv * C:\Miniconda2\envs\myenv
work279 C:\Miniconda2\envs\work279
root C:\Miniconda2
sys.version: 2.7.11 |Continuum Analytics, Inc.| (defa...
sys.prefix: C:\Miniconda2
sys.executable: C:\Miniconda2\python.exe
conda location: C:\Miniconda2\lib\site-packages\conda
conda-build: C:\Miniconda2\Scripts\conda-build.exe
conda-convert: C:\Miniconda2\Scripts\conda-convert.exe
conda-develop: C:\Miniconda2\Scripts\conda-develop.exe
conda-env: C:\Miniconda2\Scripts\conda-env.exe
conda-index: C:\Miniconda2\Scripts\conda-index.exe
conda-inspect: C:\Miniconda2\Scripts\conda-inspect.exe
conda-metapackage: C:\Miniconda2\Scripts\conda-metapackage.exe
conda-pipbuild: C:\Miniconda2\Scripts\conda-pipbuild.exe
conda-server: C:\Miniconda2\Scripts\conda-server.exe
conda-sign: C:\Miniconda2\Scripts\conda-sign.exe
conda-skeleton: C:\Miniconda2\Scripts\conda-skeleton.exe
user site dirs: C:\Users\MyUser\AppData\Roaming\Python\Python27
C:\Users\MyUser\AppData\Roaming\Python\Scripts
CIO_TEST: <not set>
CONDA_DEFAULT_ENV: C:\Miniconda2\envs\myenv
CONDA_ENVS_PATH: <not set>
PATH: C:\Miniconda2\Library\bin;C:\Miniconda2\envs\myenv;C:\Miniconda2\envs\myenv\Scripts;C:\Miniconda2\envs\myenv
\Library\bin;C:\Python279\;C:\Python279\Scripts;C:\Program Files\Dell\DW WLAN Card;C:\tools\ruby21\bin;C:\Program Files
(x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\
Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth
Software\syswow64;C:\Program Files\Mercurial;C:\HashiCorp\Vagrant\bin;C:\tools\python3;C:\Program Files\nodejs\;C:\WIND
OWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skyp
e\Phone\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Eng
ine Components\IPT;C:\Program Files (x86)\Brackets\command;C:\Program Files\Git\cmd;C:\Program Files\TortoiseHg\;C:\Prog
ramData\chocolatey\bin;C:\Program Files\Mercurial\;C:\Users\MyUser\AppData\Roaming\npm;C:\Users\MyUser\AppData\L
ocal\atom\bin;C:\Program Files (x86)\Microsoft VS Code\bin;C:\tools\mysql\current\bin;C:\Users\MyUser\AppData\Local\
nylas\bin;C:\Program Files (x86)\Google\google_appengine\;C:\Users\MyUser\AppData\Local\Google\Cloud SDK\google-clou
d-sdk\bin;C:\Users\MyUser\AppData\Local\.meteor\;C:\Miniconda2\;C:\Miniconda2\Scripts
PYTHONHOME: <not set>
PYTHONPATH: <not set>
License directories:
C:\Miniconda2\licenses
C:\Users\MyUser\.continuum
C:\Users\MyUser\AppData\Roaming\Continuum
License files (license*.txt):
Package/feature end dates:
Am i missing something?

Categories

Resources