"ImportError: No module named seaborn" in Azure ML - azure

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?

Related

how to resolve "warning: no model found for en_core_web_sm" even though i have downloaded the model and written a config file with it

config = """
language: "en"
pipeline:
- name: "nlp_spacy"
model: "en_core_web_sm"
- name: "tokenizer_spacy"
- name: "intent_entity_featurizer_regex"
- name: "intent_featurizer_spacy"
- name: "ner_crf"
- name: "ner_synonyms"
- name: "intent_classifier_sklearn"
"""
with open('config.yml', 'a') as f:
print(config, file = f)
f.close()
from rasa_nlu.training_data import load_data
from rasa_nlu.config import RasaNLUModelConfig
from rasa_nlu.model import Trainer
from rasa_nlu import config
import spacy
# Load training data
training_data = load_data("intent.md")
# Use trainer to load configuration data the needs to be learnt by the model
trainer = Trainer(config.load("config.yml"))
# Train model on training data
interpreter = trainer.train(training_data)
# Save Model
model_directory = trainer.persist("./models/nlu")
Here is my conda list
(venv) (base) PS C:\Users\Vatsal\AgriculturalChatbot-master> conda list
# packages in environment at C:\Users\Vatsal\anaconda3:
#**
# Name Version Build Channel
_ipyw_jlab_nb_ext_conf 0.1.0 py36_0
alabaster 0.7.12 py36_0
anaconda 2020.07 py36_0
anaconda-client 1.7.2 py36_0
anaconda-navigator 2.0.4 py36_0
anaconda-project 0.8.4 py_0
argh 0.26.2 py36_0
asn1crypto 1.3.0 py36_0
astroid 2.4.2 py36_0
astropy 4.0.1.post1 py36he774522_1
atomicwrites 1.4.0 py_0
attrs 19.3.0 py_0
automat 20.2.0 pypi_0 pypi
autopep8 1.5.3 py_0
babel 2.8.0 py_0
backcall 0.2.0 py_0
backports 1.0 py_2
backports.functools_lru_cache 1.6.1 py_0
backports.shutil_get_terminal_size 1.0.0 py36_2
backports.tempfile 1.0 py_1
backports.weakref 1.0.post1 py_1
bcrypt 3.1.7 py36he774522_1
beautifulsoup4 4.9.1 py36_0
bitarray 1.4.0 py36he774522_0
bkcharts 0.2 py36_0
blas 1.0 mkl
bleach 3.1.5 py_0
blosc 1.19.0 h7bd577a_0
bokeh 2.1.1 py36_0
boto 2.49.0 py36_0
boto3 1.18.16 pypi_0 pypi
botocore 1.21.16 pypi_0 pypi
bottleneck 1.3.2 py36h2a96729_1
brotlipy 0.7.0 py36he774522_1000
bzip2 1.0.8 he774522_0
ca-certificates 2020.6.24 0
catalogue 2.0.4 pypi_0 pypi
certifi 2020.6.20 py36_0
cffi 1.14.0 py36h7a1dbc1_0
chardet 3.0.4 py36_1003
click 7.1.2 py_0
cloudpickle 0.6.1 pypi_0 pypi
clyent 1.2.2 py36_1
colorama 0.4.3 py_0
coloredlogs 10.0 pypi_0 pypi
comtypes 1.1.7 py36_1001
conda 4.10.3 py36ha15d459_0 conda-forge
conda-build 3.21.4 py36haa95532_0
conda-content-trust 0.1.1 pyhd3eb1b0_0
conda-env 2.6.0 1
conda-package-handling 1.7.3 py36h8cc25b3_1
conda-repo-cli 1.0.4 pyhd3eb1b0_0
conda-token 0.3.0 pyhd3eb1b0_0
conda-verify 3.4.2 py_1
console_shortcut 0.1.1 4
constantly 15.1.0 pypi_0 pypi
contextlib2 0.6.0.post1 py_0
contextvars 2.4 py_0
cryptography 2.9.2 py36h7a1dbc1_0
curl 7.71.1 h2a8f88b_1
cycler 0.10.0 py36h009560c_0
cymem 2.0.5 py36he2d232f_2 conda-forge
cython 0.29.21 py36ha925a31_0
cython-blis 0.7.4 py36h6434af4_0 conda-forge
cytoolz 0.10.1 py36he774522_0
dask 2.20.0 py_0
dask-core 2.20.0 py_0
dataclasses 0.8 pyh787bdff_0 conda-forge
decorator 4.4.2 py_0
defusedxml 0.6.0 py_0
diff-match-patch 20200713 py_0
distributed 2.20.0 py36_0
docutils 0.16 py36_1
entrypoints 0.3 py36_0
et_xmlfile 1.0.1 py_1001
fastcache 1.1.0 py36he774522_0
filelock 3.0.12 py_0
flake8 3.8.3 py_0
flask 1.1.2 py_0
freetype 2.10.2 hd328e21_0
fsspec 0.7.4 py_0
future 0.17.1 pypi_0 pypi
get_terminal_size 1.0.0 h38e98db_0
gevent 1.5.0 pypi_0 pypi
glob2 0.7 py_0
gmpy2 2.0.8 py36h0964b28_3
greenlet 0.4.16 py36he774522_0
h5py 2.10.0 py36h5e291fa_0
hdf5 1.10.4 h7ebc959_0
heapdict 1.0.1 py_0
html5lib 1.1 py_0
humanfriendly 9.2 pypi_0 pypi
hyperlink 21.0.0 pypi_0 pypi
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha925a31_3
idna 2.10 py_0
imageio 2.9.0 py_0
imagesize 1.2.0 py_0
immutables 0.14 py36he774522_0
importlib-metadata 1.7.0 py36_0
importlib_metadata 1.7.0 0
incremental 21.3.0 pypi_0 pypi
intel-openmp 2019.4 245
intervaltree 3.0.2 py_1
ipykernel 5.3.2 py36h5ca1d4c_0
ipython 7.16.1 py36h5ca1d4c_0
ipython_genutils 0.2.0 py36_0
ipywidgets 7.5.1 py_0
isort 4.3.21 py36_0
itsdangerous 1.1.0 py36_0
jdcal 1.4.1 py_0
jedi 0.17.1 py36_0
jinja2 2.11.2 py_0
jmespath 0.10.0 pypi_0 pypi
joblib 0.16.0 py_0
jpeg 9b hb83a4c4_2
json5 0.9.5 py_0
jsonschema 2.6.0 pypi_0 pypi
jupyter 1.0.0 py36_7
jupyter_client 6.1.6 py_0
jupyter_console 6.1.0 py_0
jupyter_core 4.6.3 py36_0
jupyterlab 2.1.5 py_0
jupyterlab_server 1.2.0 py_0
keyring 21.2.1 py36_0
kiwisolver 1.2.0 py36h74a9793_0
klein 17.10.0 pypi_0 pypi
krb5 1.18.2 hc04afaa_0
lazy-object-proxy 1.4.3 py36he774522_0
libarchive 3.4.2 h5e25573_0
libcurl 7.71.1 h2a8f88b_1
libiconv 1.15 h1df5818_7
liblief 0.10.1 ha925a31_0
libllvm9 9.0.1 h21ff451_0
libpng 1.6.37 h2a8f88b_0
libsodium 1.0.18 h62dcd97_0
libspatialindex 1.9.3 h33f27b4_0
libssh2 1.9.0 h7a1dbc1_1
libtiff 4.1.0 h56a325e_1
libxml2 2.9.10 h464c3ec_1
libxslt 1.1.34 he774522_0
llvmlite 0.33.0 py36ha925a31_0
locket 0.2.0 py36hfed976d_1
lxml 4.5.2 py36h1350720_0
lz4-c 1.9.2 h62dcd97_0
lzo 2.10 he774522_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.1.1 py36he774522_0
matplotlib 2.2.5 pypi_0 pypi
matplotlib-base 3.2.2 py36h64f37c6_0
mccabe 0.6.1 py36_1
menuinst 1.4.16 py36he774522_1
mistune 0.8.4 py36he774522_0
mkl 2019.4 245
mkl-service 2.3.0 py36hb782905_0
mkl_fft 1.0.14 py36h6288b17_0
mkl_random 1.0.4 py36h343c172_0
mock 4.0.2 py_0
more-itertools 8.4.0 py_0
mpc 1.1.0 h7edee0f_1
mpfr 4.0.2 h62dcd97_1
mpir 3.0.0 hec2e145_1
mpmath 1.1.0 py36_0
msgpack-python 1.0.0 py36h74a9793_1
msys2-conda-epoch 20160418 1
multipledispatch 0.6.0 py36_0
murmurhash 1.0.5 py36he2d232f_0 conda-forge
navigator-updater 0.2.1 py36_0
nbconvert 5.6.1 py36_0
nbformat 5.0.7 py_0
networkx 2.4 py_1
nltk 3.5 py_0
nose 1.3.7 py36_2
notebook 6.0.3 py36_0
numba 0.50.1 py36h47e9c7a_0
numexpr 2.7.1 py36h25d0782_0
numpy 1.18.5 pypi_0 pypi
numpy-base 1.17.0 py36hc3f5095_0
numpydoc 1.1.0 py_0
olefile 0.46 py36_0
openpyxl 3.0.4 py_0
openssl 1.1.1g he774522_0 conda-forge
packaging 18.0 pypi_0 pypi
pandas 1.0.5 py36h47e9c7a_0
pandoc 2.10 0
pandocfilters 1.4.2 py36_1
paramiko 2.7.1 py_0
parso 0.7.0 py_0
partd 1.1.0 py_0
path 13.1.0 py36_0
path.py 12.4.0 0
pathlib2 2.3.5 py36_0
pathtools 0.1.2 py_1
pathy 0.6.0 pyhd8ed1ab_0 conda-forge
patsy 0.5.1 py36_0
pep8 1.7.1 py36_0
pexpect 4.8.0 py36_0
pickleshare 0.7.5 py36_0
pillow 7.2.0 py36hcc1f983_0
pip 20.1.1 py36_1
pkginfo 1.5.0.1 py36_0
pluggy 0.13.1 py36_0
ply 3.11 py36_0
powershell_shortcut 0.0.1 3
praw 7.2.0 pypi_0 pypi
prawcore 2.0.0 pypi_0 pypi
preshed 3.0.5 py36he2d232f_1 conda-forge
prometheus_client 0.8.0 py_0
prompt-toolkit 3.0.5 py_0
prompt_toolkit 3.0.5 0
psutil 5.7.0 py36he774522_0
py 1.9.0 py_0
py-lief 0.10.1 py36ha925a31_0
pycodestyle 2.6.0 py_0
pycosat 0.6.3 py36he774522_0
pycparser 2.20 py_2
pycrypto 2.6.1 py36he774522_10
pycurl 7.43.0.5 py36h7a1dbc1_0
pydantic 1.8.2 pypi_0 pypi
pydocstyle 5.0.2 py_0
pyflakes 2.2.0 py_0
pygments 2.6.1 py_0
pylint 2.5.3 py36_0
pynacl 1.4.0 py36h62dcd97_1
pyodbc 4.0.30 py36ha925a31_0
pyopenssl 19.1.0 py_1
pyparsing 2.4.7 py_0
pyqt 5.9.2 py36h6538335_2
pyreadline 2.1 py36_1
pyrsistent 0.16.0 py36he774522_0
pysocks 1.7.1 py36_0
pytables 3.6.1 py36h1da0976_0
pytest 5.4.3 py36_0
python 3.6.10 h9f7ef89_2
python-dateutil 2.8.1 py_0
python-jsonrpc-server 0.3.4 py_1
python-language-server 0.34.1 py36_0
python-libarchive-c 2.9 py_0
python_abi 3.6 2_cp36m conda-forge
pytz 2020.1 py_0
pywavelets 1.1.1 py36he774522_0
pywin32 227 py36he774522_1
pywin32-ctypes 0.2.0 py36_1000
pywinpty 0.5.7 py36_0
pyyaml 5.3.1 py36he774522_1
pyzmq 19.0.1 py36ha925a31_1
qdarkstyle 2.8.1 py_0
qt 5.9.7 vc14h73c81de_0
qtawesome 0.7.2 py_0
qtconsole 4.7.5 py_0
qtpy 1.9.0 py_0
rasa-nlu 0.15.1 pypi_0 pypi
regex 2020.6.8 py36he774522_0
requests 2.24.0 py_0
rope 0.17.0 py_0
rtree 0.9.4 py36h21ff451_1
ruamel-yaml 0.15.100 pypi_0 pypi
ruamel_yaml 0.15.87 py36he774522_1
s3transfer 0.5.0 pypi_0 pypi
scikit-image 0.16.2 py36h47e9c7a_0
scikit-learn 0.20.4 pypi_0 pypi
scipy 1.5.0 py36h9439919_0
seaborn 0.10.1 py_0
send2trash 1.5.0 py36_0
setuptools 49.2.0 py36_0
shellingham 1.4.0 pyh44b312d_0 conda-forge
simplegeneric 0.8.1 py36_2
simplejson 3.17.3 pypi_0 pypi
singledispatch 3.4.0.3 py36h17d0c80_0
sip 4.19.8 py36h6538335_0
six 1.15.0 py_0
smart_open 5.1.0 pyhd8ed1ab_1 conda-forge
snappy 1.1.8 h33f27b4_0
snowballstemmer 2.0.0 py_0
sortedcollections 1.2.1 py_0
sortedcontainers 2.2.2 py_0
soupsieve 2.0.1 py_0
spacy 3.1.1 pypi_0 pypi
spacy-legacy 3.0.8 pyhd8ed1ab_0 conda-forge
sphinx 3.1.2 py_0
sphinxcontrib 1.0 py36_1
sphinxcontrib-applehelp 1.0.2 py_0
sphinxcontrib-devhelp 1.0.2 py_0
sphinxcontrib-htmlhelp 1.0.3 py_0
sphinxcontrib-jsmath 1.0.1 py_0
sphinxcontrib-qthelp 1.0.3 py_0
sphinxcontrib-serializinghtml 1.1.4 py_0
sphinxcontrib-websupport 1.2.3 py_0
spyder 4.1.4 py36_0
spyder-kernels 1.9.2 py36_0
sqlalchemy 1.3.18 py36he774522_0
sqlite 3.32.3 h2a8f88b_0
srsly 2.4.1 py36he2d232f_0 conda-forge
statsmodels 0.11.1 py36he774522_0
sympy 1.6.1 py36_0
tbb 2020.0 h74a9793_0
tblib 1.6.0 py_0
terminado 0.8.3 py36_0
testpath 0.4.4 py_0
thinc 8.0.8 pypi_0 pypi
threadpoolctl 2.1.0 pyh5ca1d4c_0
tk 8.6.10 he774522_0
toml 0.10.1 py_0
toolz 0.10.0 py_0
tornado 6.0.4 py36he774522_1
tqdm 4.47.0 py_0
traitlets 4.3.3 py36_0
twisted 21.7.0 pypi_0 pypi
twisted-iocpsupport 1.0.1 pypi_0 pypi
typed-ast 1.4.1 py36he774522_0
typer 0.3.2 pyhd8ed1ab_0 conda-forge
typing 3.7.4.3 pypi_0 pypi
typing-extensions 3.10.0.0 pypi_0 pypi
typing_extensions 3.7.4.2 py_0
ujson 1.35 py36hfa6e2cd_0
unicodecsv 0.14.1 py36h6450c06_0
update-checker 0.18.0 pypi_0 pypi
urllib3 1.25.9 py_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_3
wasabi 0.8.2 pyh44b312d_0 conda-forge
watchdog 0.10.3 py36_0
wcwidth 0.2.5 py_0
webencodings 0.5.1 py36_1
websocket-client 0.58.0 pypi_0 pypi
werkzeug 1.0.1 py_0
wheel 0.34.2 py36_0
widgetsnbextension 3.5.1 py36_0
win_inet_pton 1.1.0 py36_0
win_unicode_console 0.5 py36hcdbd4b5_0
wincertstore 0.2 py36h7fe50ca_0
winpty 0.4.3 4
wrapt 1.11.2 py36he774522_0
xlrd 1.2.0 py36_0
xlsxwriter 1.2.9 py_0
xlwings 0.19.5 py36_0
xlwt 1.3.0 py36h1a4751e_0
xmltodict 0.12.0 py_0
xz 5.2.5 h62dcd97_0
yaml 0.2.5 he774522_0
yapf 0.30.0 py_0
zeromq 4.3.2 ha925a31_2
zict 2.0.0 py_0
zipp 3.1.0 py_0
zlib 1.2.11 h62dcd97_4
zope 1.0 py36_1
zope.event 4.4 py36_0
zope.interface 4.7.1 py36he774522_0

