tensorflow 2 not finding gpu device - keras

I have an ubuntu server with conda installed on it. I created a virtual environment called tf-gpu and installed tensorflow 2 into it. The ubuntu server has a geforce GTX video card with gpu installed. When I run the code below in a jupyter notebook using the tf-gpu environment it shows 0 GPU available. The modules installed in my tf-gpu environment are also shown below. Why isn't my tensorflow2 environment seeing my gpu? What do I need to do so that the tf-gpu environment can see and use the gpu on my ubuntu server?
code:
import tensorflow as tf
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
output:
Num GPUs Available: 0
# installed modules
$ conda list
# packages in environment at /home/scotsditch/anaconda3/envs/tf-gpu:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
_tflow_select 2.1.0 gpu
absl-py 0.9.0 py38_0
argon2-cffi 20.1.0 py38h7b6447c_1
astunparse 1.6.3 py_0
attrs 19.3.0 py_0
backcall 0.2.0 py_0 anaconda
blas 1.0 mkl
bleach 3.1.5 py_0
blinker 1.4 py38_0
brotlipy 0.7.0 py38h7b6447c_1000
c-ares 1.15.0 h7b6447c_1001
ca-certificates 2020.12.5 ha878542_0 conda-forge
cachetools 4.1.1 py_0
certifi 2020.12.5 py38h578d9bd_1 conda-forge
cffi 1.14.1 py38he30daa8_0
chardet 3.0.4 py38_1003
click 7.1.2 py_0
cryptography 2.9.2 py38h1ba5d50_0
cudatoolkit 10.1.243 h6bb024c_0 anaconda
cudnn 7.6.5 cuda10.1_0
cupti 10.1.168 0
cycler 0.10.0 py_2 conda-forge
dbus 1.13.16 hb2f20db_0
decorator 4.4.2 py_0 anaconda
defusedxml 0.6.0 py_0
entrypoints 0.3 py38_0
expat 2.2.9 he1b5a44_2 conda-forge
fontconfig 2.13.1 he4413a7_1000 conda-forge
freetype 2.10.2 h5ab3b9f_0 anaconda
gast 0.3.3 py_0
glib 2.66.1 h92f7085_0
google-auth 1.20.1 py_0
google-auth-oauthlib 0.4.1 py_2
google-pasta 0.2.0 py_0
grpcio 1.31.0 py38hf8bcb03_0
gst-plugins-base 1.14.0 hbbd80ab_1
gstreamer 1.14.0 h28cd5cc_2
h5py 2.10.0 py38hd6299e0_1
hdf5 1.10.6 hb1b8bf9_0
icu 58.2 hf484d3e_1000 conda-forge
idna 2.10 py_0
importlib-metadata 1.7.0 py38_0
importlib_metadata 1.7.0 0
intel-openmp 2020.1 217
ipykernel 5.3.4 py38h5ca1d4c_0
ipython 7.16.1 py38h5ca1d4c_0 anaconda
ipython_genutils 0.2.0 py38_0 anaconda
jedi 0.17.0 py38_0 anaconda
jinja2 2.11.2 py_0
jpeg 9b habf39ab_1 anaconda
jsonschema 3.2.0 py38_0
jupyter_client 6.1.6 py_0 anaconda
jupyter_core 4.6.3 py38_0 anaconda
keras-preprocessing 1.1.0 py_1
kiwisolver 1.3.1 py38h82cb98a_0 conda-forge
lcms2 2.11 h396b838_0 anaconda
ld_impl_linux-64 2.33.1 h53a641e_7
libedit 3.1.20191231 h14c3975_1
libffi 3.3 he6710b0_2
libgcc-ng 9.1.0 hdf63c60_0
libgfortran-ng 7.3.0 hdf63c60_0
libiconv 1.16 h516909a_0 conda-forge
libpng 1.6.37 hbc83047_0 anaconda
libprotobuf 3.12.4 hd408876_0
libsodium 1.0.18 h7b6447c_0 anaconda
libstdcxx-ng 9.1.0 hdf63c60_0
libtiff 4.1.0 h2733197_1 anaconda
libuuid 2.32.1 h14c3975_1000 conda-forge
libxcb 1.13 h14c3975_1002 conda-forge
libxml2 2.9.9 h13577e0_2 conda-forge
lz4-c 1.9.2 he6710b0_1 anaconda
markdown 3.2.2 py38_0
markupsafe 1.1.1 py38h7b6447c_0
matplotlib 3.3.2 py38h578d9bd_1 conda-forge
matplotlib-base 3.3.2 py38h4d1ce4f_1 conda-forge
mistune 0.8.4 py38h7b6447c_1000
mkl 2020.1 217
mkl-service 2.3.0 py38he904b0f_0
mkl_fft 1.1.0 py38h23d657b_0
mkl_random 1.1.1 py38h0573a6f_0
nb_conda_kernels 2.2.3 py38_0
nbconvert 5.6.1 py38_0
nbformat 5.0.7 py_0
ncurses 6.2 he6710b0_1
notebook 6.1.1 py38_0
numpy 1.19.1 py38hbc911f0_0
numpy-base 1.19.1 py38hfa32c7d_0
oauthlib 3.1.0 py_0
olefile 0.46 py_0 anaconda
openssl 1.1.1h h516909a_0 conda-forge
opt_einsum 3.1.0 py_0
packaging 20.4 py_0
pandas 1.1.3 py38he6710b0_0 anaconda
pandoc 2.10.1 0
pandocfilters 1.4.2 py38_1
parso 0.8.0 py_0 anaconda
pcre 8.44 he1b5a44_0 conda-forge
pexpect 4.8.0 py38_0 anaconda
pickleshare 0.7.5 py38_1000 anaconda
pillow 7.2.0 py38hb39fc2d_0 anaconda
pip 20.2.2 py38_0
prometheus_client 0.8.0 py_0
prompt-toolkit 3.0.5 py_0 anaconda
protobuf 3.12.4 py38he6710b0_0
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
ptyprocess 0.6.0 py38_0 anaconda
pyasn1 0.4.8 py_0
pyasn1-modules 0.2.7 py_0
pycparser 2.20 py_2
pygments 2.6.1 py_0 anaconda
pyjwt 1.7.1 py38_0
pyopenssl 19.1.0 py_1
pyparsing 2.4.7 py_0
pyqt 5.9.2 py38h05f1152_4
pyrsistent 0.16.0 py38h7b6447c_0
pysocks 1.7.1 py38_0
python 3.8.5 hcff3b4d_0
python-dateutil 2.8.1 py_0 anaconda
python_abi 3.8 1_cp38 conda-forge
pytz 2020.1 py_0 anaconda
pyzmq 19.0.1 py38he6710b0_1 anaconda
qt 5.9.7 h5867ecd_1
readline 8.0 h7b6447c_0
requests 2.24.0 py_0
requests-oauthlib 1.3.0 py_0
rsa 4.6 py_0
scipy 1.5.0 py38h0b6359f_0
send2trash 1.5.0 py38_0
setuptools 49.6.0 py38_0
sip 4.19.13 py38he6710b0_0
six 1.15.0 py_0
sqlite 3.32.3 h62c20be_0
tensorboard 2.2.1 pyh532a8cf_0
tensorboard-plugin-wit 1.6.0 py_0
tensorflow 2.2.0 gpu_py38hb782248_0
tensorflow-base 2.2.0 gpu_py38h83e3d50_0
tensorflow-estimator 2.2.0 pyh208ff02_0
tensorflow-gpu 2.2.0 h0d30ee6_0
termcolor 1.1.0 py38_1
terminado 0.8.3 py38_0
testpath 0.4.4 py_0
tk 8.6.10 hbc83047_0
tornado 6.0.4 py38h7b6447c_1 anaconda
traitlets 4.3.3 py38_0 anaconda
urllib3 1.25.10 py_0
wcwidth 0.2.5 py_0 anaconda
webencodings 0.5.1 py38_1
werkzeug 1.0.1 py_0
wheel 0.34.2 py38_0
wrapt 1.12.1 py38h7b6447c_1
xorg-libxau 1.0.9 h14c3975_0 conda-forge
xorg-libxdmcp 1.1.3 h516909a_0 conda-forge
xz 5.2.5 h7b6447c_0
zeromq 4.3.2 he6710b0_2 anaconda
zipp 3.1.0 py_0
zlib 1.2.11 h7b6447c_3
zstd 1.4.4 h0b5b093_3 anaconda
when I run the below on my server I get the output below:
lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
output:
42:00.0 VGA compatible controller [0300]: NVIDIA Corporation GV104 [GeForce GTX 1180] [10de:1e87] (rev a1) (prog-if 00 [VGA controller])

I was able to solve the issue by running
sudo apt install nvidia-cuda-toolkit
and then rebooting my server

Related

No kernel option buttons on jupyter-lab

