Pandas Datareader - Module not found after installation - python-3.x

I am trying to install & use Pandas-Datareader, but when after I have installed it, I receive a ModuleNotFoundError when I try and import it.
I am using Jupyter Notebook installed using Anaconda - so use the conda installer to install new packages.
After typing source activate ipykernel_py3 to activate the Python3 kernel environment, I have used conda install -c anaconda pandas-datareader=0.4.0 to install Pandas-Datareader.
If I try conda list, then I get the output below - which shows Pandas_Datareader installed.
But if I try the command ```import pandas_datareader as pdr`` (as found in documentation here), then I get an error message
ModuleNotFoundError: No module named 'pandas_datareader'
(This happens in both the Jupyter notebook and in the Python3 interpreter running in this environment.
Can anybody help?
Many thanks
** Conda List output:**
# packages in environment at /Users/Chris/anaconda3/envs/ipykernel_py3:
#
appnope 0.1.0 py36_0
beautifulsoup4 4.5.3 py36_0
cycler 0.10.0 py36_0
decorator 4.0.11 py36_0
freetype 2.5.5 2
icu 54.1 0
ipykernel 4.6.1 py36_0
ipython 6.0.0 py36_0
ipython_genutils 0.2.0 py36_0
jupyter_client 5.0.1 py36_0
jupyter_core 4.3.0 py36_0
libpng 1.6.27 0
matplotlib 2.0.2 np112py36_0
mkl 2017.0.1 0
numpy 1.12.1 py36_0
openssl 1.0.2k 1
pandas 0.20.1 np112py36_0
pandas-datareader 0.4.0 py36_0 anaconda
path.py 10.3.1 py36_0
pexpect 4.2.1 py36_0
pickleshare 0.7.4 py36_0
pip 9.0.1 py36_1
prompt_toolkit 1.0.14 py36_0
ptyprocess 0.5.1 py36_0
pygments 2.2.0 py36_0
pyparsing 2.1.4 py36_0
pyqt 5.6.0 py36_2
python 3.6.1 0
python-dateutil 2.6.0 py36_0
pytz 2017.2 py36_0
pyzmq 16.0.2 py36_0
qt 5.6.2 2
readline 6.2 2
requests 2.14.2 py36_0 anaconda
requests-file 1.4.1 py36_0 anaconda
requests-ftp 0.3.1 py36_0 anaconda
scipy 0.19.0 np112py36_0
seaborn 0.7.1 py36_0
setuptools 27.2.0 py36_0
simplegeneric 0.8.1 py36_1
sip 4.18 py36_0
six 1.10.0 py36_0
sqlite 3.13.0 0
tk 8.5.18 0
tornado 4.5.1 py36_0
traitlets 4.3.2 py36_0
wcwidth 0.1.7 py36_0
wheel 0.29.0 py36_0
xz 5.2.2 1
zlib 1.2.8 3

Are you running the notebook in the ipykernel_py3 environment?
source activate ipykernel_py3
ipython notebook

Just type
pip install pandas_datareader in your anaconda prompt
and try running it again in jupyter.

Related

What are the strictly required (bare minimum) libraries/packages to run machine learning with GPU in python3

In a 'new computer' with Ubuntu 20.04 (using docker and pulling ubuntu:20.04), if I install miniconda3 and just run:
conda install -c anaconda tensorflow-gpu
Everything is good to go to use GPU for machine learning, because I can run:
import tensorflow as tf
print('Num GPUs Available: ', len(tf.config.list_physical_devices('GPU')))
Num GPUs Available: 1
This is okay.
But the 'problem' is that anaconda installs a lot of packages when I run conda install -c anaconda tensorflow-gpu
Before run the command conda install -c anaconda tensorflow-gpu, if I run conda list I get:
# Name
Version
Build
Channel
_libgcc_mutex
0.1
main
_openmp_mutex
4.5
1_gnu
brotlipy
0.7.0
py39h27cfd23_1003
ca-certificates
2022.3.29
h06a4308_1
certifi
2021.10.8
py39h06a4308_2
cffi
1.15.0
py39hd667e15_1
charset-normalizer
2.0.4
pyhd3eb1b0_0
colorama
0.4.4
pyhd3eb1b0_0
conda
4.12.0
py39h06a4308_0
conda-content-trust
0.1.1
pyhd3eb1b0_0
conda-package-handling
1.8.1
py39h7f8727e_0
cryptography
36.0.0
py39h9ce1e76_0
idna
3.3
pyhd3eb1b0_0
ld_impl_linux-64
2.35.1
h7274673_9
libffi
3.3
he6710b0_2
libgcc-ng
9.3.0
h5101ec6_17
libgomp
9.3.0
h5101ec6_17
libstdcxx-ng
9.3.0
hd4cf53a_17
ncurses
6.3
h7f8727e_2
openssl
1.1.1n
h7f8727e_0
pip
21.2.4
py39h06a4308_0
pycosat
0.6.3
py39h27cfd23_0
pycparser
2.21
pyhd3eb1b0_0
pyopenssl
22.0.0
pyhd3eb1b0_0
pysocks
1.7.1
py39h06a4308_0
python
3.9.12
h12debd9_0
readline
8.1.2
h7f8727e_1
requests
2.27.1
pyhd3eb1b0_0
ruamel_yaml
0.15.100
py39h27cfd23_0
setuptools
61.2.0
py39h06a4308_0
six
1.16.0
pyhd3eb1b0_1
sqlite
3.38.2
hc218d9a_0
tk
8.6.11
h1ccaba5_0
tqdm
4.63.0
pyhd3eb1b0_0
tzdata
2022a
hda174b7_0
urllib3
1.26.8
pyhd3eb1b0_0
wheel
0.37.1
pyhd3eb1b0_0
xz
5.2.5
h7b6447c_0
yaml
0.2.5
h7b6447c_0
zlib
1.2.12
h7f8727e_1
After run the command conda install -c anaconda tensorflow-gpu, if I run conda list I get:
# Name
Version
Build
Channel
_libgcc_mutex
0.1
main
_openmp_mutex
4.5
1_gnu
_tflow_select
2.1.0
gpu
anaconda
absl-py
0.15.0
pyhd3eb1b0_0
anaconda
aiohttp
3.8.1
py39h7f8727e_1
anaconda
aiosignal
1.2.0
pyhd3eb1b0_0
anaconda
astor
0.8.1
py39h06a4308_0
anaconda
astunparse
1.6.3
py_0
anaconda
async-timeout
4.0.1
pyhd3eb1b0_0
anaconda
attrs
21.4.0
pyhd3eb1b0_0
anaconda
blas
1.0
mkl
anaconda
blinker
1.4
py39h06a4308_0
anaconda
brotlipy
0.7.0
py39h27cfd23_1003
c-ares
1.18.1
h7f8727e_0
anaconda
ca-certificates
2022.07.19
h06a4308_0
anaconda
cachetools
4.2.2
pyhd3eb1b0_0
anaconda
certifi
2022.6.15
py39h06a4308_0
anaconda
cffi
1.15.0
py39hd667e15_1
charset-normalizer
2.0.4
pyhd3eb1b0_0
click
8.0.4
py39h06a4308_0
anaconda
colorama
0.4.4
pyhd3eb1b0_0
conda
4.13.0
py39h06a4308_0
anaconda
conda-content-trust
0.1.1
pyhd3eb1b0_0
conda-package-handling
1.8.1
py39h7f8727e_0
cryptography
36.0.0
py39h9ce1e76_0
cudatoolkit
10.1.243
h6bb024c_0
anaconda
cudnn
7.6.5
cuda10.1_0
anaconda
cupti
10.1.168 0
anaconda
dataclasses
0.8
pyh6d0b6a4_7
anaconda
frozenlist
1.2.0
py39h7f8727e_0
anaconda
gast
0.4.0
pyhd3eb1b0_0
anaconda
google-auth
2.6.0
pyhd3eb1b0_0
anaconda
google-auth-oauthlib
0.4.4
pyhd3eb1b0_0
anaconda
google-pasta
0.2.0
pyhd3eb1b0_0
anaconda
grpcio
1.42.0
py39hce63b2e_0
anaconda
h5py
2.10.0
py39hec9cf62_0
anaconda
hdf5
1.10.6
hb1b8bf9_0
anaconda
idna
3.3
pyhd3eb1b0_0
importlib-metadata
4.11.3
py39h06a4308_0
anaconda
intel-openmp
2021.4.0
h06a4308_3561
anaconda
keras-preprocessing
1.1.2
pyhd3eb1b0_0
anaconda
ld_impl_linux-64
2.35.1
h7274673_9
libffi
3.3
he6710b0_2
libgcc-ng
9.3.0
h5101ec6_17
libgfortran-ng
7.5.0
ha8ba4b0_17
anaconda
libgfortran4
7.5.0
ha8ba4b0_17
anaconda
libgomp
9.3.0
h5101ec6_17
libprotobuf
3.20.1
h4ff587b_0
anaconda
libstdcxx-ng
9.3.0
hd4cf53a_17
markdown
3.3.4
py39h06a4308_0
anaconda
mkl
2021.4.0
h06a4308_640
anaconda
mkl-service
2.4.0
py39h7f8727e_0
anaconda
mkl_fft
1.3.1
py39hd3c417c_0
anaconda
mkl_random
1.2.2
py39h51133e4_0
anaconda
multidict
5.2.0
py39h7f8727e_2
anaconda
ncurses
6.3
h7f8727e_2
numpy
1.22.3
py39he7a7128_0
anaconda
numpy-base
1.22.3
py39hf524024_0
anaconda
oauthlib
3.1.0
py_0
anaconda
openssl
1.1.1q
h7f8727e_0
anaconda
opt_einsum
3.3.0
pyhd3eb1b0_1
anaconda
pip
21.2.4
py39h06a4308_0
protobuf
3.20.1
py39h295c915_0
anaconda
pyasn1
0.4.8
pyhd3eb1b0_0
anaconda
pyasn1-modules
0.2.8
py_0
anaconda
pycosat
0.6.3
py39h27cfd23_0
pycparser
2.21
pyhd3eb1b0_0
pyjwt
2.4.0
py39h06a4308_0
anaconda
pyopenssl
22.0.0
pyhd3eb1b0_0
pysocks
1.7.1
py39h06a4308_0
python
3.9.12
h12debd9_0
python-flatbuffers
2.0
pyhd3eb1b0_0
anaconda
readline
8.1.2
h7f8727e_1
requests
2.27.1
pyhd3eb1b0_0
requests-oauthlib
1.3.0
py_0
anaconda
rsa
4.7.2
pyhd3eb1b0_1
anaconda
ruamel_yaml
0.15.100
py39h27cfd23_0
scipy
1.7.3
py39hc147768_0
anaconda
setuptools
61.2.0
py39h06a4308_0
six
1.16.0
pyhd3eb1b0_1
sqlite
3.38.2
hc218d9a_0
tensorboard
2.8.0
py39h06a4308_0
anaconda
tensorboard-data-server
0.6.0
py39hca6d32c_0
anaconda
tensorboard-plugin-wit
1.8.1
py39h06a4308_0
anaconda
tensorflow
2.4.1
gpu_py39h8236f22_0
anaconda
tensorflow-base
2.4.1
gpu_py39h29c2da4_0
anaconda
tensorflow-estimator
2.6.0
pyh7b7c402_0
anaconda
tensorflow-gpu
2.4.1
h30adc30_0
anaconda
termcolor
1.1.0
py39h06a4308_1
anaconda
tk
8.6.11
h1ccaba5_0
tqdm
4.63.0
pyhd3eb1b0_0
typing-extensions
4.3.0
py39h06a4308_0
anaconda
typing_extensions
4.3.0
py39h06a4308_0
anaconda
tzdata
2022a
hda174b7_0
urllib3
1.26.8
pyhd3eb1b0_0
werkzeug
2.0.3
pyhd3eb1b0_0
anaconda
wheel
0.37.1
pyhd3eb1b0_0
wrapt
1.13.3
py39h7f8727e_2
anaconda
xz
5.2.5
h7b6447c_0
yaml
0.2.5
h7b6447c_0
yarl
1.6.3
py39h27cfd23_0
anaconda
zipp
3.8.0
py39h06a4308_0
anaconda
zlib
1.2.12
h7f8727e_1
I know that the following packages are needed:
cudnn
tensorflow-gpu
, so is anything else needed to run the commands?:
import tensorflow as tf
print('Num GPUs Available: ', len(tf.config.list_physical_devices('GPU')))
Num GPUs Available: 1
,or are all packages installed with conda install -c anaconda tensorflow-gpu necessary?
As the title says, I would like to know which are the strictly required (bare minimum)
libraries/packages to run this
Thanks in advance
Yes, it needs a lot more.
Typically, a large and complicated package like tensorflow has a whole tree of dependencies.
If I take your list of packages after the install and remove the packages before the install, the following results:
'_tflow_select', 'absl-py', 'aiohttp', 'aiosignal', 'astor',
'astunparse', 'async-timeout', 'attrs', 'blas', 'blinker',
'c-ares', 'cachetools', 'click', 'cudatoolkit', 'cudnn',
'cupti', 'dataclasses', 'frozenlist', 'gast', 'google-auth',
'google-auth-oauthlib', 'google-pasta', 'grpcio', 'h5py',
'hdf5', 'importlib-metadata', 'intel-openmp',
'keras-preprocessing', 'libgfortran-ng', 'libgfortran4',
'libprotobuf', 'markdown', 'mkl', 'mkl-service', 'mkl_fft',
'mkl_random', 'multidict', 'numpy', 'numpy-base', 'oauthlib',
'opt_einsum', 'protobuf', 'pyasn1', 'pyasn1-modules', 'pyjwt',
'python-flatbuffers', 'requests-oauthlib', 'rsa', 'scipy',
'tensorboard', 'tensorboard-data-server',
'tensorboard-plugin-wit', 'tensorflow', 'tensorflow-base',
'tensorflow-estimator', 'tensorflow-gpu', 'termcolor',
'typing-extensions', 'typing_extensions', 'werkzeug',
'wrapt', 'yarl', 'zipp'
Tensorflow depends both on a number of Python and C/C++ libraries. Each of those may have dependencies of their own. For example, tensorflow requires keras which requires hdf5. And tensorflow requires numpy which requires a BLAS library (in this case mkl) which requires the Fortran runtime.
Now, it may be that some of those dependencies are optional.
But at first glance I don't see any of those.
Trying to pare down the dependencies is a significant task; you would basically have to build the whole dependency tree from source, for every dependency checking which of its dependencies are optional and if you want to do without them.
Personally, I would not bother in this case.

tensorflow 2 not finding gpu device

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

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.

Orange3 in Anaconda does not launch

When I try to launch Orange3 version 3.15 from Anaconda 1.8.7, it will not lauch due to the following error:
Traceback (most recent call last):
File "C:\Users\Jason\Anaconda3\Scripts\orange-canvas-script.py", line 6, in
from Orange.canvas.__main__ import main
File "C:\Users\Jason\Anaconda3\lib\site-packages\Orange\canvas\__main__.py", line 30, in
from Orange.canvas.application.canvasmain import CanvasMainWindow
File "C:\Users\Jason\Anaconda3\lib\site-packages\Orange\canvas\application\canvasmain.py", line 61, in
from .canvastooldock import CanvasToolDock, QuickCategoryToolbar, \
File "C:\Users\Jason\Anaconda3\lib\site-packages\Orange\canvas\application\canvastooldock.py", line 25, in
from ..document.quickmenu import MenuPage
File "C:\Users\Jason\Anaconda3\lib\site-packages\Orange\canvas\document\__init__.py", line 17, in
from .schemeedit import SchemeEditWidget
File "C:\Users\Jason\Anaconda3\lib\site-packages\Orange\canvas\document\schemeedit.py", line 37, in
from .suggestions import Suggestions
File "C:\Users\Jason\Anaconda3\lib\site-packages\Orange\canvas\document\suggestions.py", line 7, in
from .interactions import NewLinkAction
File "C:\Users\Jason\Anaconda3\lib\site-packages\Orange\canvas\document\interactions.py", line 28, in
from ..canvas import items
File "C:\Users\Jason\Anaconda3\lib\site-packages\Orange\canvas\canvas\items\__init__.py", line 9, in
from .annotationitem import TextAnnotation, ArrowAnnotation
File "C:\Users\Jason\Anaconda3\lib\site-packages\Orange\canvas\canvas\items\annotationitem.py", line 7, in
import CommonMark
ModuleNotFoundError: No module named 'CommonMark'
When I try > conda install CommonMark, conda says that it is already installed. I have the following list of packages:
_ipyw_jlab_nb_ext_conf 0.1.0 py36he6757f0_0
_nb_ext_conf 0.4.0 py36_1
alabaster 0.7.10 py36hcd07829_0
anaconda-client 1.6.14 py36_0
anaconda-navigator 1.8.7 py36_0
anaconda-project 0.8.2 py36hfad2e28_0
anyqt 0.0.8 py36_1
asn1crypto 0.24.0 py36_0
astroid 1.6.3 py36_0
astropy 3.0.2 py36h452e1ab_1
attrs 18.1.0 py36_0
babel 2.5.3 py36_0
backcall 0.1.0 py36_0
backports 1.0 py36h81696a8_1
backports.shutil_get_terminal_size 1.0.0 py36h79ab834_2
beautifulsoup4 4.6.0 py36hd4cc5e8_1
bitarray 0.8.1 py36hfa6e2cd_1
bkcharts 0.2 py36h7e685f7_0
blas 1.0 mkl
blaze 0.11.3 py36h8a29ca5_0
bleach 2.1.3 py36_0
blosc 1.14.3 he51fdeb_0
bokeh 0.12.16 py36_0
boto 2.48.0 py36h1a776d2_1
bottleneck 1.2.1 py36hd119dfa_0
bzip2 1.0.6 hfa6e2cd_5
ca-certificates 2018.03.07 0
certifi 2018.8.24 py36_1
cffi 1.11.5 py36h945400d_0
chardet 3.0.4 py36h420ce6e_1
click 6.7 py36hec8c647_0
click-plugins 1.0.3 py36_1
cligj 0.4.0 py36_1
cloudpickle 0.5.3 py36_0
clyent 1.2.2 py36hb10d595_1
colorama 0.3.9 py36h029ae33_0
commonmark 0.8.1 py36_0
comtypes 1.1.4 py36_0
conda 4.5.11 py36_0
conda-build 3.10.5 py36_0
conda-env 2.6.0 h36134e3_1
conda-verify 2.0.0 py36h065de53_0
console_shortcut 0.1.1 h6bb2dd7_3
contextlib2 0.5.5 py36he5d52c0_0
cryptography 2.2.2 py36hfa6e2cd_0
curl 7.60.0 h7602738_0
cycler 0.10.0 py36h009560c_0
cython 0.28.2 py36hfa6e2cd_0
cytoolz 0.9.0.1 py36hfa6e2cd_0
dask 0.17.5 py36_0
dask-core 0.17.5 py36_0
datashape 0.5.4 py36h5770b85_0
decorator 4.3.0 py36_0
descartes 1.1.0 py36_0
dill 0.2.8.2 py36_0
distributed 1.21.8 py36_0
docutils 0.14 py36h6012d8f_0
entrypoints 0.2.3 py36hfd66bb0_2
et_xmlfile 1.0.1 py36h3d2d736_0
expat 2.2.5 he025d50_0
fast-histogram 0.5 py36h452e1ab_1
fastcache 1.0.2 py36hfa6e2cd_2
filelock 3.0.4 py36_0
fiona 1.7.10 py36h5bf8d1d_0
flask 1.0.2 py36_1
flask-cors 3.0.4 py36_0
freetype 2.8 h51f8f2c_1
freexl 1.0.5 hfa6e2cd_0
future 0.16.0 py36_2
gdal 2.2.2 py36hcebd033_1
geopandas 0.3.0 py36_0
geos 3.6.2 h9ef7328_2
get_terminal_size 1.0.0 h38e98db_0
gevent 1.3.0 py36hfa6e2cd_0
glob2 0.6 py36hdf76b57_0
glue-core 0.13.3 py36_0
glue-vispy-viewers 0.10 py36_0
glueviz 0.13.3 0
greenlet 0.4.13 py36hfa6e2cd_0
h5py 2.8.0 py36hf7173ca_0
hdf4 4.2.13 h712560f_2
hdf5 1.8.18 hcf527f2_1
heapdict 1.0.0 py36_2
html5lib 1.0.1 py36h047fa9f_0
icc_rt 2017.0.4 h97af966_0
icu 58.2 ha66f8fd_1
idna 2.6 py36h148d497_1
imageio 2.3.0 py36_0
imagesize 1.0.0 py36_0
intel-openmp 2018.0.0 8
ipykernel 4.8.2 py36_0
ipython 6.4.0 py36_0
ipython_genutils 0.2.0 py36h3c5d0ee_0
ipywidgets 7.2.1 py36_0
isort 4.3.4 py36_0
itsdangerous 0.24 py36hb6c5a24_1
jdcal 1.4 py36_0
jedi 0.12.0 py36_1
jinja2 2.10 py36h292fed1_0
joblib 0.12.3 py36_0
jpeg 9b hb83a4c4_2
jsonschema 2.6.0 py36h7636477_0
jupyter 1.0.0 py36_4
jupyter_client 5.2.3 py36_0
jupyter_console 5.2.0 py36h6d89b47_1
jupyter_core 4.4.0 py36h56e9d50_0
jupyterlab 0.32.1 py36_0
jupyterlab_launcher 0.10.5 py36_0
kealib 1.4.7 h1834499_5
keyring 13.2.1 py36_0
keyrings.alt 3.1 py36_0
kiwisolver 1.0.1 py36h12c3424_0
krb5 1.16.1 h038dc86_6
lazy-object-proxy 1.3.1 py36hd1c21d2_0
libboost 1.67.0 hd9e427e_4
libcurl 7.60.0 hc4dcbb0_0
libgdal 2.2.2 h309aa3f_1
libiconv 1.15 h1df5818_7
libkml 1.3.0 he5f2a48_4
libnetcdf 4.4.1.1 hf30bd8e_8
libpng 1.6.34 h79bbb47_0
libpq 10.5 h5fe2233_0
libsodium 1.0.16 h9d3ae62_0
libspatialindex 1.8.5 h6538335_2
libspatialite 4.3.0a h383548d_18
libssh2 1.8.0 hd619d38_4
libtiff 4.0.9 hb8ad9f9_1
libxml2 2.9.8 hadb2253_1
libxslt 1.1.32 hf6f1972_0
llvmlite 0.23.1 py36hcacf6c6_0
locket 0.2.0 py36hfed976d_1
lxml 4.2.1 py36heafd4d3_0
lzo 2.10 h6df0209_2
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markupsafe 1.0 py36h0e26971_1
matplotlib 2.2.2 py36h153e9ff_1
mccabe 0.6.1 py36hb41005a_1
menuinst 1.4.14 py36hfa6e2cd_0
mistune 0.8.3 py36hfa6e2cd_1
mkl 2018.0.2 1
mkl-service 1.1.2 py36h57e144c_4
mkl_fft 1.0.1 py36h452e1ab_0
mkl_random 1.0.1 py36h9258bd6_0
more-itertools 4.1.0 py36_0
mpl-scatter-density 0.4 py36_0
mpmath 1.0.0 py36hacc8adf_2
msgpack-python 0.5.6 py36he980bc4_0
msys2-conda-epoch 20160418 1
multipledispatch 0.5.0 py36_0
munch 2.3.2 py36_0
navigator-updater 0.2.1 py36_0
nb_anacondacloud 1.4.0 py36_0
nb_conda 2.2.1 py36_0
nb_conda_kernels 2.1.0 py36_0
nbconvert 5.3.1 py36h8dc0fde_0
nbformat 4.4.0 py36h3a5bc1b_0
nbpresent 3.0.2 py36_0
networkx 2.1 py36_0
nltk 3.3.0 py36_0
nose 1.3.7 py36h1c3779e_2
notebook 5.5.0 py36_0
numba 0.38.0 py36h830ac7b_0
numexpr 2.6.5 py36hcd2f87e_0
numpy 1.14.3 py36h9fa60d3_1
numpy-base 1.14.3 py36h555522e_1
numpydoc 0.8.0 py36_0
odo 0.5.1 py36h7560279_0
olefile 0.45.1 py36_0
openjpeg 2.3.0 h5ec785f_1
openpyxl 2.5.3 py36_0
openssl 1.0.2p hfa6e2cd_0
orange3 3.15.0 py36h830ac7b_0
packaging 17.1 py36_0
pandas 0.23.0 py36h830ac7b_0
pandoc 1.19.2.1 hb2460c7_1
pandocfilters 1.4.2 py36h3ef6317_1
parso 0.2.0 py36_0
partd 0.3.8 py36hc8e763b_0
path.py 11.0.1 py36_0
pathlib2 2.3.2 py36_0
patsy 0.5.0 py36_0
pep8 1.7.1 py36_0
pickleshare 0.7.4 py36h9de030f_0
pillow 5.1.0 py36h0738816_0
pip 10.0.1 py36_0
pkginfo 1.4.2 py36_1
plotly 3.1.1 py36h28b3542_0
pluggy 0.6.0 py36hc7daf1e_0
ply 3.11 py36_0
proj4 4.9.3 hcf24537_7
prompt_toolkit 1.0.15 py36h60b8f86_0
psutil 5.4.5 py36hfa6e2cd_0
psycopg2 2.7.5 py36h74b6da3_0
py 1.5.3 py36_0
pycodestyle 2.4.0 py36_0
pycosat 0.6.3 py36h413d8a4_0
pycparser 2.18 py36hd053e01_1
pycrypto 2.6.1 py36hfa6e2cd_8
pycurl 7.43.0.1 py36h74b6da3_0
pyflakes 1.6.0 py36h0b975d6_0
pygments 2.2.0 py36hb010967_0
pylint 1.8.4 py36_0
pyodbc 4.0.23 py36h6538335_0
pyopengl 3.1.1a1 py36_0
pyopenssl 18.0.0 py36_0
pyparsing 2.2.0 py36h785a196_1
pyproj 1.9.5.1 py36_0
pyqt 5.9.2 py36ha878b3d_0
pyqtgraph 0.10.0 py36h28b3542_3
pyreadline 2.1 py36_1
pysal 1.14.4.post1 py36_1
pysocks 1.6.8 py36_0
pytables 3.4.4 py36h0f9c03a_0
pytest 3.5.1 py36_0
pytest-arraydiff 0.2 py36_0
pytest-astropy 0.3.0 py36_0
pytest-doctestplus 0.1.3 py36_0
pytest-openfiles 0.3.0 py36_0
pytest-remotedata 0.2.1 py36_0
python 3.6.5 h0c2934d_0
python-dateutil 2.7.3 py36_0
python-louvain 0.11 py36h28b3542_0
pytz 2018.4 py36_0
pywavelets 0.5.2 py36hc649158_0
pywin32 223 py36hfa6e2cd_1
pywinpty 0.5.1 py36_0
pyyaml 3.12 py36h1d1928f_1
pyzmq 17.0.0 py36hfa6e2cd_1
qt 5.9.6 vc14h62aca36_0
qtawesome 0.4.4 py36h5aa48f6_0
qtconsole 4.3.1 py36h99a29a9_0
qtpy 1.4.1 py36_0
requests 2.18.4 py36h4371aae_1
retrying 1.3.3 py36_2
rope 0.10.7 py36had63a69_0
rtree 0.8.3 py36_0
ruamel_yaml 0.15.35 py36hfa6e2cd_1
scikit-image 0.13.1 py36hfa6e2cd_1
scikit-learn 0.19.1 py36h53aea1b_0
scipy 1.1.0 py36h672f292_0
seaborn 0.8.1 py36h9b69545_0
send2trash 1.5.0 py36_0
serverfiles 0.2.1 py36_0
setuptools 39.1.0 py36_0
shapely 1.6.4 py36hc90234e_0
simplegeneric 0.8.1 py36_2
singledispatch 3.4.0.3 py36h17d0c80_0
sip 4.19.8 py36h6538335_0
six 1.11.0 py36h4db2310_1
snappy 1.1.7 h777316e_3
snowballstemmer 1.2.1 py36h763602f_0
sortedcollections 0.6.1 py36_0
sortedcontainers 1.5.10 py36_0
sphinx 1.7.4 py36_0
sphinxcontrib 1.0 py36hbbac3d2_1
sphinxcontrib-websupport 1.0.1 py36hb5e5916_1
spyder 3.3.1 py36_1
spyder-kernels 0.2.6 py36_0
sqlalchemy 1.2.7 py36ha85dd04_0
sqlite 3.23.1 h35aae40_0
statsmodels 0.9.0 py36h452e1ab_0
sympy 1.1.1 py36h96708e0_0
tblib 1.3.2 py36h30f5020_0
terminado 0.8.1 py36_1
testpath 0.3.1 py36h2698cfe_0
tk 8.6.7 hcb92d03_3
toolz 0.9.0 py36_0
tornado 5.0.2 py36_0
traitlets 4.3.2 py36h096827d_0
typing 3.6.4 py36_0
unicodecsv 0.14.1 py36h6450c06_0
urllib3 1.22 py36h276f60a_0
vc 14 h0510ff6_3
vs2015_runtime 14.0.25123 3
wcwidth 0.1.7 py36h3d5aa90_0
webencodings 0.5.1 py36h67c50ae_1
werkzeug 0.14.1 py36_0
wheel 0.31.1 py36_0
widgetsnbextension 3.2.1 py36_0
win_inet_pton 1.0.1 py36he67d7fd_1
win_unicode_console 0.5 py36hcdbd4b5_0
wincertstore 0.2 py36h7fe50ca_0
winpty 0.4.3 4
wrapt 1.10.11 py36he5f5981_0
xerces-c 3.2.1 h27bfe9a_0
xlrd 1.1.0 py36h1cb58dc_1
xlsxwriter 1.0.4 py36_0
xlwings 0.11.8 py36_0
xlwt 1.3.0 py36h1a4751e_0
xz 5.2.4 h2fa13f4_4
yaml 0.1.7 hc54c509_2
zeromq 4.2.5 hc6251cf_0
zict 0.1.3 py36h2d8e73e_0
zlib 1.2.11 h8395fce_2
I notice the caps of CommonMark vs commonmark are different, but trying to install CommonMark does not fix the issue.
I just filed a bug for this, it appears to be a problem with commonmark 0.8.1 Installing any version of commonmark from 0.5.5 to 0.8.0 should allow you to work around this.
pip install commonmark==0.8.0
Then run orange as usual:
python -m Orange.canvas
Go, Anaconda3\Lib\site-packages\ and search for CommonMark, if search result present as commonmark then rename commonmark folder as CommonMark. and then launch orange -canvas, it will solve a problem.

Simple plot from python console

Using anaconda 3.6 under Windows, this program when executed from an anaconda console
python simple_plot.py
runs, but nothing displays:
#file simple_plot.py
import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4])
plt.show()
If I add
%matplotlib inline
and run the program:
python simple_plot.py
(base) C:\Users\idf\Documents\Python Scripts>python simple_plot.py
File "simple_plot.py", line 3
%matplotlib inline
^
SyntaxError: invalid syntax
If I run this program
(base) C:\Users\idf\Documents\Python Scripts>python -c "import matplotlib; print(matplotlib.get_backend())"
I get the output:
Qt5Agg
Not even simple print statements work once I include:
import matplotlib.pyplot as plt
print("hello world") #nothing shows on console
Output of conda list
(base) C:\Users\idf\Documents\Python Scripts>conda list
# packages in environment at C:\Users\Ivan Figueredo\Anaconda:
#
# Name Version Build Channel
_ipyw_jlab_nb_ext_conf 0.1.0 py36he6757f0_0
absl-py 0.3.0 py36_0 anaconda
absl-py 0.2.2 <pip>
aiohttp 3.2.1 <pip>
alabaster 0.7.10 py36hcd07829_0
anaconda-client 1.6.14 py36_0
anaconda-navigator 1.8.7 py36_0
anaconda-project 0.8.2 py36hfad2e28_0
appdirs 1.4.3 <pip>
asn1crypto 0.24.0 py36_0
astor 0.6.2 py36_1 anaconda
astor 0.6.2 <pip>
astroid 1.6.3 py36_0
astropy 3.0.2 py36h452e1ab_1
async-timeout 3.0.0 <pip>
attrs 18.1.0 py36_0
babel 2.5.3 py36_0
backcall 0.1.0 py36_0
backports 1.0 py36h81696a8_1
backports.shutil_get_terminal_size 1.0.0 py36h79ab834_2
bazel 0.14.0 h6538335_0
beautifulsoup4 4.6.0 py36hd4cc5e8_1
bitarray 0.8.1 py36hfa6e2cd_1
bkcharts 0.2 py36h7e685f7_0
blas 1.0 mkl
blaze 0.11.3 py36h8a29ca5_0
bleach 1.5.0 <pip>
bleach 1.5.0 py36_0 anaconda
blosc 1.14.3 he51fdeb_0
bokeh 0.12.16 py36_0
boto 2.48.0 py36h1a776d2_1
bottleneck 1.2.1 py36hd119dfa_0
bzip2 1.0.6 hfa6e2cd_5
ca-certificates 2018.03.07 0
certifi 2018.4.16 py36_0
cffi 1.11.5 py36h945400d_0
chardet 3.0.4 py36h420ce6e_1
click 6.7 py36hec8c647_0
cloudpickle 0.5.3 py36_0
clyent 1.2.2 py36hb10d595_1
colorama 0.3.9 py36h029ae33_0
comtypes 1.1.4 py36_0
conda 4.5.8 py36_0
conda-build 3.10.5 py36_0
conda-env 2.6.0 h36134e3_1
conda-verify 2.0.0 py36h065de53_0
console_shortcut 0.1.1 h6bb2dd7_3
contextlib2 0.5.5 py36he5d52c0_0
coverage 4.5.1 <pip>
cryptography 2.2.2 py36hfa6e2cd_0
cuda91 1.0 0 pytorch
cudatoolkit 9.0 1
cudnn 7.1.4 cuda9.0_0 anaconda
curl 7.60.0 h7602738_0
cycler 0.10.0 py36h009560c_0
cython 0.28.2 py36hfa6e2cd_0
cytoolz 0.9.0.1 py36hfa6e2cd_0
dask 0.17.5 py36_0
dask-core 0.17.5 py36_0
dataclasses 0.6 <pip>
datashape 0.5.4 py36h5770b85_0
decorator 4.3.0 py36_0
distributed 1.21.8 py36_0
docutils 0.14 py36h6012d8f_0
easygui 0.98.1 <pip>
entrypoints 0.2.3 py36hfd66bb0_2
et_xmlfile 1.0.1 py36h3d2d736_0
fastcache 1.0.2 py36hfa6e2cd_2
filelock 3.0.4 py36_0
flask 1.0.2 py36_1
flask-cors 3.0.4 py36_0
freetype 2.8 h51f8f2c_1
future 0.16.0 <pip>
gast 0.2.0 py36_0 anaconda
gast 0.2.0 <pip>
get_terminal_size 1.0.0 h38e98db_0
gevent 1.3.0 py36hfa6e2cd_0
glob2 0.6 py36hdf76b57_0
greenlet 0.4.13 py36hfa6e2cd_0
grpcio 1.13.0 <pip>
grpcio 1.12.1 py36h1a1b453_0 anaconda
gym 0.10.5 <pip>
h5py 2.7.1 py36h3bdd7fb_2
hdf5 1.10.2 hac2f561_1
heapdict 1.0.0 py36_2
html5lib 0.9999999 py36_0 anaconda
html5lib 0.9999999 <pip>
ibpy2 0.8.0 py36_0 tibkiss
icc_rt 2017.0.4 h97af966_0
icu 58.2 ha66f8fd_1
idna 2.6 py36h148d497_1
idna-ssl 1.1.0 <pip>
imageio 2.3.0 py36_0
imagesize 1.0.0 py36_0
intel-openmp 2018.0.0 8
ipykernel 4.8.2 py36_0
ipython 6.4.0 py36_0
ipython_genutils 0.2.0 py36h3c5d0ee_0
ipywidgets 7.2.1 py36_0
isort 4.3.4 py36_0
itsdangerous 0.24 py36hb6c5a24_1
jdcal 1.4 py36_0
jedi 0.12.0 py36_1
jinja2 2.10 py36h292fed1_0
jpeg 9b hb83a4c4_2
jsonschema 2.6.0 py36h7636477_0
jupyter 1.0.0 py36_4
jupyter_client 5.2.3 py36_0
jupyter_console 5.2.0 py36h6d89b47_1
jupyter_core 4.4.0 py36h56e9d50_0
jupyterlab 0.32.1 py36_0
jupyterlab_launcher 0.10.5 py36_0
kiwisolver 1.0.1 py36h12c3424_0
lapack 3.6.1 1 conda-forge
lazy-object-proxy 1.3.1 py36hd1c21d2_0
libcurl 7.60.0 hc4dcbb0_0
libiconv 1.15 h1df5818_7
libpng 1.6.34 h79bbb47_0
libprotobuf 3.5.2 he0781b1_0 anaconda
libsodium 1.0.16 h9d3ae62_0
libssh2 1.8.0 hd619d38_4
libtiff 4.0.9 hb8ad9f9_1
libxml2 2.9.8 hadb2253_1
libxslt 1.1.32 hf6f1972_0
llvmlite 0.23.1 py36hcacf6c6_0
locket 0.2.0 py36hfed976d_1
logger 1.4 <pip>
lxml 4.2.1 py36heafd4d3_0
lzo 2.10 h6df0209_2
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markdown 2.6.11 py36_0 anaconda
Markdown 2.6.11 <pip>
markupsafe 1.0 py36h0e26971_1
matplotlib 2.2.2 py36h153e9ff_1
mccabe 0.6.1 py36hb41005a_1
menuinst 1.4.14 py36hfa6e2cd_0
mistune 0.8.3 py36hfa6e2cd_1
mkl 2018.0.2 1
mkl-service 1.1.2 py36h57e144c_4
mkl_fft 1.0.1 py36h452e1ab_0
mkl_random 1.0.1 py36h9258bd6_0
more-itertools 4.1.0 py36_0
mpmath 1.0.0 py36hacc8adf_2
msgpack-python 0.5.6 py36he980bc4_0
msys2-conda-epoch 20160418 1
multidict 4.3.1 <pip>
multipledispatch 0.5.0 py36_0
navigator-updater 0.2.1 py36_0
nbconvert 5.3.1 py36h8dc0fde_0
nbformat 4.4.0 py36h3a5bc1b_0
networkx 2.1 py36_0
nltk 3.3.0 py36_0
nose 1.3.7 py36h1c3779e_2
notebook 5.5.0 py36_0
numba 0.38.0 py36h830ac7b_0
numexpr 2.6.5 py36hcd2f87e_0
numpy 1.14.3 py36h9fa60d3_1
numpy-base 1.14.3 py36h555522e_1
numpydoc 0.8.0 py36_0
odo 0.5.1 py36h7560279_0
olefile 0.45.1 py36_0
opencv 3.3.1 py36h20b85fd_1
openjdk 8.0.121 1
openpyxl 2.5.3 py36_0
openssl 1.0.2o h8ea7d77_0
packaging 17.1 py36_0
pandas 0.17.1 <pip>
pandas 0.23.0 py36h830ac7b_0
pandoc 1.19.2.1 hb2460c7_1
pandocfilters 1.4.2 py36h3ef6317_1
parso 0.2.0 py36_0
partd 0.3.8 py36hc8e763b_0
path.py 11.0.1 py36_0
pathlib2 2.3.2 py36_0
patsy 0.5.0 py36_0
pep8 1.7.1 py36_0
pickleshare 0.7.4 py36h9de030f_0
pillow 5.1.0 py36h0738816_0
pip 18.0 <pip>
pip 10.0.1 py36_0
pkginfo 1.4.2 py36_1
plotly 2.7.0 <pip>
pluggy 0.6.0 py36hc7daf1e_0
ply 3.11 py36_0
prompt_toolkit 1.0.15 py36h60b8f86_0
protobuf 3.5.2 py36h6538335_0 anaconda
protobuf 3.6.0 <pip>
psutil 5.4.5 py36hfa6e2cd_0
ptan 0.3 <pip>
py 1.5.3 py36_0
pycodestyle 2.4.0 py36_0
pycosat 0.6.3 py36h413d8a4_0
pycparser 2.18 py36hd053e01_1
pycrypto 2.6.1 py36hfa6e2cd_8
pycuda 2017.1.1+cuda9288 <pip>
pycurl 7.43.0.1 py36h74b6da3_0
pyflakes 1.6.0 py36h0b975d6_0
pyglet 1.3.2 <pip>
pygments 2.2.0 py36hb010967_0
pylint 1.8.4 py36_0
pyodbc 4.0.23 py36h6538335_0
pyopenssl 18.0.0 py36_0
pyparsing 2.2.0 py36h785a196_1
pyqt 5.9.2 py36h1aa27d4_0
PyQt4 4.11.4 <pip>
pysocks 1.6.8 py36_0
pytables 3.4.3 py36he6f6034_1
pytest 3.5.1 py36_0
pytest-arraydiff 0.2 py36_0
pytest-astropy 0.3.0 py36_0
pytest-cov 2.5.1 <pip>
pytest-doctestplus 0.1.3 py36_0
pytest-openfiles 0.3.0 py36_0
pytest-qt 1.2.2 <pip>
pytest-remotedata 0.2.1 py36_0
python 3.6.5 h0c2934d_0
python-dateutil 2.7.3 py36_0
python-magic 0.4.6 <pip>
pytools 2018.5.2 <pip>
pytorch 0.4.0 py36_cuda91_cudnn7he774522_1 [cuda91] pytorch
pytz 2018.4 py36_0
pywavelets 0.5.2 py36hc649158_0
pywin32 223 py36hfa6e2cd_1
pywinpty 0.5.1 py36_0
pyyaml 3.12 py36h1d1928f_1
pyzmq 17.0.0 py36hfa6e2cd_1
qt 5.9.6 vc14h62aca36_0
qtawesome 0.4.4 py36h5aa48f6_0
qtconsole 4.3.1 py36h99a29a9_0
qtpandas 1.0.3 <pip>
qtpy 1.4.1 py36_0
requests 2.18.4 py36h4371aae_1
rope 0.10.7 py36had63a69_0
ruamel_yaml 0.15.35 py36hfa6e2cd_1
scikit-image 0.13.1 py36hfa6e2cd_1
scikit-learn 0.19.1 py36h53aea1b_0
scipy 1.1.0 py36h672f292_0
seaborn 0.8.1 py36h9b69545_0
send2trash 1.5.0 py36_0
setuptools 39.1.0 py36_0
simplegeneric 0.8.1 py36_2
singledispatch 3.4.0.3 py36h17d0c80_0
sip 4.19.8 py36h6538335_0
six 1.11.0 py36h4db2310_1
sklearn 0.0 <pip>
snappy 1.1.7 h777316e_3
snowballstemmer 1.2.1 py36h763602f_0
sortedcollections 0.6.1 py36_0
sortedcontainers 1.5.10 py36_0
sphinx 1.7.4 py36_0
sphinxcontrib 1.0 py36hbbac3d2_1
sphinxcontrib-websupport 1.0.1 py36hb5e5916_1
spyder 3.2.8 py36_0
sqlalchemy 1.2.7 py36ha85dd04_0
sqlite 3.23.1 h35aae40_0
statsmodels 0.9.0 py36h452e1ab_0
sympy 1.1.1 py36h96708e0_0
tastyworks 1.0.0 <pip>
tblib 1.3.2 py36h30f5020_0
tensorboard 1.8.0 py36he025d50_0 anaconda
tensorflow-gpu 1.8.0 h21ff451_0 anaconda
tensorflow-gpu-base 1.8.0 py36h376609f_0 anaconda
termcolor 1.1.0 py36_1 anaconda
termcolor 1.1.0 <pip>
terminado 0.8.1 py36_1
testpath 0.3.1 py36h2698cfe_0
tk 8.6.7 hcb92d03_3
toolz 0.9.0 py36_0
tornado 5.0.2 py36_0
traitlets 4.3.2 py36h096827d_0
typing 3.6.4 py36_0
unicodecsv 0.14.1 py36h6450c06_0
urllib3 1.22 py36h276f60a_0
vc 14.1 h0510ff6_3 anaconda
vs2015_runtime 15.5.2 3 anaconda
wcwidth 0.1.7 py36h3d5aa90_0
webencodings 0.5.1 py36h67c50ae_1
websockets 6.0 <pip>
werkzeug 0.14.1 py36_0
wheel 0.31.1 py36_0
widgetsnbextension 3.2.1 py36_0
win_inet_pton 1.0.1 py36he67d7fd_1
win_unicode_console 0.5 py36hcdbd4b5_0
wincertstore 0.2 py36h7fe50ca_0
winpty 0.4.3 4
wrapt 1.10.11 py36he5f5981_0
xlrd 1.1.0 py36h1cb58dc_1
xlsxwriter 1.0.4 py36_0
xlwings 0.11.8 py36_0
xlwt 1.3.0 py36h1a4751e_0
yaml 0.1.7 hc54c509_2
yarl 1.2.6 <pip>
zeromq 4.2.5 hc6251cf_0
zict 0.1.3 py36h2d8e73e_0
zlib 1.2.11 h8395fce_2
(base) C:\Users\idf\Documentidfs\Python Scripts>
If I launch a normal DOS console and then activate python:
C:\Users\idf>"..\idf\Anaconda\Scripts\activate.bat"
and try running simple_plot.py, same behavior.
What am I missing?
You need to add %matplotlib inline.

Resources