ImportError: libarrow.so.14: cannot open shared object file: No such file or directory | python

I am getting below error when I am trying to install below library using File (.tar.bz2) . I dont have Internet connection in my hadoop cluster that is the reason I am using below command to install pyarrow using conda.
(base) [XXXX#XXX-XXX-XXX goel]# conda install pyarrow-0.14.1-py37h8b68381_2.tar.bz2
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) [XXXX#XXX-XXX-XXX goel]#
When I try to import I am getting below below error
(base) [XXXX#XXX-XXX-XXX usr]# python -c "import pyarrow"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/anaconda3/lib/python3.7/site-packages/pyarrow/__init__.py", line 49, in <module>
from pyarrow.lib import cpu_count, set_cpu_count
ImportError: libarrow.so.14: cannot open shared object file: No such file or directory
Below are the conda list output:
(base) [XXXX#XXX-XXX-XXX usr]# conda list
WARNING: The conda.compat module is deprecated and will be removed in a future release.
# packages in environment at /opt/anaconda3:
#
# Name Version Build Channel
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0
alabaster 0.7.12 py37_0
anaconda 2019.03 py37_0
anaconda-client 1.7.2 py37_0
anaconda-navigator 1.9.7 py37_0
anaconda-project 0.8.2 py37_0
arrow 0.15.3 py37_0 <unknown>
arrow-cpp 0.15.0 py37h090bef1_2 <unknown>
asn1crypto 0.24.0 py37_0
astroid 2.2.5 py37_0
astropy 3.1.2 py37h7b6447c_0
atomicwrites 1.3.0 py37_1
attrs 19.1.0 py37_1
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.7.1 py37_1
bitarray 0.8.3 py37h14c3975_0
bkcharts 0.2 py37_0
blas 1.0 mkl
bleach 3.1.0 py37_0
blosc 1.15.0 hd408876_0
bokeh 1.0.4 py37_0
boto 2.49.0 py37_0
bottleneck 1.2.1 py37h035aef0_1
bzip2 1.0.6 h14c3975_5
ca-certificates 2019.1.23 0
cairo 1.14.12 h8948797_3
certifi 2019.3.9 py37_0
cffi 1.12.2 py37h2e261b9_1
chardet 3.0.4 py37_1
click 7.0 py37_0
cloudpickle 0.8.0 py37_0
clyent 1.2.2 py37_1
colorama 0.4.1 py37_0
conda 4.6.11 py37_0
conda-build 3.17.8 py37_0
conda-env 2.6.0 1
conda-verify 3.1.1 py37_0
contextlib2 0.5.5 py37_0
cryptography 2.6.1 py37h1ba5d50_0
curl 7.64.0 hbc83047_2
cycler 0.10.0 py37_0
cython 0.29.6 py37he6710b0_0
cytoolz 0.9.0.1 py37h14c3975_1
dask 1.1.4 py37_1
dask-core 1.1.4 py37_1
dbus 1.13.6 h746ee38_0
decorator 4.4.0 py37_1
defusedxml 0.5.0 py37_1
distributed 1.26.0 py37_1
docutils 0.14 py37_0
entrypoints 0.3 py37_0
et_xmlfile 1.0.1 py37_0
expat 2.2.6 he6710b0_0
fastcache 1.0.2 py37h14c3975_2
filelock 3.0.10 py37_0
flask 1.0.2 py37_1
fontconfig 2.13.0 h9420a91_0
freetype 2.9.1 h8a8886c_1
fribidi 1.0.5 h7b6447c_0
future 0.17.1 py37_0
get_terminal_size 1.0.0 haa9412d_0
gevent 1.4.0 py37h7b6447c_0
glib 2.56.2 hd408876_0
glob2 0.6 py37_1
gmp 6.1.2 h6c8ec71_1
gmpy2 2.0.8 py37h10f8cd9_2
graphite2 1.3.13 h23475e2_0
greenlet 0.4.15 py37h7b6447c_0
gst-plugins-base 1.14.0 hbbd80ab_1
gstreamer 1.14.0 hb453b48_1
h5py 2.9.0 py37h7918eee_0
harfbuzz 1.8.8 hffaf4a1_0
hdf5 1.10.4 hb1b8bf9_0
hdfs3 0.3.1 py37_0 <unknown>
heapdict 1.0.0 py37_2
html5lib 1.0.1 py37_0
icu 58.2 h9c2bf20_1
idna 2.8 py37_0
imageio 2.5.0 py37_0
imagesize 1.1.0 py37_0
importlib_metadata 0.8 py37_0
intel-openmp 2019.3 199
ipykernel 5.1.0 py37h39e3cac_0
ipython 7.4.0 py37h39e3cac_0
ipython_genutils 0.2.0 py37_0
ipywidgets 7.4.2 py37_0
isort 4.3.16 py37_0
itsdangerous 1.1.0 py37_0
jbig 2.1 hdba287a_0
jdcal 1.4 py37_0
jedi 0.13.3 py37_0
jeepney 0.4 py37_0
jinja2 2.10 py37_0
jpeg 9b h024ee3a_2
jsonschema 3.0.1 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.4 py37hf63ae98_0
jupyterlab_server 0.2.0 py37_0
keras 2.2.5 py36_1 file:///opt/custom-conda-channel
keyring 18.0.0 py37_0
kiwisolver 1.0.1 py37hf484d3e_0
krb5 1.16.1 h173b8e3_7
lazy-object-proxy 1.3.1 py37h14c3975_2
libarchive 3.3.3 h5d8350f_5
libcurl 7.64.0 h20c2e04_2
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
libhdfs3 2.3.0 2 <unknown>
liblief 0.9.0 h7725739_2
libpng 1.6.36 hbc83047_0
libsodium 1.0.16 h1bed415_0
libssh2 1.8.0 h1ba5d50_4
libstdcxx-ng 8.2.0 hdf63c60_1
libtiff 4.0.10 h2733197_2
libtool 2.4.6 h7b6447c_5
libuuid 1.0.3 h1bed415_2
libxcb 1.13 h1bed415_1
libxml2 2.9.9 he19cac6_0
libxslt 1.1.33 h7d1a2b0_0
llvmlite 0.28.0 py37hd408876_0
locket 0.2.0 py37_1
lxml 4.3.2 py37hefd8a0e_0
lz4-c 1.8.1.2 h14c3975_0
lzo 2.10 h49e0be7_2
markupsafe 1.1.1 py37h7b6447c_0
matplotlib 3.0.3 py37h5429711_0
mccabe 0.6.1 py37_1
mistune 0.8.4 py37h7b6447c_0
mkl 2019.3 199
mkl-service 1.1.2 py37he904b0f_5
mkl_fft 1.0.10 py37ha843d7b_0
mkl_random 1.0.2 py37hd81dba3_0
more-itertools 6.0.0 py37_0
mpc 1.1.0 h10f8cd9_1
mpfr 4.0.1 hdf1c602_3
mpmath 1.1.0 py37_0
msgpack-python 0.6.1 py37hfd86e86_1
multipledispatch 0.6.0 py37_0
navigator-updater 0.2.1 py37_0
nbconvert 5.4.1 py37_3
nbformat 4.4.0 py37_0
ncurses 6.1 he6710b0_1
networkx 2.2 py37_1
nltk 3.4 py37_1
nose 1.3.7 py37_2
notebook 5.7.8 py37_0
numba 0.43.1 py37h962f231_0
numexpr 2.6.9 py37h9e4a6bb_0
numpy 1.16.2 py37h7e9f1db_0
numpy-base 1.16.2 py37hde5b4d6_0
numpydoc 0.8.0 py37_0
olefile 0.46 py37_0
openpyxl 2.6.1 py37_1
openssl 1.1.1b h7b6447c_1
packaging 19.0 py37_0
pandas 0.24.2 py37he6710b0_0
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py37_1
pango 1.42.4 h049681c_0
parso 0.3.4 py37_0
partd 0.3.10 py37_1
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.43 he6710b0_0
pep8 1.7.1 py37_0
pexpect 4.6.0 py37_0
pickleshare 0.7.5 py37_0
pillow 5.4.1 py37h34e0f95_0
pip 19.0.3 py37_0
pixman 0.38.0 h7b6447c_0
pkginfo 1.5.0.1 py37_0
pluggy 0.9.0 py37_0
ply 3.11 py37_0
prometheus_client 0.6.0 py37_0
prompt_toolkit 2.0.9 py37_0
psutil 5.6.1 py37h7b6447c_0
ptyprocess 0.6.0 py37_0
py 1.8.0 py37_0
py-lief 0.9.0 py37h7725739_2
pyarrow 0.14.1 py37h8b68381_2 <unknown>
pycodestyle 2.5.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.1.1 py37_0
pygments 2.3.1 py37_0
pylint 2.3.1 py37_0
pyodbc 4.0.26 py37he6710b0_0
pyopenssl 19.0.0 py37_0
pyparsing 2.3.1 py37_0
pyqt 5.9.2 py37h05f1152_2
pyrsistent 0.14.11 py37h7b6447c_0
pysocks 1.6.8 py37_0
pytables 3.5.1 py37h71ec239_0
pytest 4.3.1 py37_0
pytest-arraydiff 0.3 py37h39e3cac_0
pytest-astropy 0.5.0 py37_0
pytest-doctestplus 0.3.0 py37_0
pytest-openfiles 0.3.2 py37_0
pytest-remotedata 0.3.1 py37_0
python 3.7.3 h0371630_0
python-dateutil 2.8.0 py37_0
python-libarchive-c 2.8 py37_6
pytz 2018.9 py37_0
pywavelets 1.0.2 py37hdd07704_0
pyyaml 5.1 py37h7b6447c_0
pyzmq 18.0.0 py37he6710b0_0
qt 5.9.7 h5867ecd_1
qtawesome 0.5.7 py37_1
qtconsole 4.4.3 py37_0
qtpy 1.7.0 py37_1
readline 7.0 h7b6447c_5
requests 2.21.0 py37_0
rope 0.12.0 py37_0
ruamel_yaml 0.15.46 py37h14c3975_0
scikit-image 0.14.2 py37he6710b0_0
scikit-learn 0.20.3 py37hd81dba3_0
scipy 1.2.1 py37h7c811a0_0
seaborn 0.9.0 py37_0
secretstorage 3.1.1 py37_0
send2trash 1.5.0 py37_0
setuptools 40.8.0 py37_0
simplegeneric 0.8.1 py37_2
singledispatch 3.4.0.3 py37_0
sip 4.19.8 py37hf484d3e_0
six 1.12.0 py37_0
snappy 1.1.7 hbae5bb6_3
snowballstemmer 1.2.1 py37_0
sortedcollections 1.1.2 py37_0
sortedcontainers 2.1.0 py37_0
soupsieve 1.8 py37_0
sphinx 1.8.5 py37_0
sphinxcontrib 1.0 py37_1
sphinxcontrib-websupport 1.1.0 py37_1
spyder 3.3.3 py37_0
spyder-kernels 0.4.2 py37_0
sqlalchemy 1.3.1 py37h7b6447c_0
sqlite 3.27.2 h7b6447c_0
statsmodels 0.9.0 py37h035aef0_0
sympy 1.3 py37_0
tblib 1.3.2 py37_0
tensorflow 1.13.2 h76b4ce7_0 <unknown>
terminado 0.8.1 py37_1
testpath 0.4.2 py37_0
tk 8.6.8 hbc83047_0
toolz 0.9.0 py37_0
tornado 6.0.2 py37h7b6447c_0
tqdm 4.31.1 py37_1
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.33.1 py37_0
widgetsnbextension 3.4.2 py37_0
wrapt 1.11.1 py37h7b6447c_0
wurlitzer 1.0.2 py37_0
xlrd 1.2.0 py37_0
xlsxwriter 1.1.5 py37_0
xlwt 1.3.0 py37_0
xz 5.2.4 h14c3975_4
yaml 0.1.7 had09818_2
zeromq 4.3.1 he6710b0_3
zict 0.1.4 py37_0
zipp 0.3.3 py37_1
zlib 1.2.11 h7b6447c_3
zstd 1.3.7 h0b5b093_0
Updated pyarrow and arrow to 0.15
(base1) [XXXX#XXX-XXX-XXX goel]# conda list arrow
WARNING: The conda.compat module is deprecated and will be removed in a future release.
# packages in environment at /opt/anaconda2/envs/base1:
#
# Name Version Build Channel
arrow 0.15.3 py37_0 <unknown>
arrow-cpp 0.15.0 py37h090bef1_2 <unknown>
pyarrow 0.15.1 py37h8b68381_0 <unknown>
Updated Error Result:
(base1) [XXXX#XXX-XXX-XXX goel]# python -c "import pyarrow"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/anaconda2/envs/base1/lib/python3.7/site-packages/pyarrow/__init__.py", line 49, in <module>
from pyarrow.lib import cpu_count, set_cpu_count
**ImportError: libglog.so.0: cannot open shared object file: No such file or directory**
Note: I can see it looks like issue with the shared object file path.
Thanks in Advance,
Goel
You have installed pyarrow=0.14.1 while arrow-cpp=0.15.0. The versions of these libraries need to be the same.

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!

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