I just set up my new computer and have an issue with Jupyter-lab. I can't find the "interrupt kernel", "restart kernel" and "restart kernel and run all buttons* like in the image below:
My window currently looks like:
I installed miniconda following the instructions (version 4.12.0). I created a conda environment, installed my required packages and jupyter (version 1.0.0) as well as jupyterlab (version 3.4.4) with the latest version for all of them.
I also added my virtual environment as a kernel using ipykernel.
I am on Windows 10, 64 bits.
Thanks for your help
The output of conda list:
# Name Version Build Channel
anyio 3.5.0 py310haa95532_0
appdirs 1.4.4 pyhd3eb1b0_0
argon2-cffi 21.3.0 pyhd3eb1b0_0
argon2-cffi-bindings 21.2.0 py310h2bbff1b_0
asttokens 2.0.5 pyhd3eb1b0_0
attrs 21.4.0 pyhd3eb1b0_0
audioread 2.1.9 py310h5588dad_3 conda-forge
babel 2.9.1 pyhd3eb1b0_0
backcall 0.2.0 pyhd3eb1b0_0
beautifulsoup4 4.11.1 py310haa95532_0
blas 1.0 mkl
bleach 4.1.0 pyhd3eb1b0_0
bottleneck 1.3.5 py310h9128911_0
brotli 1.0.9 h2bbff1b_7
brotli-bin 1.0.9 h2bbff1b_7
brotlipy 0.7.0 py310h2bbff1b_1002
bzip2 1.0.8 he774522_0
ca-certificates 2022.6.15 h5b45459_0 conda-forge
certifi 2022.6.15 py310h5588dad_0 conda-forge
cffi 1.15.1 py310h2bbff1b_0
charset-normalizer 2.0.4 pyhd3eb1b0_0
colorama 0.4.5 py310haa95532_0
cryptography 37.0.1 py310h21b164f_0
cudatoolkit 11.6.0 hc0ea762_10 conda-forge
cycler 0.11.0 pyhd3eb1b0_0
debugpy 1.5.1 py310hd77b12b_0
decorator 5.1.1 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
easydict 1.9 py_0 conda-forge
entrypoints 0.4 py310haa95532_0
executing 0.8.3 pyhd3eb1b0_0
fonttools 4.25.0 pyhd3eb1b0_0
freetype 2.10.4 hd328e21_0
glib 2.69.1 h5dc1a3c_1
gst-plugins-base 1.18.5 h9e645db_0
gstreamer 1.18.5 hd78058f_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha925a31_3
idna 3.3 pyhd3eb1b0_0
importlib-metadata 4.11.4 py310h5588dad_0 conda-forge
intel-openmp 2021.4.0 haa95532_3556
ipykernel 6.9.1 py310haa95532_0
ipython 8.4.0 py310haa95532_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.5 pyhd3eb1b0_1
jedi 0.18.1 py310haa95532_1
jinja2 3.0.3 pyhd3eb1b0_0
joblib 1.1.0 pyhd3eb1b0_0
jpeg 9e h2bbff1b_0
json5 0.9.6 pyhd3eb1b0_0
jsonschema 4.4.0 py310haa95532_0
jupyter 1.0.0 py310haa95532_8
jupyter_client 7.2.2 py310haa95532_0
jupyter_console 6.4.3 pyhd3eb1b0_0
jupyter_core 4.10.0 py310haa95532_0
jupyter_server 1.18.1 py310haa95532_0
jupyterlab 3.4.4 py310haa95532_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 2.12.0 py310haa95532_0
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
kiwisolver 1.4.2 py310hd77b12b_0
libbrotlicommon 1.0.9 h2bbff1b_7
libbrotlidec 1.0.9 h2bbff1b_7
libbrotlienc 1.0.9 h2bbff1b_7
libclang 12.0.0 default_h627e005_2
libffi 3.4.2 hd77b12b_4
libflac 1.3.4 h0e60522_0 conda-forge
libiconv 1.16 h2bbff1b_2
libogg 1.3.5 h2bbff1b_1
libopus 1.3.1 h8ffe710_1 conda-forge
libpng 1.6.37 h2a8f88b_0
librosa 0.9.2 pyhd8ed1ab_0 conda-forge
libsndfile 1.0.31 h0e60522_1 conda-forge
libsodium 1.0.18 h62dcd97_0
libtiff 4.2.0 he0120a3_1
libuv 1.40.0 he774522_0
libvorbis 1.3.7 he774522_0
libwebp 1.2.2 h2bbff1b_0
libxml2 2.9.14 h0ad7f3c_0
libxslt 1.1.35 h2bbff1b_0
llvmlite 0.38.0 py310h23ce68f_0
lz4-c 1.9.3 h2bbff1b_1
markupsafe 2.1.1 py310h2bbff1b_0
matplotlib 3.5.1 py310haa95532_1
matplotlib-base 3.5.1 py310hd77b12b_1
matplotlib-inline 0.1.2 pyhd3eb1b0_2
mistune 0.8.4 py310h2bbff1b_1000
mkl 2021.4.0 haa95532_640
mkl-service 2.4.0 py310h2bbff1b_0
mkl_fft 1.3.1 py310ha0764ea_0
mkl_random 1.2.2 py310h4ed8f06_0
munkres 1.1.4 py_0
nbclassic 0.3.5 pyhd3eb1b0_0
nbclient 0.5.13 py310haa95532_0
nbconvert 6.4.4 py310haa95532_0
nbformat 5.3.0 py310haa95532_0
nest-asyncio 1.5.5 py310haa95532_0
notebook 6.4.12 py310haa95532_0
numba 0.55.1 py310h4ed8f06_0
numexpr 2.8.3 py310hb57aa6b_0
numpy 1.21.5 py310h6d2d95c_3
numpy-base 1.21.5 py310h206c741_3
openssl 1.1.1q h8ffe710_0 conda-forge
packaging 21.3 pyhd3eb1b0_0
pandas 1.4.3 py310hd77b12b_0
pandocfilters 1.5.0 pyhd3eb1b0_0
parso 0.8.3 pyhd3eb1b0_0
pcre 8.45 hd77b12b_0
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 9.2.0 py310hdc2b20a_1
pip 22.1.2 py310haa95532_0
ply 3.11 py310haa95532_0
pooch 1.4.0 pyhd3eb1b0_0
prettytable 3.3.0 pyhd8ed1ab_0 conda-forge
prometheus_client 0.14.1 py310haa95532_0
prompt-toolkit 3.0.20 pyhd3eb1b0_0
prompt_toolkit 3.0.20 hd3eb1b0_0
pure_eval 0.2.2 pyhd3eb1b0_0
pycparser 2.21 pyhd3eb1b0_0
pygments 2.11.2 pyhd3eb1b0_0
pyopenssl 22.0.0 pyhd3eb1b0_0
pyparsing 3.0.4 pyhd3eb1b0_0
pyqt 5.15.7 py310hd77b12b_0
pyqt5-sip 12.11.0 py310hd77b12b_0
pyrsistent 0.18.0 py310h2bbff1b_0
pysocks 1.7.1 py310haa95532_0
pysoundfile 0.10.3.post1 pyhd3deb0d_0 conda-forge
python 3.10.4 hbb2ffb3_0
python-dateutil 2.8.2 pyhd3eb1b0_0
python-fastjsonschema 2.15.1 pyhd3eb1b0_0
python_abi 3.10 2_cp310 conda-forge
pytorch 1.12.1 py3.10_cuda11.6_cudnn8_0 pytorch
pytorch-mutex 1.0 cuda pytorch
pytz 2022.1 py310haa95532_0
pywin32 302 py310h2bbff1b_2
pywinpty 2.0.2 py310h5da7b33_0
pyyaml 6.0 py310h2bbff1b_0
pyzmq 23.2.0 py310hd77b12b_0
qt-main 5.15.2 he8e5bd7_4
qt-webengine 5.15.9 hb9a9bb5_4
qtconsole 5.3.1 py310haa95532_1
qtpy 2.0.1 pyhd3eb1b0_0
qtwebkit 5.212 h3ad3cdb_4
requests 2.28.1 py310haa95532_0
resampy 0.3.1 pyhd8ed1ab_0 conda-forge
scikit-learn 1.1.1 py310hd77b12b_0
scipy 1.7.3 py310h6d2d95c_0
seaborn 0.11.2 pyhd3eb1b0_0
send2trash 1.8.0 pyhd3eb1b0_1
setuptools 61.2.0 py310haa95532_0
sip 6.6.2 py310hd77b12b_0
six 1.16.0 pyhd3eb1b0_1
sniffio 1.2.0 py310haa95532_1
soupsieve 2.3.1 pyhd3eb1b0_0
sqlite 3.39.0 h2bbff1b_0
stack_data 0.2.0 pyhd3eb1b0_0
tbb 2021.5.0 h59b6b97_0
terminado 0.13.1 py310haa95532_0
testpath 0.6.0 py310haa95532_0
threadpoolctl 2.2.0 pyh0d69192_0
tk 8.6.12 h2bbff1b_0
toml 0.10.2 pyhd3eb1b0_0
torchaudio 0.12.1 py310_cu116 pytorch
torchvision 0.13.1 py310_cu116 pytorch
tornado 6.1 py310h2bbff1b_0
tqdm 4.64.0 pyhd8ed1ab_0 conda-forge
traitlets 5.1.1 pyhd3eb1b0_0
typing-extensions 4.3.0 py310haa95532_0
typing_extensions 4.3.0 py310haa95532_0
tzdata 2022a hda174b7_0
urllib3 1.26.11 py310haa95532_0
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
wcwidth 0.2.5 pyhd3eb1b0_0
webencodings 0.5.1 py310haa95532_1
websocket-client 0.58.0 py310haa95532_4
wheel 0.37.1 pyhd3eb1b0_0
widgetsnbextension 3.5.2 py310haa95532_0
win_inet_pton 1.1.0 py310haa95532_0
wincertstore 0.2 py310haa95532_2
winpty 0.4.3 4
xz 5.2.5 h8cc25b3_1
yaml 0.2.5 he774522_0
zeromq 4.3.4 hd77b12b_0
zipp 3.8.1 pyhd8ed1ab_0 conda-forge
zlib 1.2.12 h8cc25b3_2
zstd 1.5.2 h19a0ad4_0

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. GPU not detected by pytorch

Having trouble with CUDA + Pytorch this is the error. I reinstalled CUDA and cudnn multiple times.
Conda env is detecting GPU but its giving errors with pytorch and certain cuda libraries. I tried with Cuda 10.1 and 10.0, and cudnn version 8 and 7.6.5, Added cuda to path and everything.
However anaconda is showing cuda tool kit 9.0 is installed, whilst I clearly installed 10.0, so I am not entirely sure what's the deal with that.
=> loading model from models/pytorch/pose_coco/pose_hrnet_w32_256x192.pth
Traceback (most recent call last):
File "hydroman2.py", line 580, in <module>
pose_model.load_state_dict(torch.load(cfg.TEST.MODEL_FILE), strict=False)
File "C:\Users\Fardin\anaconda3\envs\myenv\lib\site-packages\torch\serialization.py", line 593, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "C:\Users\Fardin\anaconda3\envs\myenv\lib\site-packages\torch\serialization.py", line 773, in _legacy_load
result = unpickler.load()
File "C:\Users\Fardin\anaconda3\envs\myenv\lib\site-packages\torch\serialization.py", line 729, in persistent_load
deserialized_objects[root_key] = restore_location(obj, location)
File "C:\Users\Fardin\anaconda3\envs\myenv\lib\site-packages\torch\serialization.py", line 178, in default_restore_location
result = fn(storage, location)
File "C:\Users\Fardin\anaconda3\envs\myenv\lib\site-packages\torch\serialization.py", line 154, in _cuda_deserialize
device = validate_cuda_device(location)
File "C:\Users\Fardin\anaconda3\envs\myenv\lib\site-packages\torch\serialization.py", line 138, in validate_cuda_device
raise RuntimeError('Attempting to deserialize object on a CUDA '
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
System info
System info:
--------------------------------------------------------------------------------
__Time Stamp__
Report started (local time) : 2021-03-19 19:59:06.957967
UTC start time : 2021-03-19 15:59:06.957967
Running time (s) : 4.003899
__Hardware Information__
Machine : AMD64
CPU Name : znver1
CPU Count : 12
Number of accessible CPUs : 12
List of accessible CPUs cores : 0 1 2 3 4 5 6 7 8 9 10 11
CFS Restrictions (CPUs worth of runtime) : None
CPU Features : 64bit adx aes avx avx2 bmi bmi2
clflushopt clzero cmov cx16 cx8
f16c fma fsgsbase fxsr lzcnt mmx
movbe mwaitx pclmul popcnt prfchw
rdrnd rdseed sahf sha sse sse2
sse3 sse4.1 sse4.2 sse4a ssse3
xsave xsavec xsaveopt xsaves
Memory Total (MB) : 16334
Memory Available (MB) : 8787
__OS Information__
Platform Name : Windows-10-10.0.19041-SP0
Platform Release : 10
OS Name : Windows
OS Version : 10.0.19041
OS Specific Version : 10 10.0.19041 SP0 Multiprocessor Free
Libc Version : ?
__Python Information__
Python Compiler : MSC v.1916 64 bit (AMD64)
Python Implementation : CPython
Python Version : 3.8.5
Python Locale : en_US.cp1252
__LLVM Information__
LLVM Version : 10.0.1
__CUDA Information__
CUDA Device Initialized : True
CUDA Driver Version : 11020
CUDA Detect Output:
Found 1 CUDA devices
id 0 b'GeForce GTX 1070' [SUPPORTED]
compute capability: 6.1
pci device id: 0
pci bus id: 6
Summary:
1/1 devices are supported
CUDA Librairies Test Output:
Finding cublas from <unknown>
named cublas.dll
trying to open library... ERROR: failed to open cublas:
Could not find module 'cublas.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Finding cusparse from <unknown>
named cusparse.dll
trying to open library... ERROR: failed to open cusparse:
Could not find module 'cusparse.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Finding cufft from <unknown>
named cufft.dll
trying to open library... ERROR: failed to open cufft:
Could not find module 'cufft.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Finding curand from <unknown>
named curand.dll
trying to open library... ERROR: failed to open curand:
Could not find module 'curand.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Finding nvvm from <unknown>
named nvvm.dll
trying to open library... ERROR: failed to open nvvm:
Could not find module 'nvvm.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Finding cudart from <unknown>
named cudart.dll
trying to open library... ERROR: failed to open cudart:
Could not find module 'cudart.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Finding libdevice from <unknown>
searching for compute_20... ERROR: can't open libdevice for compute_20
searching for compute_30... ERROR: can't open libdevice for compute_30
searching for compute_35... ERROR: can't open libdevice for compute_35
searching for compute_50... ERROR: can't open libdevice for compute_50
__ROC information__
ROC Available : False
ROC Toolchains : None
HSA Agents Count : 0
HSA Agents:
None
HSA Discrete GPUs Count : 0
HSA Discrete GPUs : None
__SVML Information__
SVML State, config.USING_SVML : True
SVML Library Loaded : True
llvmlite Using SVML Patched LLVM : True
SVML Operational : True
__Threading Layer Information__
TBB Threading Layer Available : False
+--> Disabled due to Unknown import problem.
OpenMP Threading Layer Available : True
+-->Vendor: MS
Workqueue Threading Layer Available : True
+-->Workqueue imported successfully.
__Numba Environment Variable Information__
None found.
__Conda Information__
Conda Build : 3.20.5
Conda Env : 4.9.2
Conda Platform : win-64
Conda Python Version : 3.8.5.final.0
Conda Root Writable : True
__Installed Packages__
_pytorch_select 1.1.0 cpu anaconda
_tflow_select 2.3.0 mkl anaconda
absl-py 0.12.0 pypi_0 pypi
alabaster 0.7.12 pypi_0 pypi
appdirs 1.4.3 py36h28b3542_0 anaconda
argparse 1.4.0 pypi_0 pypi
asn1crypto 1.3.0 py36_0 anaconda
astor 0.8.1 pyh9f0ad1d_0 conda-forge
astunparse 1.6.3 pypi_0 pypi
atomicwrites 1.4.0 py_0 anaconda
attrs 19.3.0 py_0 anaconda
babel 2.9.0 pypi_0 pypi
backcall 0.2.0 py_0 anaconda
backports 1.0 py_2 anaconda
backports.weakref 1.0.post1 py36h9f0ad1d_1001 conda-forge
blas 1.0 mkl anaconda
bleach 1.5.0 py36_0 conda-forge
blinker 1.4 py_1 conda-forge
brotlipy 0.7.0 py36he774522_1000 anaconda
bzip2 1.0.8 he774522_0 anaconda
ca-certificates 2020.10.14 0 anaconda
cachetools 4.1.1 py_0 anaconda
certifi 2020.6.20 py36_0 anaconda
cffi 1.14.0 py36h7a1dbc1_0 anaconda
chardet 3.0.4 py36_1003 anaconda
click 7.1.2 pyh9f0ad1d_0 conda-forge
cloudpickle 1.4.1 py_0 anaconda
colorama 0.4.3 py_0 anaconda
contextlib2 0.6.0.post1 py_0 anaconda
cpuonly 1.0 0 pytorch
cryptography 2.9.2 py36h7a1dbc1_0 anaconda
cudatoolkit 9.0 1 anaconda
cudnn 7.6.5 cuda9.0_0 anaconda
curl 7.71.0 h2a8f88b_0 anaconda
cycler 0.10.0 py36h009560c_0 anaconda
cython 0.29.22 pypi_0 pypi
cytoolz 0.10.1 py36he774522_0 anaconda
dask-core 2.19.0 py_0 anaconda
decorator 4.4.2 py_0 anaconda
defusedxml 0.6.0 py_0 anaconda
dlib 19.20 py36h5653133_1 conda-forge
docker-py 4.2.1 py36h9f0ad1d_0 conda-forge
docker-pycreds 0.4.0 py_0 anaconda
docutils 0.16 pypi_0 pypi
easydict 1.7 pypi_0 pypi
entrypoints 0.3 py36_0 anaconda
ffmpeg 2.7.0 0 menpo
flake8 3.8.3 py_0 anaconda
flake8-polyfill 1.0.2 py36_0 anaconda
flake8-quotes 3.0.0 pyh9f0ad1d_0 conda-forge
flatbuffers 1.12 pypi_0 pypi
freetype 2.10.2 hd328e21_0 anaconda
gast 0.2.2 pypi_0 pypi
geos 3.8.1 h33f27b4_0 anaconda
gettext 0.19.8.1 hb01d8f6_1002 conda-forge
git 2.23.0 h6bb4b03_0 anaconda
glib 2.58.3 py36h04c7ab9_1004 conda-forge
google-auth 1.28.0 pypi_0 pypi
google-auth-oauthlib 0.4.3 pypi_0 pypi
google-pasta 0.2.0 pyh8c360ce_0 conda-forge
grpcio 1.32.0 pypi_0 pypi
h5py 2.10.0 py36h5e291fa_0 anaconda
hdf5 1.10.4 h7ebc959_0 anaconda
html5lib 0.9999999 py36_0 conda-forge
icc_rt 2019.0.0 h0cc432a_1 anaconda
icu 58.2 ha925a31_3 anaconda
idna 2.10 py_0 anaconda
imageio 2.8.0 py_0 anaconda
imageio-ffmpeg 0.4.2 py_0 conda-forge
imagesize 1.2.0 pypi_0 pypi
imgaug 0.4.0 pypi_0 pypi
importlib-metadata 1.7.0 py36_0 anaconda
importlib_metadata 1.7.0 0 anaconda
intel-openmp 2019.4 245 anaconda
ipykernel 5.3.0 py36h5ca1d4c_0 anaconda
ipyparallel 6.3.0 pypi_0 pypi
ipython 7.16.1 py36h5ca1d4c_0 anaconda
ipython_genutils 0.2.0 py36_0 anaconda
ipywidgets 7.5.1 py_0 anaconda
jedi 0.17.1 py36_0 anaconda
jinja2 2.11.2 py_0 anaconda
joblib 0.15.1 py_0 anaconda
jpeg 9d he774522_0 conda-forge
json-tricks 3.15.5 pypi_0 pypi
jsonschema 3.2.0 py36_0 anaconda
jupyter 1.0.0 py36_7 anaconda
jupyter_client 6.1.3 py_0 anaconda
jupyter_console 6.1.0 py_0 anaconda
jupyter_core 4.6.3 py36_0 anaconda
keras-applications 1.0.8 py_1 anaconda
keras-preprocessing 1.1.2 pypi_0 pypi
kiwisolver 1.2.0 py36h74a9793_0 anaconda
krb5 1.18.2 hc04afaa_0 anaconda
leptonica 1.78.0 h919f142_2 conda-forge
libarchive 3.3.3 h0643e63_5 anaconda
libcurl 7.71.0 h2a8f88b_0 anaconda
libffi 3.2.1 h6538335_1007 conda-forge
libgpuarray 0.7.6 hfa6e2cd_1003 conda-forge
libiconv 1.15 vc14h29686d3_5 [vc14] anaconda
libmklml 2019.0.5 0 anaconda
libpng 1.6.37 h2a8f88b_0 anaconda
libprotobuf 3.12.3 h7bd577a_0 anaconda
libsodium 1.0.18 h62dcd97_0 anaconda
libssh2 1.9.0 h7a1dbc1_1 anaconda
libtiff 4.1.0 h56a325e_0 anaconda
libwebp 1.0.2 hfa6e2cd_5 conda-forge
libxml2 2.9.10 h464c3ec_1 anaconda
libxslt 1.1.34 he774522_0 anaconda
lxml 4.5.0 py36h1350720_0 anaconda
lz4-c 1.8.1.2 h2fa13f4_0 anaconda
lzo 2.10 he774522_2 anaconda
m2w64-gcc-libgfortran 5.3.0 6 conda-forge
m2w64-gcc-libs 5.3.0 7 conda-forge
m2w64-gcc-libs-core 5.3.0 7 conda-forge
m2w64-gmp 6.1.0 2 conda-forge
m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge
mako 1.1.0 py_0 anaconda
markdown 3.3.4 pypi_0 pypi
markupsafe 1.1.1 py36he774522_0 anaconda
matplotlib 3.1.3 py36_0 anaconda
matplotlib-base 3.1.3 py36h64f37c6_0 anaconda
mccabe 0.6.1 py36_1 anaconda
mistune 0.8.4 py36he774522_0 anaconda
mkl 2018.0.3 1 anaconda
mkl_fft 1.0.6 py36hdbbee80_0 anaconda
mkl_random 1.0.1 py36h77b88f5_1 anaconda
mock 4.0.3 pypi_0 pypi
more-itertools 8.4.0 py_0 anaconda
moviepy 1.0.1 py_0 conda-forge
msys2-conda-epoch 20160418 1 conda-forge
nbconvert 5.6.1 py36_0 anaconda
nbformat 5.0.7 py_0 anaconda
networkx 2.4 py_0 anaconda
ninja 1.9.0 py36h74a9793_0 anaconda
nose 1.3.7 pypi_0 pypi
notebook 6.0.3 py36_0 anaconda
numpy 1.19.5 pypi_0 pypi
oauthlib 3.1.0 py_0 anaconda
olefile 0.46 py36_0 anaconda
opencv-python 3.4.1.15 pypi_0 pypi
openjpeg 2.3.1 h57dd2e7_3 conda-forge
openssl 1.1.1h he774522_0 anaconda
opt-einsum 3.3.0 pypi_0 pypi
packaging 20.4 py_0 anaconda
pandas 1.0.3 py36h47e9c7a_0 anaconda
pandoc 2.9.2.1 0 anaconda
pandocfilters 1.4.2 py36_1 anaconda
parso 0.7.0 py_0 anaconda
pcre 8.44 ha925a31_0 anaconda
pep8-naming 0.8.2 py36_0 anaconda
pickleshare 0.7.5 py36_0 anaconda
pillow 7.1.2 py36hcc1f983_0 anaconda
pip 20.2.4 py36_0 anaconda
pluggy 0.13.1 py36_0 anaconda
poppler 0.87.0 hdbe765f_0 conda-forge
poppler-data 0.4.9 1 conda-forge
proglog 0.1.9 py_0 conda-forge
prometheus_client 0.8.0 py_0 anaconda
prompt-toolkit 3.0.5 py_0 anaconda
prompt_toolkit 3.0.5 0 anaconda
protobuf 3.12.3 py36h33f27b4_0 anaconda
psutil 5.8.0 pypi_0 pypi
py 1.9.0 py_0 anaconda
pyasn1 0.4.8 py_0 anaconda
pyasn1-modules 0.2.8 pypi_0 pypi
pycocotools 2.0 pypi_0 pypi
pycodestyle 2.6.0 py_0 anaconda
pycparser 2.20 py_0 anaconda
pyflakes 2.2.0 py_0 anaconda
pygments 2.6.1 py_0 anaconda
pygpu 0.7.6 py36h7725771_1001 conda-forge
pyjwt 1.7.1 py_0 conda-forge
pyopenssl 19.1.0 py36_0 anaconda
pyparsing 2.4.7 py_0 anaconda
pyqt 5.9.2 py36h6538335_2 anaconda
pyreadline 2.1 py36_1001 conda-forge
pyrsistent 0.16.0 py36he774522_0 anaconda
pysocks 1.7.1 py36_0 anaconda
pytesseract 0.3.3 pyh8c360ce_0 conda-forge
pytest 5.4.3 py36_0 anaconda
python 3.6.10 h9f7ef89_1 anaconda
python-dateutil 2.8.1 py_0 anaconda
python_abi 3.6 1_cp36m conda-forge
pytorch 1.5.1 py3.6_cpu_0 [cpuonly] pytorch
pytz 2020.1 py_0 anaconda
pywavelets 1.1.1 py36he774522_0 anaconda
pywin32 223 py36hfa6e2cd_1 anaconda
pywinpty 0.5.7 py36_0 anaconda
pyyaml 5.3.1 py36he774522_0 anaconda
pyzmq 19.0.1 py36ha925a31_1 anaconda
qt 5.9.7 vc14h73c81de_0 [vc14] anaconda
qtconsole 4.7.5 py_0 anaconda
qtpy 1.9.0 py_0 anaconda
requests 2.24.0 py_0 anaconda
requests-oauthlib 1.3.0 pyh9f0ad1d_0 conda-forge
rsa 4.6 pyh9f0ad1d_0 conda-forge
scikit-image 0.16.2 py36h47e9c7a_0 anaconda
scikit-learn 0.20.1 py36hb854c30_0 anaconda
scipy 1.4.1 pypi_0 pypi
send2trash 1.5.0 py36_0 anaconda
setuptools 50.3.0 py36h9490d1a_1 anaconda
shapely 1.6.4 pypi_0 pypi
simplejson 3.17.0 py36he774522_0 anaconda
sip 4.19.8 py36h6538335_0 anaconda
six 1.15.0 py_0 anaconda
sklearn 0.0 pypi_0 pypi
slidingwindow 0.0.14 pypi_0 pypi
snowballstemmer 2.1.0 pypi_0 pypi
sphinx 3.5.2 pypi_0 pypi
sphinxcontrib-applehelp 1.0.2 pypi_0 pypi
sphinxcontrib-devhelp 1.0.2 pypi_0 pypi
sphinxcontrib-htmlhelp 1.0.3 pypi_0 pypi
sphinxcontrib-jsmath 1.0.1 pypi_0 pypi
sphinxcontrib-qthelp 1.0.3 pypi_0 pypi
sphinxcontrib-serializinghtml 1.1.4 pypi_0 pypi
sqlite 3.32.3 h2a8f88b_0 anaconda
swig 3.0.12 h047fa9f_3 anaconda
tbb 2020.0 h74a9793_0 anaconda
tbb4py 2020.0 py36h74a9793_0 anaconda
tensorboard 1.13.1 pypi_0 pypi
tensorboard-plugin-wit 1.8.0 pypi_0 pypi
tensorboardx 1.6 py_0 conda-forge
tensorflow 2.4.1 pypi_0 pypi
tensorflow-estimator 1.13.0 pypi_0 pypi
tensorflow-gpu 1.13.1 pypi_0 pypi
tensorflow-gpu-estimator 2.1.0 pypi_0 pypi
termcolor 1.1.0 pypi_0 pypi
terminado 0.8.3 py36_0 anaconda
testpath 0.4.4 py_0 anaconda
theano 1.0.4 py36h003fed8_1002 conda-forge
threadpoolctl 2.1.0 pyh5ca1d4c_0 anaconda
tk 8.6.10 he774522_0 anaconda
toolz 0.10.0 py_0 anaconda
torchfile 0.1.0 py_0 conda-forge
torchvision 0.6.1 py36_cpu [cpuonly] pytorch
tornado 6.0.4 py36he774522_1 anaconda
tqdm 4.47.0 py_0 anaconda
traitlets 4.3.3 py36_0 anaconda
typing-extensions 3.7.4.3 pypi_0 pypi
urllib3 1.25.11 py_0 anaconda
vc 14.1 h0510ff6_4 anaconda
visdom 0.1.8.9 0 conda-forge
vs2015_runtime 14.16.27012 hf0eaf9b_3 anaconda
vs2017_win-64 19.16.27038 h2e3bad8_2 conda-forge
vswhere 2.7.1 h21ff451_0 anaconda
wcwidth 0.2.5 py_0 anaconda
webencodings 0.5.1 py36_1 anaconda
websocket-client 0.57.0 py36_1 anaconda
werkzeug 1.0.1 pyh9f0ad1d_0 conda-forge
wget 1.16.3 0 menpo
wheel 0.35.1 py_0 anaconda
widgetsnbextension 3.5.1 py36_0 anaconda
win_inet_pton 1.1.0 py36_0 anaconda
wincertstore 0.2 py36h7fe50ca_0 anaconda
winpty 0.4.3 4 anaconda
wrapt 1.12.1 py36h68a101e_1 conda-forge
xz 5.2.5 h62dcd97_0 anaconda
yacs 0.1.8 pypi_0 pypi
yaml 0.1.7 hc54c509_2 anaconda
zeromq 4.3.2 ha925a31_2 anaconda
zipp 3.3.1 py_0 anaconda
zlib 1.2.11 h62dcd97_4 anaconda
zstd 1.3.7 h508b16e_0 anaconda
No errors reported.
Solved.
Pytorch was installing CPU only version for some reason, reinstalling pytorch didn't help.
Uninstalling pytorch: conda uninstall pytorch
Followed by uninstalling cpu only: conda uninstall cpuonly
Then installing pytorch again solved it.
From the list of libraries, it looks like you've installed CPU only version of the Pytorch.
pytorch 1.5.1 py3.6_cpu_0 [cpuonly] pytorch
You can see the available conda packages here for different CUDA + Python versions: https://anaconda.org/pytorch/pytorch/files . When you install the pytorch version, make sure it also matches with the CUDA version of your computer.

"ImportError: No module named seaborn" in Azure ML

Created a new compute instance in Azure ML and trained a model with out any issue. I wanted to draw a pairplot using seaborn but I keep getting the error "ImportError: No module named seaborn"
I ran !conda list and I can see seaborn in the list
# packages in environment at /anaconda:
#
# Name Version Build Channel
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0
alabaster 0.7.12 py37_0
anaconda 2018.12 py37_0
anaconda-client 1.7.2 py37_0
anaconda-navigator 1.9.6 py37_0
anaconda-project 0.8.2 py37_0
applicationinsights 0.11.9 <pip>
asn1crypto 0.24.0 py37_0
astroid 2.1.0 py37_0
astropy 3.1 py37h7b6447c_0
atomicwrites 1.2.1 py37_0
attrs 18.2.0 py37h28b3542_0
babel 2.6.0 py37_0
backcall 0.1.0 py37_0
backports 1.0 py37_1
backports.os 0.1.1 py37_0
backports.shutil_get_terminal_size 1.0.0 py37_2
beautifulsoup4 4.6.3 py37_0
bitarray 0.8.3 py37h14c3975_0
bkcharts 0.2 py37_0
blas 1.0 mkl
blaze 0.11.3 py37_0
bleach 3.0.2 py37_0
blosc 1.14.4 hdbcaa40_0
bokeh 1.0.2 py37_0
boto 2.49.0 py37_0
bottleneck 1.2.1 py37h035aef0_1
bzip2 1.0.6 h14c3975_5
ca-certificates 2020.7.22 0 anaconda
cairo 1.14.12 h8948797_3
certifi 2020.6.20 py37_0 anaconda
cffi 1.11.5 py37he75722e_1
chardet 3.0.4 py37_1
click 7.0 py37_0
cloudpickle 0.6.1 py37_0
clyent 1.2.2 py37_1
colorama 0.4.1 py37_0
conda 4.5.12 py37_0
conda-build 3.17.6 py37_0
conda-env 2.6.0 1
conda-verify 3.1.1 py37_0
contextlib2 0.5.5 py37_0
cryptography 2.4.2 py37h1ba5d50_0
curl 7.63.0 hbc83047_1000
cycler 0.10.0 py37_0 anaconda
cython 0.29.2 py37he6710b0_0
cytoolz 0.9.0.1 py37h14c3975_1
dask 1.0.0 py37_0
dask-core 1.0.0 py37_0
datashape 0.5.4 py37_1
dbus 1.13.12 h746ee38_0 anaconda
decorator 4.3.0 py37_0
defusedxml 0.5.0 py37_1
distributed 1.25.1 py37_0
docutils 0.14 py37_0
entrypoints 0.2.3 py37_2
et_xmlfile 1.0.1 py37_0
expat 2.2.9 he6710b0_2 anaconda
fastcache 1.0.2 py37h14c3975_2
filelock 3.0.10 py37_0
flask 1.0.2 py37_1
flask-cors 3.0.7 py37_0
fontconfig 2.13.0 h9420a91_0 anaconda
freetype 2.10.2 h5ab3b9f_0 anaconda
fribidi 1.0.5 h7b6447c_0
future 0.17.1 py37_0
get_terminal_size 1.0.0 haa9412d_0
gevent 1.3.7 py37h7b6447c_1
glib 2.56.2 hd408876_0 anaconda
glob2 0.6 py37_1
gmp 6.1.2 h6c8ec71_1
gmpy2 2.0.8 py37h10f8cd9_2
graphite2 1.3.12 h23475e2_2
greenlet 0.4.15 py37h7b6447c_0
gst-plugins-base 1.14.0 hbbd80ab_1 anaconda
gstreamer 1.14.0 hb453b48_1 anaconda
h5py 2.8.0 py37h989c5e5_3
harfbuzz 1.8.8 hffaf4a1_0
hdf5 1.10.2 hba1933b_1
heapdict 1.0.0 py37_2
html5lib 1.0.1 py37_0
icu 58.2 he6710b0_3 anaconda
idna 2.8 py37_0
imageio 2.4.1 py37_0
imagesize 1.1.0 py37_0
importlib_metadata 0.6 py37_0
intel-openmp 2019.1 144
ipykernel 5.1.0 py37h39e3cac_0
ipython 7.2.0 py37h39e3cac_0
ipython_genutils 0.2.0 py37_0
ipywidgets 7.4.2 py37_0
isort 4.3.4 py37_0
itsdangerous 1.1.0 py37_0
jbig 2.1 hdba287a_0
jdcal 1.4 py37_0
jedi 0.13.2 py37_0
jeepney 0.4 py37_0
jinja2 2.10 py37_0
jpeg 9b habf39ab_1 anaconda
jsonschema 2.6.0 py37_0
jupyter 1.0.0 py37_7
jupyter_client 5.2.4 py37_0
jupyter_console 6.0.0 py37_0
jupyter_core 4.4.0 py37_0
jupyterlab 0.35.3 py37_0
jupyterlab_server 0.2.0 py37_0
keyring 17.0.0 py37_0
kiwisolver 1.2.0 py37hfd86e86_0 anaconda
krb5 1.16.1 h173b8e3_7
lazy-object-proxy 1.3.1 py37h14c3975_2
lcms2 2.11 h396b838_0 anaconda
ld_impl_linux-64 2.33.1 h53a641e_7 anaconda
libarchive 3.3.3 h5d8350f_5
libcurl 7.63.0 h20c2e04_1000
libedit 3.1.20191231 h14c3975_1 anaconda
libffi 3.3 he6710b0_2 anaconda
libgcc-ng 9.1.0 hdf63c60_0 anaconda
libgfortran-ng 7.3.0 hdf63c60_0
liblief 0.9.0 h7725739_1
libpng 1.6.37 hbc83047_0 anaconda
libsodium 1.0.16 h1bed415_0
libssh2 1.8.0 h1ba5d50_4
libstdcxx-ng 8.2.0 hdf63c60_1
libtiff 4.1.0 h2733197_1 anaconda
libtool 2.4.6 h7b6447c_5
libuuid 1.0.3 h1bed415_2 anaconda
libxcb 1.14 h7b6447c_0 anaconda
libxml2 2.9.10 he19cac6_1 anaconda
libxslt 1.1.32 h1312cb7_0
llvmlite 0.26.0 py37hd408876_0
locket 0.2.0 py37_1
lxml 4.2.5 py37hefd8a0e_0
lz4-c 1.9.2 he6710b0_1 anaconda
lzo 2.10 h49e0be7_2
markupsafe 1.1.0 py37h7b6447c_0
matplotlib 3.3.1 0 anaconda
matplotlib-base 3.3.1 py37h817c723_0 anaconda
mccabe 0.6.1 py37_1
mistune 0.8.4 py37h7b6447c_0
mkl 2019.1 144
mkl-service 1.1.2 py37he904b0f_5
mkl_fft 1.0.10 py37ha843d7b_0 anaconda
mkl_random 1.0.2 py37hd81dba3_0 anaconda
more-itertools 4.3.0 py37_0
mpc 1.1.0 h10f8cd9_1
mpfr 4.0.1 hdf1c602_3
mpmath 1.1.0 py37_0
msgpack-python 0.5.6 py37h6bb024c_1
multipledispatch 0.6.0 py37_0
navigator-updater 0.2.1 py37_0
nbconvert 5.4.0 py37_1
nbformat 4.4.0 py37_0
ncurses 6.2 he6710b0_1 anaconda
networkx 2.2 py37_1
nltk 3.4 py37_1
nose 1.3.7 py37_2
notebook 5.7.4 py37_0
numba 0.41.0 py37h962f231_0
numexpr 2.6.8 py37h9e4a6bb_0
numpy 1.16.2 py37h7e9f1db_0 anaconda
numpy-base 1.16.2 py37hde5b4d6_0 anaconda
numpydoc 0.8.0 py37_0
odo 0.5.1 py37_0
olefile 0.46 py_0 anaconda
openpyxl 2.5.12 py37_0
openssl 1.1.1g h7b6447c_0 anaconda
packaging 18.0 py37_0
pandas 1.1.1 py37he6710b0_0 anaconda
pandoc 1.19.2.1 hea2e7c5_1
pandocfilters 1.4.2 py37_1
pango 1.42.4 h049681c_0
parso 0.3.1 py37_0
partd 0.3.9 py37_0
patchelf 0.9 he6710b0_3
path.py 11.5.0 py37_0
pathlib2 2.3.3 py37_0
patsy 0.5.1 py37_0
pcre 8.44 he6710b0_0 anaconda
pep8 1.7.1 py37_0
pexpect 4.6.0 py37_0
pickleshare 0.7.5 py37_0
pillow 7.2.0 py37hb39fc2d_0 anaconda
pip 20.2.2 py37_0 anaconda
pixman 0.34.0 hceecf20_3
pkginfo 1.4.2 py37_1
pluggy 0.8.0 py37_0
ply 3.11 py37_0
prometheus_client 0.5.0 py37_0
prompt_toolkit 2.0.7 py37_0
psutil 5.4.8 py37h7b6447c_0
ptyprocess 0.6.0 py37_0
py 1.7.0 py37_0
py-lief 0.9.0 py37h7725739_1
pycodestyle 2.4.0 py37_0
pycosat 0.6.3 py37h14c3975_0
pycparser 2.19 py37_0
pycrypto 2.6.1 py37h14c3975_9
pycurl 7.43.0.2 py37h1ba5d50_0
pyflakes 2.0.0 py37_0
pygments 2.3.1 py37_0
pylint 2.2.2 py37_0
pyodbc 4.0.25 py37he6710b0_0
pyopenssl 18.0.0 py37_0
pyparsing 2.4.7 py_0 anaconda
pyqt 5.9.2 py37h22d08a2_1 anaconda
pysocks 1.6.8 py37_0
pytables 3.4.4 py37ha205bf6_0
pytest 4.0.2 py37_0
pytest-arraydiff 0.3 py37h39e3cac_0
pytest-astropy 0.5.0 py37_0
pytest-doctestplus 0.2.0 py37_0
pytest-openfiles 0.3.1 py37_0
pytest-remotedata 0.3.1 py37_0
python 3.7.9 h7579374_0 anaconda
python-dateutil 2.8.1 py_0 anaconda
python-libarchive-c 2.8 py37_6
pytz 2020.1 py_0 anaconda
pywavelets 1.0.1 py37hdd07704_0
pyyaml 3.13 py37h14c3975_0
pyzmq 17.1.2 py37h14c3975_0
qt 5.9.7 h5867ecd_1 anaconda
qtawesome 0.5.3 py37_0
qtconsole 4.4.3 py37_0
qtpy 1.5.2 py37_0
readline 8.0 h7b6447c_0 anaconda
requests 2.21.0 py37_0
rope 0.11.0 py37_0
ruamel_yaml 0.15.46 py37h14c3975_0
scikit-image 0.14.1 py37he6710b0_0
scikit-learn 0.20.1 py37hd81dba3_0
scipy 1.2.1 py37h7c811a0_0 anaconda
seaborn 0.10.1 py_0 anaconda
secretstorage 3.1.0 py37_0
send2trash 1.5.0 py37_0
setuptools 49.6.0 py37_0 anaconda
simplegeneric 0.8.1 py37_2
singledispatch 3.4.0.3 py37_0
sip 4.19.24 py37he6710b0_0 anaconda
six 1.15.0 py_0 anaconda
snappy 1.1.7 hbae5bb6_3
snowballstemmer 1.2.1 py37_0
sortedcollections 1.0.1 py37_0
sortedcontainers 2.1.0 py37_0
sphinx 1.8.2 py37_0
sphinxcontrib 1.0 py37_1
sphinxcontrib-websupport 1.1.0 py37_1
spyder 3.3.2 py37_0
spyder-kernels 0.3.0 py37_0
sqlalchemy 1.2.15 py37h7b6447c_0
sqlite 3.33.0 h62c20be_0 anaconda
statsmodels 0.9.0 py37h035aef0_0
sympy 1.3 py37_0
tblib 1.3.2 py37_0
terminado 0.8.1 py37_1
testpath 0.4.2 py37_0
tk 8.6.10 hbc83047_0 anaconda
toolz 0.9.0 py37_0
tornado 6.0.4 py37h7b6447c_1 anaconda
tqdm 4.28.1 py37h28b3542_0
traitlets 4.3.2 py37_0
unicodecsv 0.14.1 py37_0
unixodbc 2.3.7 h14c3975_0
urllib3 1.24.1 py37_0
wcwidth 0.1.7 py37_0
webencodings 0.5.1 py37_1
werkzeug 0.14.1 py37_0
wheel 0.35.1 py_0 anaconda
widgetsnbextension 3.4.2 py37_0
wrapt 1.10.11 py37h14c3975_2
wurlitzer 1.0.2 py37_0
xlrd 1.2.0 py37_0
xlsxwriter 1.1.2 py37_0
xlwt 1.3.0 py37_0
xz 5.2.5 h7b6447c_0 anaconda
yaml 0.1.7 had09818_2
zeromq 4.2.5 hf484d3e_1
zict 0.1.3 py37_0
zlib 1.2.11 h7b6447c_3 anaconda
zstd 1.4.4 h0b5b093_3 anaconda
I just did the following and wasn't able to reproduce your error:
make a new compute instance
open it up using JupyterLab
open a new terminal
conda activate azureml_py36
conda install seaborn -y
open a new notebook and run import seaborn as sns
Spitballing
Are you using the kernel, Python 3.6 - AzureML (i.e. the azureml_py36 conda env)?
Have you tried restarting the kernel and/or creating a new compute instance?

Downgraded library does not work in the conda environment

I've downgraded numpy from 1.16.1 to 1.15.1 in my conda environment (fastai_07), but I'm still getting the numpy 1.16.1:
(fastai_07) robin#xps:~/github/fastai$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.version.version
'1.16.1'
That's what I did:
(fastai_07) robin#xps:~/github/fastai$ conda install numpy=1.15.1
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: done
Solving environment: done
## Package Plan ##
environment location: /home/robin/anaconda3/envs/fastai_07
added / updated specs:
- numpy=1.15.1
The following packages will be downloaded:
package | build
---------------------------|-----------------
numpy-1.15.1 | py36h3b04361_0 37 KB
numpy-base-1.15.1 | py36h81de0dd_0 4.2 MB
------------------------------------------------------------
Total: 4.2 MB
The following packages will be SUPERSEDED by a higher-priority channel:
spacy fastai::spacy-2.0.18-py36hf484d3e_1000 --> pkgs/main::spacy-2.0.16-py36h962f231_0
The following packages will be DOWNGRADED:
mkl 2019.3-199 --> 2018.0.3-1
mkl_fft 1.0.10-py36ha843d7b_0 --> 1.0.6-py36h7dd41cf_0
mkl_random 1.0.2-py36hd81dba3_0 --> 1.0.1-py36h4414c95_1
numexpr 2.6.9-py36h9e4a6bb_0 --> 2.6.8-py36hd89afb7_0
numpy 1.16.2-py36h7e9f1db_0 --> 1.15.1-py36h3b04361_0
numpy-base 1.16.2-py36hde5b4d6_0 --> 1.15.1-py36h81de0dd_0
scipy 1.2.1-py36h7c811a0_0 --> 1.1.0-py36hfa4b5c9_1
Proceed ([y]/n)? y
Downloading and Extracting Packages
numpy-base-1.15.1 | 4.2 MB | ################################################################################################################################################################# | 100%
numpy-1.15.1 | 37 KB | ################################################################################################################################################################# | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
which python, gives:
(fastai_07) robin#xps:~/github/fastai$ which python
/home/robin/anaconda3/envs/fastai_07/bin/python
and conda list:
(fastai_07) robin#xps:~/github/fastai$ conda list
WARNING: The conda.compat module is deprecated and will be removed in a future release.
# packages in environment at /home/robin/anaconda3/envs/fastai_07:
#
# Name Version Build Channel
asn1crypto 0.24.0 py36_0
attrs 19.1.0 py36_1
backcall 0.1.0 py36_0
backports 1.0 py36_1
backports.os 0.1.1 py36_0
bcolz 1.2.1 py36h04863e7_0
beautifulsoup4 4.6.3 pypi_0 pypi
blas 1.0 mkl
bleach 3.1.0 py36_0
blosc 1.15.0 hd408876_0
bokeh 1.0.4 py36_0
bzip2 1.0.6 h14c3975_5
ca-certificates 2019.1.23 0
certifi 2019.3.9 py36_0
cffi 1.12.2 py36h2e261b9_1
chardet 3.0.4 py36_1
click 7.0 py36_0
cliff 2.8.2 pypi_0 pypi
cloudpickle 0.8.0 py36_0
cmd2 0.9.11 pypi_0 pypi
colorama 0.4.1 pypi_0 pypi
configparser 3.7.4 pypi_0 pypi
cryptography 2.6.1 py36h1ba5d50_0
cssselect 1.0.3 pypi_0 pypi
cuda90 1.0 h6433d27_0 pytorch
cudatoolkit 10.0.130 0
cudnn 7.3.1 cuda10.0_0
cycler 0.10.0 py36_0
cymem 2.0.2 py36hfd86e86_0
cython 0.29.6 py36he6710b0_0
cytoolz 0.9.0.1 py36h14c3975_1
dask 1.1.4 py36_1
dask-core 1.1.4 py36_1
dbus 1.13.6 h746ee38_0
decorator 4.4.0 py36_1
defusedxml 0.5.0 py36_1
descartes 1.1.0 pypi_0 pypi
dill 0.2.9 py36_0
distributed 1.26.0 py36_0
entrypoints 0.3 py36_0
expat 2.2.6 he6710b0_0
feather-format 0.4.0 pypi_0 pypi
fontconfig 2.13.0 h9420a91_0
freetype 2.9.1 h8a8886c_1
glib 2.56.2 hd408876_0
gmp 6.1.2 h6c8ec71_1
gst-plugins-base 1.14.0 hbbd80ab_1
gstreamer 1.14.0 hb453b48_1
hdf5 1.10.4 hb1b8bf9_0
heapdict 1.0.0 py36_2
html5lib 1.0.1 py36_0
icu 58.2 h9c2bf20_1
idna 2.8 py36_0
importlib_metadata 0.8 py36_0
intel-openmp 2019.3 199
ipykernel 5.1.0 py36h39e3cac_0
ipython 7.4.0 py36h39e3cac_0
ipython_genutils 0.2.0 py36_0
ipywidgets 7.4.2 py36_0
isoweek 1.3.3 pypi_0 pypi
jedi 0.13.3 py36_0
jinja2 2.10 py36_0
jpeg 9b h024ee3a_2
jsonschema 3.0.1 py36_0
jupyter 1.0.0 py36_7
jupyter_client 5.2.4 py36_0
jupyter_console 6.0.0 py36_0
jupyter_core 4.4.0 py36_0
kaggle-cli 0.12.13 pypi_0 pypi
kiwisolver 1.0.1 py36hf484d3e_0
libedit 3.1.20181209 hc058e9b_0
libffi 3.2.1 hd88cf55_4
libgcc-ng 8.2.0 hdf63c60_1
libgfortran-ng 7.3.0 hdf63c60_0
libiconv 1.15 h63c8f33_5
libpng 1.6.36 hbc83047_0
libsodium 1.0.16 h1bed415_0
libstdcxx-ng 8.2.0 hdf63c60_1
libtiff 4.0.10 h2733197_2
libuuid 1.0.3 h1bed415_2
libxcb 1.13 h1bed415_1
libxml2 2.9.9 he19cac6_0
locket 0.2.0 py36_1
lxml 4.0.0 pypi_0 pypi
lzo 2.10 h49e0be7_2
markupsafe 1.1.1 py36h7b6447c_0
matplotlib 3.0.3 pypi_0 pypi
mechanicalsoup 0.8.0 pypi_0 pypi
mistune 0.8.4 py36h7b6447c_0
mizani 0.5.4 pypi_0 pypi
mkl 2018.0.3 1
mkl_fft 1.0.6 py36h7dd41cf_0
mkl_random 1.0.1 py36h4414c95_1
msgpack-numpy 0.4.3.2 py36_0
msgpack-python 0.6.1 py36hfd86e86_1
murmurhash 1.0.2 py36he6710b0_0
nbconvert 5.4.1 py36_3
nbformat 4.4.0 py36_0
ncurses 6.1 he6710b0_1
notebook 5.7.8 py36_0
numexpr 2.6.8 py36hd89afb7_0
numpy 1.15.1 py36h3b04361_0
numpy-base 1.15.1 py36h81de0dd_0
olefile 0.46 py36_0
openssl 1.1.1b h7b6447c_1
packaging 19.0 py36_0
palettable 3.1.1 pypi_0 pypi
pandas 0.24.2 py36he6710b0_0
pandas-summary 0.0.5 pypi_0 pypi
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py36_1
parso 0.3.4 py36_0
partd 0.3.10 py36_1
path.py 11.5.0 py36_0
patsy 0.5.1 py36_0
pbr 5.1.3 pypi_0 pypi
pcre 8.43 he6710b0_0
pdpbox 0.1 pypi_0 pypi
pexpect 4.6.0 py36_0
pickleshare 0.7.5 py36_0
pillow 5.4.1 py36h34e0f95_0
pip 19.0.3 py36_0
plac 0.9.6 py36_0
plotnine 0.5.1 pypi_0 pypi
preshed 2.0.1 py36he6710b0_0
prettytable 0.7.2 pypi_0 pypi
progressbar2 3.34.3 pypi_0 pypi
prometheus_client 0.6.0 py36_0
prompt_toolkit 2.0.9 py36_0
psutil 5.6.1 py36h7b6447c_0
ptyprocess 0.6.0 py36_0
pyarrow 0.13.0 pypi_0 pypi
pycparser 2.19 py36_0
pygments 2.3.1 py36_0
pyhamcrest 1.9.0 pypi_0 pypi
pyopenssl 19.0.0 py36_0
pyparsing 2.3.1 py36_0
pyperclip 1.7.0 pypi_0 pypi
pyqt 5.9.2 py36h05f1152_2
pyrsistent 0.14.11 py36h7b6447c_0
pysocks 1.6.8 py36_0
pytables 3.5.1 py36h71ec239_0
python 3.6.8 h0371630_0
python-dateutil 2.8.0 py36_0
python-graphviz 0.10.1 pypi_0 pypi
python-utils 2.3.0 pypi_0 pypi
pytorch 0.3.1 py36_cuda9.0.176_cudnn7.0.5_2 [cuda90] pytorch
pytz 2018.9 py36_0
pyyaml 5.1 py36h7b6447c_0
pyzmq 18.0.0 py36he6710b0_0
qt 5.9.7 h5867ecd_1
qtconsole 4.4.3 py36_0
readline 7.0 h7b6447c_5
regex 2018.01.10 py36h14c3975_1000 fastai
requests 2.21.0 py36_0
scikit-learn 0.20.3 pypi_0 pypi
scikit-misc 0.1.1 pypi_0 pypi
scipy 1.1.0 py36hd20e5f9_0
seaborn 0.9.0 py36_0
send2trash 1.5.0 py36_0
setuptools 40.8.0 py36_0
simplegeneric 0.8.1 py36_2
sip 4.19.8 py36hf484d3e_0
six 1.12.0 py36_0
sklearn-pandas 1.8.0 pypi_0 pypi
snappy 1.1.7 hbae5bb6_3
sortedcontainers 2.1.0 py36_0
spacy 2.0.16 py36h962f231_0
sqlite 3.27.2 h7b6447c_0
statsmodels 0.9.0 py36h035aef0_0
stevedore 1.30.1 pypi_0 pypi
tblib 1.3.2 py36_0
terminado 0.8.1 py36_1
testfixtures 6.6.0 py_0
testpath 0.4.2 py36_0
thinc 6.12.1 py36h637b7d7_1000 fastai
tk 8.6.8 hbc83047_0
toolz 0.9.0 py36_0
torchtext 0.2.3 pypi_0 pypi
torchvision 0.1.9 pypi_0 pypi
tornado 4.5.3 py36_0
tqdm 4.31.1 py36_1
traitlets 4.3.2 py36_0
ujson 1.35 py36h14c3975_0
urllib3 1.24.1 py36_0
wcwidth 0.1.7 py36_0
webencodings 0.5.1 py36_1
wheel 0.33.1 py36_0
widgetsnbextension 3.4.2 py36_0
wrapt 1.10.11 py36h14c3975_2
xz 5.2.4 h14c3975_4
yaml 0.1.7 had09818_2
zeromq 4.3.1 he6710b0_3
zict 0.1.4 py36_0
zipp 0.3.3 py36_1
zlib 1.2.11 h7b6447c_3
zstd 1.3.7 h0b5b093_0
Could you please help me make the numpy 1.15.1 working for this environment?
*Please let me know if the provided information is sufficient.
EDIT: #merv:
after pip install numpy=1.15.1
(base) robin#xps:~$ conda activate fastai07
(fastai07) robin#xps:~$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__spec__
ModuleSpec(name='numpy', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7fb3a68cefd0>, origin='/home/robin/anaconda3/envs/fastai07/lib/python3.6/site-packages/numpy/__init__.py', submodule_search_locations=['/home/robin/anaconda3/envs/fastai07/lib/python3.6/site-packages/numpy'])
I'm happy that it works now. Thanks!

image not found with #rpath/libpoppler.71.dylib

Currently I've installed anaconda.
I'm trying to call in my script the osgeo.ogr module to open a shapefile but I have the following error:
ImportError:
dlopen(/Applications/anaconda3/lib/python3.6/site-packages/osgeo/_gdal.cpython-36m-darwin.so,
2): Library not loaded: #rpath/libpoppler.71.dylib Referenced from:
/Applications/anaconda3/lib/libgdal.20.dylib Reason: image not found
I installed gdal through conda.
This is the list of conda packages:
Name Version Build Channel
_ipyw_jlab_nb_ext_conf 0.1.0 py36h2fc01ae_0
_r-mutex 1.0.0 anacondar_1
alabaster 0.7.10 py36h174008c_0
anaconda-client 1.6.14 py36_0
anaconda-navigator 1.8.4 py36_0
anaconda-project 0.8.2 py36h9ee5d53_0
appnope 0.1.0 py36hf537a9a_0
appscript 1.0.1 py36h9e71e49_1
asn1crypto 0.24.0 py36_0
astroid 1.6.3 <pip>
astroid 1.6.1 py36_0
astropy 2.0.3 py36h1de35cc_0
attrs 17.4.0 py36_0
babel 2.5.3 py36_0
backports 1.0 py36ha3c1827_1
backports.shutil_get_terminal_size 1.0.0 py36hd7a2ee4_2
beautifulsoup4 4.6.0 py36h72d3c9f_1
bitarray 0.8.1 py36h1de35cc_1
bkcharts 0.2 py36h073222e_0
blaze 0.11.3 py36h02e7a37_0
bleach 2.1.3 <pip>
bleach 2.1.2 py36_0
bokeh 0.12.13 py36h2f9c1c0_0
boost 1.66.0 py36_1 conda-forge
boost-cpp 1.66.0 1 conda-forge
boto 2.48.0 py36hdbc59ac_1
bottleneck 1.2.1 py36hbd380ad_0
bzip2 1.0.6 hd86a083_4
ca-certificates 2018.03.07 0 anaconda
cairo 1.14.10 0 conda-forge
certifi 2018.4.16 <pip>
certifi 2018.4.16 py36_0 anaconda
cffi 1.11.4 py36h342bebf_0
chardet 3.0.4 py36h96c241c_1
click 6.7 py36hec950be_0
cloudpickle 0.5.2 py36_1
clyent 1.2.2 py36hae3ad88_0
colorama 0.3.9 py36hd29a30c_0
conda 4.4.10 py36_0
conda-build 3.4.1 py36_0
conda-env 2.6.0 h36134e3_0
conda-verify 2.0.0 py36he837df3_0
contextlib2 0.5.5 py36hd66e5e7_0
cryptography 2.1.4 py36h842514c_0
curl 7.58.0 ha441bb4_0
cycler 0.10.0 py36hfc81398_0
cyrus-sasl 2.1.26 ha054001_1
cython 0.27.3 py36h6ecb376_0
cytoolz 0.9.0 py36h1de35cc_0
dask 0.16.1 py36_0
dask-core 0.16.1 py36_0
datashape 0.5.4 py36hfb22df8_0
dbus 1.11.0 0 conda-forge
decorator 4.2.1 py36_0
decorator 4.3.0 <pip>
distributed 1.20.2 py36_0
Django 2.0.5 <pip>
docutils 0.14 py36hbfde631_0
entrypoints 0.2.3 py36hd81d71f_2
et_xmlfile 1.0.1 py36h1315bdc_0
expat 2.2.5 hb8e80ba_0
fastcache 1.0.2 py36h1de35cc_2
filelock 2.0.13 py36hf9de95b_0
flask 0.12.2 py36h5658096_0
flask-cors 3.0.3 py36h7387b97_0
font-ttf-dejavu-sans-mono 2.37 h6964260_0
font-ttf-inconsolata 2.001 hcb22688_0
font-ttf-source-code-pro 2.030 h7457263_0
font-ttf-ubuntu 0.83 h8b1ccd4_0
fontconfig 2.12.6 h9850fc5_0
fonts-anaconda 1 h8fa9717_0
freetype 2.8.1 0 conda-forge
freexl 1.0.5 h1de35cc_0
fribidi 1.0.2 h1de35cc_0
gdal 2.2.2 py36hd505dc6_1 anaconda
geojson 2.3.0 <pip>
geos 3.6.2 h5470d99_2
geotiff 1.4.2 1 conda-forge
get_terminal_size 1.0.0 h7520d66_0
gettext 0.19.8.1 h15daf44_3
gevent 1.2.2 py36ha70b9d6_0
giflib 5.1.4 h1035379_1
glib 2.55.0 0 conda-forge
glob2 0.6 py36h94c9186_0
gmp 6.1.2 hb37e062_1
gmpy2 2.0.8 py36hf9c35bd_2
graphite2 1.3.11 h337f25e_1
greenlet 0.4.12 py36hf09ba7b_0
gsl 2.4 h3efe00b_3
h5py 2.7.1 py36h39cdac5_0
harfbuzz 1.7.6 0 conda-forge
hdf4 4.2.13 h39711bb_2
hdf5 1.10.1 ha036c08_1
heapdict 1.0.0 py36_2
html5lib 1.0.1 py36h2f9c1c0_0
icu 58.2 h4b95b61_1
idna 2.6 py36h8628d0a_1
imageio 2.2.0 py36h5e01289_0
imagesize 0.7.1 py36h3495948_0
imagesize 1.0.0 <pip>
intel-openmp 2018.0.0 h8158457_8
ipykernel 4.8.0 py36_0
ipython 6.2.1 py36h3dda519_1
ipython_genutils 0.2.0 py36h241746c_0
ipywidgets 7.1.1 py36_0
isort 4.2.15 py36hceb2a01_0
isort 4.3.4 <pip>
itsdangerous 0.24 py36h49fbb8d_1
jbig 2.1 h4d881f8_0
jdcal 1.3 py36h1986823_0
jedi 0.12.0 <pip>
jedi 0.11.1 py36_0
jinja2 2.10 py36hd36f9c5_0
jpeg 9b he5867d9_2
json-c 0.12.1 h6b7fe83_2
jsonschema 2.6.0 py36hb385e00_0
jupyter 1.0.0 py36_4
jupyter_client 5.2.2 py36_0
jupyter_console 5.2.0 py36hccf5b1c_1
jupyter_core 4.4.0 py36h79cf704_0
jupyterlab 0.31.5 py36_0
jupyterlab_launcher 0.10.2 py36_0
kealib 1.4.7 hc1e10f3_5
krb5 1.14.2 h9a779f2_6
lazy-object-proxy 1.3.1 py36h2fbbe47_0
libboost 1.65.1 hcc95346_4
libcurl 7.58.0 hf30b1f0_0
libcxx 4.0.1 h579ed51_0
libcxxabi 4.0.1 hebd6815_0
libdap4 3.19.0 hefe82ba_2 anaconda
libedit 3.1 hb4e282d_0
libffi 3.2.1 h475c297_4
libgdal 2.2.2 h3559a57_1 anaconda
libgfortran 3.0.1 h93005f0_2
libiconv 1.15 hdd342a3_7
libkml 1.3.0 hc0cae1e_3
libnetcdf 4.4.1.1 hdf03fd4_8 anaconda
libntlm 1.4 h1de35cc_2
libpng 1.6.34 he12f830_0
libpq 10.3 hf30b1f0_0
libsodium 1.0.15 hd9e47c5_0
libspatialite 4.3.0a h0a2fa02_18
libssh2 1.8.0 h322a93b_4
libtiff 4.0.9 h0dac147_0
libuuid 1.0.3 h6bb4b03_2
libxml2 2.9.7 hab757c2_0
libxslt 1.1.32 hb819dd2_0
llvm-openmp 4.0.1 hda82c8b_0
llvmlite 0.21.0 py36hff739e7_0
locket 0.2.0 py36hca03003_1
lxml 4.1.1 py36hef8c89e_1
lzo 2.10 h362108e_2
markupsafe 1.0 py36h3a1e703_1
matplotlib 2.1.2 py36h6d6146d_0
mccabe 0.6.1 py36hdaeb55d_0
mistune 0.8.3 py36_0
mkl 2018.0.1 hfbd8650_4
mkl-service 1.1.2 py36h7ea6df4_4
mpc 1.0.3 h7a72875_5
mpfr 3.1.5 h711e7fd_2
mpmath 1.0.0 py36hf1b8295_2
msgpack-python 0.5.1 py36h04f5b5a_0
multipledispatch 0.4.9 py36hc5f92b5_0
navigator-updater 0.1.0 py36h7aee5fb_0
nbconvert 5.3.1 py36h810822e_0
nbformat 4.4.0 py36h827af21_0
ncurses 6.0 hd04f020_2
networkx 2.1 py36_0
nltk 3.2.5 py36h1190bce_0
nose 1.3.7 py36h73fae2b_2
notebook 5.4.0 py36_0
numba 0.36.2 np114py36hc2f221f_0
numexpr 2.6.4 py36habcfcfe_0
numpy 1.14.0 py36h8a80b8c_1
numpydoc 0.8.0 <pip>
numpydoc 0.7.0 py36he54d08e_0
odo 0.5.1 py36hc1af34a_0
olefile 0.45.1 py36_0
openjpeg 2.3.0 h9b27163_0
openpyxl 2.4.10 py36_0
openssl 1.0.2o h26aff7b_0 anaconda
packaging 17.1 <pip>
packaging 16.8 py36he5e8135_0
pandas 0.22.0 py36h0a44026_0
pandoc 1.19.2.1 ha5e8f32_1
pandocfilters 1.4.2 py36h3b0b094_1
pango 1.40.14 0 conda-forge
parso 0.2.0 <pip>
parso 0.1.1 py36hc90e01c_0
partd 0.3.8 py36hf5c4cb8_0
path.py 10.5 py36h7bcb313_0
pathlib2 2.3.0 py36h877a6d8_0
patsy 0.5.0 py36_0
pcre 8.41 hfb6ab37_1
pep8 1.7.1 py36_0
pexpect 4.3.1 py36_0
pickleshare 0.7.4 py36hf512f8e_0
pika 0.11.2 <pip>
pillow 5.0.0 py36hfcce615_0
pip 9.0.1 py36h1555ced_4
pip 10.0.1 <pip>
pixman 0.34.0 hca0a616_3
pkginfo 1.4.1 py36h25bf955_0
pluggy 0.6.0 py36hb1d0581_0
ply 3.10 py36h10e714e_0
poppler 0.61.1 3 conda-forge
poppler-data 0.4.8 hf2eda46_0
proj4 4.9.3 h3f1bf9d_7
prompt_toolkit 1.0.15 py36haeda067_0
psutil 5.4.5 <pip>
psutil 5.4.3 py36h1de35cc_0
ptyprocess 0.5.2 py36he6521c3_0
py 1.5.2 py36ha69170d_0
pycodestyle 2.3.1 py36h83e8646_0
pycodestyle 2.4.0 <pip>
pycosat 0.6.3 py36hee92d8f_0
pycparser 2.18 py36h724b2fc_1
pycrypto 2.6.1 py36h1de35cc_7
pycurl 7.43.0.1 py36hdbc3d79_0
pyflakes 1.6.0 py36hea45e83_0
pygments 2.2.0 py36h240cd3f_0
pylint 1.8.4 <pip>
pylint 1.8.2 py36_0
pyodbc 4.0.22 py36h0a44026_0
pyopenssl 17.5.0 py36h51e4350_0
pyparsing 2.2.0 py36hb281f35_0
pyqt 5.6.0 py36he5c6137_6
PyQt5 5.9.2 <pip>
pysocks 1.6.7 py36hfa33cec_1
pytables 3.4.2 py36hfbd7ab0_2
pytest 3.3.2 py36_0
python 3.6.4 hc167b69_1
python-dateutil 2.6.1 py36h86d2abb_1
python.app 2 py36h54569d5_7
pytz 2017.3 py36hf0bf824_0
pytz 2018.4 <pip>
pywavelets 0.5.2 py36h2710a04_0
pyyaml 3.12 py36h2ba1e63_1
pyzmq 17.0.0 <pip>
pyzmq 16.0.3 py36he48b5ad_0
qt 5.6.2 h9975529_14
qtawesome 0.4.4 py36h468c6fb_0
qtconsole 4.3.1 py36hd96c0ff_0
QtPy 1.4.0 <pip>
qtpy 1.3.1 py36h16bb863_0
r-assertthat 0.2.0 r342hacfac53_0
r-backports 1.1.1 r342h894203a_0
r-base 3.4.2 hc151561_0
r-base64enc 0.1_3 r342h0880998_4
r-bh 1.65.0_1 r342hc3f23d0_0
r-bindr 0.1 r342hb4d41c9_0
r-bindrcpp 0.2 r342h94b3c25_0
r-bit 1.1_12 r342hf8cc2cf_0
r-bit64 0.9_7 r342h1cba8d6_0
r-bitops 1.0_6 r342he7499e7_4
r-blob 1.1.0 r342h4b1ee69_0
r-boot 1.3_20 r342hfe7f006_0
r-broom 0.4.2 r342hfe0d134_0
r-caret 6.0_77 r342h513a81f_0
r-catools 1.17.1 r342hb039934_4
r-cellranger 1.1.0 r342h50a9fb7_0
r-class 7.3_14 r342h43a4a0f_4
r-cluster 2.0.6 r342h26ab8c6_0
r-codetools 0.2_15 r342h7db7eef_0
r-colorspace 1.3_2 r342h18bddb6_0
r-config 0.2 r342ha2bb319_0
r-crayon 1.3.4 r342hdefe7e4_0
r-curl 3.0 r342ha80850a_0
r-cvst 0.2_1 r342hce93a4b_0
r-data.table 1.10.4_1 r342he1ac18a_0
r-dbi 0.7 r342h6aefa47_0
r-dbplyr 1.1.0 r342h9881601_0
r-ddalpha 1.3.1 r342h4276367_0
r-deoptimr 1.0_8 r342h88b17ca_0
r-dichromat 2.0_0 r342hcb53b06_4
r-digest 0.6.12 r342h7ffa501_0
r-dimred 0.1.0 r342hcdfbb48_0
r-dplyr 0.7.4 r342hd462e57_0
r-drr 0.0.2 r342h1687f97_0
r-essentials 1.7.0 r342h8f48fb2_0
r-evaluate 0.10.1 r342h084298f_0
r-forcats 0.2.0 r342hfffa16c_0
r-foreach 1.4.3 r342he26c63b_4
r-foreign 0.8_69 r342hd19c61e_0
r-formatr 1.5 r342h8f6a739_0
r-ggplot2 2.2.1 r342hab9d682_0
r-gistr 0.4.0 r342h701b2b4_0
r-glmnet 2.0_13 r342h4f2bcf4_0
r-glue 1.1.1 r342hfa53b3f_0
r-gower 0.1.2 r342h52ab46c_0
r-gtable 0.2.0 r342h50414d9_0
r-haven 1.1.0 r342h706d249_0
r-hexbin 1.27.1 r342h5ebf162_4
r-highr 0.6 r342h042980c_0
r-hms 0.3 r342hdcc9ba2_0
r-htmltools 0.3.6 r342h6918481_0
r-htmlwidgets 0.9 r342h3fbdbc0_0
r-httpuv 1.3.5 r342hf739786_0
r-httr 1.3.1 r342h7338272_0
r-ipred 0.9_6 r342hca986ca_0
r-irdisplay 0.4.4 r342h7974c32_0
r-irkernel 0.8.9 r342hb51cc2a_0
r-iterators 1.0.8 r342h797f5cf_4
r-jsonlite 1.5 r342h0df1ae0_0
r-kernlab 0.9_25 r342h16d16b8_0
r-kernsmooth 2.23_15 r342hf8f9fa8_4
r-knitr 1.17 r342h398035c_0
r-labeling 0.3 r342h3f609a7_4
r-lattice 0.20_35 r342he33934a_0
r-lava 1.5.1 r342h38a1d13_0
r-lazyeval 0.2.0 r342hda2787d_0
r-lubridate 1.6.0 r342h21d6fc3_0
r-magrittr 1.5 r342hc800aed_4
r-maps 3.2.0 r342hfd4408e_0
r-markdown 0.8 r342hfbdeedd_0
r-mass 7.3_47 r342h998d679_0
r-matrix 1.2_11 r342hb831790_0
r-mgcv 1.8_22 r342hf92f93b_0
r-mime 0.5 r342h0f88ab8_0
r-miniui 0.1.1 r342hdb62d8b_0
r-mnormt 1.5_5 r342h42fb15d_0
r-modelmetrics 1.1.0 r342hab8440a_0
r-modelr 0.1.1 r342h8b7c8fd_0
r-mongolite 1.2 r342hfcc6d1d_0
r-munsell 0.4.3 r342h51b9f01_0
r-nlme 3.1_131 r342hbc0088b_0
r-nnet 7.3_12 r342hf39805f_0
r-numderiv 2016.8_1 r342ha7fd6f4_0
r-odbc 1.1.2 r342h198ff3f_0
r-openssl 0.9.7 r342hf1585dd_0
r-packrat 0.4.8_1 r342h0db0e49_0
r-pbdzmq 0.2_6 r342h9ee0924_0
r-pkgconfig 2.0.1 r342h037cecb_0
r-pki 0.1_5.1 r342hcf715fe_0
r-plogr 0.1_1 r342he1be899_0
r-plyr 1.8.4 r342h66d2667_0
r-prodlim 1.6.1 r342h1e7dc4e_0
r-profvis 0.3.3 r342hccd696e_0
r-pryr 0.1.2 r342ha062742_0
r-psych 1.7.8 r342he3dbd94_0
r-purrr 0.2.3 r342h7646bf1_0
r-quantmod 0.4_11 r342ha084b29_0
r-r6 2.2.2 r342hd083555_0
r-randomforest 4.6_12 r342h0f92a3f_4
r-rappdirs 0.3.1 r342hb97dc51_0
r-rbokeh 0.5.0 r342h999a230_0
r-rcolorbrewer 1.1_2 r342h009296c_0
r-rcpp 0.12.13 r342hd23d99a_0
r-rcpproll 0.2.2 r342h72fe326_0
r-rcurl 1.95_4.8 r342h15ade9d_0
r-readr 1.1.1 r342h26b7cb6_0
r-readxl 1.0.0 r342h7fee92c_0
r-recipes 0.1.0 r342h9fa1523_0
r-recommended 3.4.2 h1751db4_0
r-rematch 1.0.1 r342he4866fc_0
r-repr 0.12.0 r342hbf08d7a_0
r-reshape2 1.4.2 r342h4e0c23c_0
r-rjava 0.9_9 r342h988b9d2_0
r-rjdbc 0.2_5 r342hbfbe204_0
r-rjsonio 1.3_0 r342h3e65b66_4
r-rlang 0.1.2 r342h6f7de11_0
r-rmarkdown 1.6 r342hccf1f8e_2
r-robustbase 0.92_7 r342h0705e89_0
r-rpart 4.1_11 r342h056d3ea_0
r-rprojroot 1.2 r342h961df13_0
r-rsconnect 0.8.5 r342hdc95913_0
r-rstudioapi 0.7 r342hf20c2a2_0
r-rvest 0.3.2 r342h498b3d2_0
r-scales 0.5.0 r342h4ec2787_0
r-selectr 0.3_1 r342h1005dde_0
r-sfsmisc 1.1_1 r342hd831c0a_0
r-shiny 1.0.5 r342hb27b129_0
r-sourcetools 0.1.6 r342h35ff172_0
r-sparklyr 0.6.3 r342h4912c76_0
r-spatial 7.3_11 r342h4b9b681_4
r-stringi 1.1.5 r342ha83ea67_0
r-stringr 1.2.0 r342h61359ef_0
r-survival 2.41_3 r342h7e0d132_0
r-tibble 1.3.4 r342h9aabc0a_0
r-tidyr 0.7.1 r342h953b3d9_0
r-tidyselect 0.2.2 r342h4fcf255_0
r-tidyverse 1.1.1 r342hf375f76_0
r-timedate 3012.100 r342h8f8ad6e_4
r-ttr 0.23_2 r342h9ffbca2_0
r-uuid 0.1_2 r342h22fb745_4
r-viridislite 0.2.0 r342h93fb38b_0
r-withr 2.0.0 r342hd7b5462_0
r-xml2 1.1.1 r342h289a617_0
r-xtable 1.8_2 r342hb9d8108_0
r-xts 0.10_0 r342h37a3a43_4
r-yaml 2.1.14 r342he3890bd_0
r-zoo 1.8_0 r342hf4683db_0
readline 7.0 hc1231fa_4
requests 2.18.4 py36h4516966_1
rope 0.10.7 py36h68959ac_0
rstudio 1.1.383 h4814094_2
ruamel_yaml 0.15.35 py36h1de35cc_1
scikit-image 0.13.1 py36h1de35cc_1
scikit-learn 0.19.1 py36hffbff8c_0
scipy 1.0.0 py36h1de22e9_0
seaborn 0.8.1 py36h595ecd9_0
send2trash 1.4.2 py36_0
setuptools 39.0.1 <pip>
setuptools 38.4.0 py36_0
simplegeneric 0.8.1 py36_2
singledispatch 3.4.0.3 py36hf20db9d_0
sip 4.19.8 <pip>
sip 4.18.1 py36h2824476_2
six 1.11.0 py36h0e22d5e_1
snowballstemmer 1.2.1 py36h6c7b616_0
sortedcollections 0.5.3 py36he9c3ed6_0
sortedcontainers 1.5.9 py36_0
sphinx 1.6.6 py36_0
Sphinx 1.7.4 <pip>
sphinxcontrib 1.0 py36h9364dc8_1
sphinxcontrib-websupport 1.0.1 py36h92f4a7a_1
spyder 3.2.8 py36_0
spyder 3.2.8 <pip>
sqlalchemy 1.2.1 py36h1de35cc_0
sqlite 3.20.1 0 conda-forge
statsmodels 0.8.0 py36h9c68fc9_0
sympy 1.1.1 py36h7f3cf04_0
tblib 1.3.2 py36hda67792_0
terminado 0.8.1 py36_1
testpath 0.3.1 py36h625a49b_0
tk 8.6.7 h35a86e2_3
toolz 0.9.0 py36_0
tornado 4.5.3 py36_0
traitlets 4.3.2 py36h65bd3ce_0
typing 3.6.2 py36haa2d9ef_0
unicodecsv 0.14.1 py36he531d66_0
unixodbc 2.3.4 h4cb4dde_1
urllib3 1.22 py36h68b9469_0
wcwidth 0.1.7 py36h8c6ec74_0
webencodings 0.5.1 py36h3b9701d_1
werkzeug 0.14.1 py36_0
wheel 0.30.0 py36h5eb2c71_1
widgetsnbextension 3.1.0 py36_0
wrapt 1.10.11 py36hc29e774_0
xerces-c 3.2.0 0 conda-forge
xlrd 1.1.0 py36h336f4a2_1
xlsxwriter 1.0.2 py36h3736301_0
xlwings 0.11.5 py36_0
xlwt 1.2.0 py36h5ad1178_0
xz 5.2.3 h0278029_2
yaml 0.1.7 hc338f04_2
zeromq 4.2.2 ha360ad0_2
zict 0.1.3 py36h71da714_0
zlib 1.2.11 hf3cbc9b
Somebody could help me please?
I had similar issue on Mac OS High Sierra. After trying other solutions installing and upgrading packages I try back to stable version (and times when my code works :)) here is solution:
In terminal
1) go into your conda environment. Do it by activate conda environment:
source activate [your_environment_name]
2) Install gdal with defined libgdal:
conda install -c conda-forge gdal "libgdal<2.0"
For information: This solution I spot on comment done by dannguyen commented on May 22, 2016.

Resources