Docker-compose and extended Dokerfile: External Providers not found - python-3.x

I've deployed apache airflow using docker-compose using an extended image to include requirements. I can see in the airflow UI that the snowflake providers package was installed (apache-airflow-providers-snowflake), but for some reason, I'm getting a DAG import error:
from airflow.providers.snowflake.hooks.snowflake import SnowflakeHook
ModuleNotFoundError: No module named 'airflow.providers.snowflake'
I've logged into the docker webserver, used the airflow user, and successfully imported this package.
Dockerfile:
FROM apache/airflow:2.3.0-python3.9
USER root
COPY requirements.txt .
RUN apt-get update && \
apt-get install -y apt-utils
USER airflow
RUN pip3 install --no-cache-dir -r requirements.txt
see below:
[philip#ip-10-5-51-10 airflow_2]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0516db2653a0 airflow_2_airflow-webserver "/usr/bin/dumb-init …" About an hour ago Up 52 minutes (healthy) 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp airflow_2_airflow-webserver_1
36142cc09a6b airflow_2_airflow-scheduler "/usr/bin/dumb-init …" About an hour ago Up 52 minutes (healthy) 8080/tcp airflow_2_airflow-scheduler_1
c090e86e9279 airflow_2_airflow-triggerer "/usr/bin/dumb-init …" About an hour ago Up 52 minutes (healthy) 8080/tcp airflow_2_airflow-triggerer_1
ade8996d759f airflow_2_airflow-worker "/usr/bin/dumb-init …" About an hour ago Up 52 minutes (healthy) 8080/tcp airflow_2_airflow-worker_1
8915e4fb4ffe airflow_2_flower "/usr/bin/dumb-init …" About an hour ago Up 52 minutes (healthy) 0.0.0.0:5555->5555/tcp, :::5555->5555/tcp, 8080/tcp airflow_2_flower_1
353f2fa5552f postgres:13 "docker-entrypoint.s…" 4 hours ago Up 52 minutes (healthy) 5432/tcp airflow_2_postgres_1
1bafa42ece77 redis:latest "docker-entrypoint.s…" 4 hours ago Up 52 minutes (healthy) 6379/tcp airflow_2_redis_1
408ad15538ce denny/monitor-docker-slack:latest "/monitor-docker-sla…" 12 months ago Up 3 days monitor-docker-slack
[philip#ip-10-5-51-10 airflow_2]$ docker exec -u 0 -it airflow_2_airflow-webserver_1 bash
root#0516db2653a0:/opt/airflow# su - airflow
airflow#0516db2653a0:~$ pip list
Package Version
---------------------------------------- ------------
adal 1.2.7
alembic 1.7.7
amqp 5.1.1
anyio 3.5.0
apache-airflow 2.3.0
apache-airflow-providers-amazon 3.3.0
apache-airflow-providers-celery 2.1.4
apache-airflow-providers-cncf-kubernetes 4.0.1
apache-airflow-providers-docker 2.6.0
apache-airflow-providers-elasticsearch 3.0.3
apache-airflow-providers-ftp 2.1.2
apache-airflow-providers-google 6.8.0
apache-airflow-providers-grpc 2.0.4
apache-airflow-providers-hashicorp 2.2.0
apache-airflow-providers-http 2.1.2
apache-airflow-providers-imap 2.2.3
apache-airflow-providers-microsoft-azure 3.8.0
apache-airflow-providers-mysql 2.2.3
apache-airflow-providers-odbc 2.0.4
apache-airflow-providers-postgres 4.1.0
apache-airflow-providers-redis 2.0.4
apache-airflow-providers-sendgrid 2.0.4
apache-airflow-providers-sftp 2.6.0
apache-airflow-providers-slack 4.2.3
apache-airflow-providers-snowflake 2.6.0
apache-airflow-providers-sqlite 2.1.3
apache-airflow-providers-ssh 2.4.3
apispec 3.3.2
argcomplete 1.12.2
asn1crypto 1.4.0
attrs 20.3.0
Authlib 1.0.1
azure-batch 12.0.0
azure-common 1.1.28
azure-core 1.23.1
azure-cosmos 4.2.0
azure-datalake-store 0.0.52
azure-identity 1.9.0
azure-keyvault-secrets 4.4.0
azure-kusto-data 0.0.45
azure-mgmt-containerinstance 1.5.0
azure-mgmt-core 1.3.0
azure-mgmt-datafactory 1.1.0
azure-mgmt-datalake-nspkg 3.0.1
azure-mgmt-datalake-store 0.5.0
azure-mgmt-nspkg 3.0.2
azure-mgmt-resource 21.0.0
azure-nspkg 3.0.2
azure-storage-blob 12.8.1
azure-storage-common 2.1.0
azure-storage-file 2.1.0
Babel 2.9.0
bcrypt 3.2.0
beautifulsoup4 4.11.1
billiard 3.6.4.0
blinker 1.4
boto3 1.16.59
botocore 1.19.59
cached-property 1.5.2
cachelib 0.6.0
cachetools 4.2.2
catboost 0.25.1
cattrs 1.10.0
celery 5.2.6
certifi 2020.12.5
cffi 1.14.4
chardet 3.0.4
charset-normalizer 2.0.12
click 8.1.2
click-didyoumean 0.3.0
click-plugins 1.1.1
click-repl 0.2.0
clickclick 20.10.2
cloudpickle 2.0.0
colorama 0.4.4
colorlog 4.0.2
commonmark 0.9.1
configparser 3.5.3
connexion 2.13.0
cron-descriptor 1.2.24
croniter 0.3.37
cryptography 3.3.1
cycler 0.11.0
dask 2022.2.0
db-dtypes 1.0.0
decorator 5.1.1
defusedxml 0.6.0
Deprecated 1.2.13
dill 0.3.3
distlib 0.3.4
distributed 2022.2.0
dnspython 2.1.0
docker 5.0.3
docutils 0.16
elasticsearch 7.13.4
elasticsearch-dbapi 0.2.9
elasticsearch-dsl 7.4.0
email-validator 1.1.2
eventlet 0.33.0
filelock 3.6.0
Flask 1.1.2
Flask-Admin 1.5.4
Flask-AppBuilder 3.4.5
Flask-Babel 1.0.0
Flask-Caching 1.10.1
Flask-JWT-Extended 3.25.0
Flask-Login 0.4.1
Flask-OpenID 1.2.5
Flask-Session 0.4.0
Flask-SQLAlchemy 2.4.4
flask-swagger 0.2.13
Flask-WTF 0.14.3
flower 1.0.0
fonttools 4.33.3
fsspec 2022.3.0
funcsigs 1.0.2
future 0.16.0
gevent 21.12.0
google-ads 14.0.0
google-api-core 2.7.2
google-api-python-client 1.12.11
google-auth 2.6.6
google-auth-httplib2 0.1.0
google-auth-oauthlib 0.5.1
google-cloud-aiplatform 1.12.1
google-cloud-appengine-logging 1.1.1
google-cloud-audit-log 0.2.0
google-cloud-automl 2.7.2
google-cloud-bigquery 2.34.3
google-cloud-bigquery-datatransfer 3.6.1
google-cloud-bigquery-storage 2.13.1
google-cloud-bigtable 1.7.1
google-cloud-build 3.8.1
google-cloud-container 1.0.2
google-cloud-core 2.3.0
google-cloud-datacatalog 3.7.1
google-cloud-dataplex 0.2.1
google-cloud-dataproc 4.0.2
google-cloud-dataproc-metastore 1.5.0
google-cloud-dlp 1.0.1
google-cloud-kms 2.11.1
google-cloud-language 1.3.1
google-cloud-logging 3.0.0
google-cloud-memcache 1.3.1
google-cloud-monitoring 2.9.1
google-cloud-orchestration-airflow 1.3.1
google-cloud-os-login 2.6.1
google-cloud-pubsub 2.12.0
google-cloud-redis 2.8.0
google-cloud-resource-manager 1.4.1
google-cloud-secret-manager 1.0.1
google-cloud-spanner 1.19.2
google-cloud-speech 1.3.3
google-cloud-storage 1.44.0
google-cloud-tasks 2.8.1
google-cloud-texttospeech 1.0.2
google-cloud-translate 1.7.1
google-cloud-videointelligence 1.16.2
google-cloud-vision 1.0.1
google-cloud-workflows 1.6.1
google-crc32c 1.3.0
google-resumable-media 2.3.2
googleapis-common-protos 1.56.0
graphviz 0.16
greenlet 1.1.2
grpc-google-iam-v1 0.12.4
grpcio 1.44.0
grpcio-gcp 0.2.2
grpcio-status 1.44.0
gunicorn 20.1.0
h11 0.12.0
HeapDict 1.0.1
httpcore 0.14.7
httplib2 0.19.1
httpx 0.22.0
humanize 4.0.0
hvac 0.11.2
idna 2.10
importlib-metadata 3.10.1
importlib-resources 5.7.1
inflection 0.5.1
iso8601 0.1.13
isodate 0.6.0
itsdangerous 1.1.0
Jinja2 2.10.3
jmespath 0.10.0
joblib 1.0.0
json-merge-patch 0.2
jsonpath-ng 1.5.3
jsonschema 3.2.0
kiwisolver 1.4.2
kombu 5.2.4
kubernetes 23.3.0
lazy-object-proxy 1.4.3
ldap3 2.9.1
locket 1.0.0
lockfile 0.12.2
looker-sdk 22.4.0
lxml 4.8.0
Mako 1.1.4
Markdown 3.3.4
MarkupSafe 1.1.1
marshmallow 3.15.0
marshmallow-enum 1.5.1
marshmallow-oneofschema 3.0.1
marshmallow-sqlalchemy 0.26.1
matplotlib 3.5.2
msal 1.17.0
msal-extensions 0.3.1
msgpack 1.0.3
msrest 0.6.21
msrestazure 0.6.4
mypy-boto3-rds 1.22.0.post1
mypy-boto3-redshift-data 1.22.0.post1
mysql-connector-python 8.0.29
mysqlclient 2.1.0
natsort 7.1.0
nox 2020.12.31
numpy 1.19.5
oauthlib 3.1.0
openapi-spec-validator 0.2.9
oscrypto 1.2.1
packaging 21.3
pandas 0.25.3
pandas-gbq 0.17.4
paramiko 2.10.4
partd 1.2.0
pathspec 0.9.0
pendulum 2.1.2
Pillow 9.1.0
pip 22.0.4
platformdirs 2.5.2
plotly 5.7.0
pluggy 1.0.0
ply 3.11
portalocker 2.4.0
prison 0.2.1
prometheus-client 0.14.1
prompt-toolkit 3.0.29
proto-plus 1.18.1
protobuf 3.20.1
psutil 5.8.0
psycopg2-binary 2.9.3
py 1.11.0
pyarrow 6.0.1
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.20
pycryptodomex 3.9.9
pydata-google-auth 1.4.0
Pygments 2.7.4
PyJWT 1.7.1
PyNaCl 1.5.0
pyodbc 4.0.32
pyOpenSSL 19.1.0
pyparsing 2.4.7
pyrsistent 0.17.3
pysftp 0.2.9
python-daemon 2.3.0
python-dateutil 2.8.1
python-editor 1.0.4
python-http-client 3.3.7
python-ldap 3.4.0
python-nvd3 0.15.0
python-slugify 6.1.1
python3-openid 3.2.0
pytz 2020.5
pytzdata 2020.1
PyYAML 5.4.1
redis 3.5.3
redshift-connector 2.0.906
requests 2.27.1
requests-oauthlib 1.3.1
rfc3986 1.5.0
rich 12.3.0
rsa 4.8
s3transfer 0.3.4
scikit-learn 0.24.1
scipy 1.7.3
scramp 1.4.1
sendgrid 6.9.7
setproctitle 1.2.1
setuptools 57.5.0
six 1.15.0
sklearn 0.0
slack-sdk 3.15.2
slackclient 1.0.7
sniffio 1.2.0
snowflake-connector-python 2.7.7
snowflake-sqlalchemy 1.3.4
sortedcontainers 2.4.0
soupsieve 2.3.2.post1
SQLAlchemy 1.4.9
sqlalchemy-bigquery 1.4.3
SQLAlchemy-JSONField 1.0.0
sqlalchemy-redshift 0.8.9
SQLAlchemy-Utils 0.38.2
sqlparse 0.4.1
sshtunnel 0.4.0
starkbank-ecdsa 2.0.3
statsd 3.3.0
swagger-ui-bundle 0.0.8
tabulate 0.8.7
tblib 1.7.0
tenacity 8.0.1
termcolor 1.1.0
text-unidecode 1.3
threadpoolctl 3.1.0
thrift 0.13.0
toolz 0.11.2
tornado 6.1
typing_extensions 4.2.0
tzlocal 1.5.1
unicodecsv 0.14.1
uritemplate 3.0.1
urllib3 1.25.11
vine 5.0.0
virtualenv 20.14.1
watchtower 2.0.1
wcwidth 0.2.5
websocket-client 0.59.0
Werkzeug 1.0.1
wheel 0.37.1
wrapt 1.14.0
WTForms 2.3.3
zict 2.1.0
zipp 3.4.0
zope.deprecation 4.4.0
zope.event 4.5.0
zope.interface 5.4.0

HI I think this provider is not installed can you follow some steps to confirm if this is installed
first open cmd and write docker ps
Then copy the cluster id of the webserver which will be like in this picture cluster id will be like starting from 39d11(this will change your cluster id will be different )
after copying the cluster id can you go write this in cmd type
docker exec -it cluster-id /bin/bash
now when you are in the airflow cluster go to the airflow /dag folder and now type pip list and you can see there is no provider install and you have to install it here again thanks

Related

Python3 flask ModuleNotFoundError: No module named 'blurhash' error

I am new to Python. Recently, I am using Python 3.9.12 and Flask 2.1.2 to work on a project. When I run flask run, it throw me an error: ModuleNotFoundError: No module named 'blurhash'.However I have installed blurhash by pip3 install blurhash. When I do pip3 list, it shows:
Package Version
------------------ ---------
blurhash 1.1.4
certifi 2021.10.8
cffi 1.15.0
click 8.1.3
distlib 0.3.4
filelock 3.6.0
Flask 2.1.2
importlib-metadata 4.11.3
itsdangerous 2.1.2
Jinja2 3.1.2
MarkupSafe 2.1.1
Pillow 9.1.0
pip 22.0.4
pipenv 2022.5.2
platformdirs 2.5.2
pycparser 2.21
setuptools 60.10.0
six 1.16.0
virtualenv 20.14.1
virtualenv-clone 0.5.7
Werkzeug 2.1.2
wheel 0.37.1
zipp 3.8.0
Any ideas about this? Many Thanks!

Pyviz Panel app.show() Does Not Work When Using Jupyter Notebook Remotely

I installed Anaconda on a CentOS VM on an Ubuntu server. I then created a conda environment for all of my python data science libraries on this VM. I have a matching conda environment on my laptop.
I then followed this guide to allow me to perform data analytics on the server using a Jupyter notebook remotely on my laptop: https://amber-md.github.io/pytraj/latest/tutorials/remote_jupyter_notebook
I am able to successfully load my Jupyter notebook on my laptop and perform analytics on the server. I can also mark my completed app as .servable() in the notebook and then use panel serve --show ... on ther VM terminal to serve the completed interactive app to LAN users via a web browser.
My issue is that when I instead mark my app with .show() to allow me to view the app/report that I am currently working on in the notebook, I get the following message outputted: <bokeh.server.server.Server at 0x7faa92ef5590> but the app does not load in a new browser tab as expected.
How can I make app.show() work when using a Jupyter notebook remotely instead of locally?
Update 23/01/20 in response to #SandervandenOord's answer:
"You need to specify the port to .show() and make sure the user can access that port on the remote server"
For the illustration of this question(not actuals), say my server VM is address 192.168.0.1 and my laptop is 192.168.0.2 and the port that I want to use with app.show() is 3333.
1. Setup the port:
On the server (192.168.0.1):
Check that port 3333 is not being used:
sudo lsof -i:3333
Check that iptables aren't showing the port as open:
sudo iptables-save | grep 3333
Add the port to /etc/services file:
sudo nano /etc/services
I added the following line to the top of the file and saved:
# service-name port/protocol [aliases ...] [# comment]
bokeh-server 3333/tcp # Open port to allow app.show() to work on a remotely executed Jupyter Notebook
Enable the firewall:
sudo systemctl enable firewalld
Start the firewall:
sudo systemctl start firewalld
Check the status of the firewall:
sudo systemctl status firewalld
Confirm that this port is now open:
sudo iptables-save | grep 3333
Output:
-A IN_public_allow -p tcp -m tcp --dport 3333 -m conntrack --ctstate NEW -j ACCEPT
Test that the user can access the port on the server:
I installed ncat on the server (192.168.0.1):
sudo yum install nmap-ncat -y
Then I set up messaging between the server and my laptop:
On server:
nc -l 3333
On laptop:
nc 192.168.0.1 3333
and also between the laptop and the server:
On laptop:
nc -l 3333
On server:
nc 192.168.0.2 3333
Messages successfully make it from server to laptop and vice versa.
Confirmation of these two connections:
sudo lsof -i:3333
which outputted:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nc 1776 XXX 5u IPv4 23627 0t0 TCP vmserver:bokeh-server->192.168.0.2:55358 (ESTABLISHED)
nc 1846 XXX 3u IPv4 22895 0t0 TCP vmserver:33658->192.168.0.2:bokeh-server (ESTABLISHED)
showing that the server on port 3333 can communicate with the laptop on a different port and the laptop on port 3333 can communicate with the server on a different port.
I'm not sure how to make them connect on the same port though? ie both on port 3333? Is this the source of my issue?
Then in my jupyter notebook, I replaced app.show() with
app.show(port=3333, websocket_origin=None, threaded=False)
However I am still experiencing the same behaviour as previously in that the app does not load in a new browser tab as expected.
I then experimented with parameters websocket_origin (tried "192.168.0.1","192.168.0.2" and "*") and threaded (True/False) but changing these didn't give my desired result of the app loading in a new browser tab.
A couple of interesting points:
1. If I run my notebook which executes
app.show(port=3333, websocket_origin=None, threaded=False)
and then on the server run:
sudo lsof -i:3333 then the following is returned:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ZMQbg/1 19328 xxx 45u IPv4 83214 0t0 TCP *:bokeh-server (LISTEN)
ZMQbg/1 19328 xxx 54u IPv6 83215 0t0 TCP *:bokeh-server (LISTEN)
It seems like the server is waiting for something to happen on port 3333? ie LISTEN? Unlike when I was messaging between the server and my laptop (and vice versa) there doesn't actually seem to be an ESTABLISHED connection though.
Please note that those 2 lines above only appear after I run the notebook.
After I have executed my notebook (and the app in the new tab hasn't opened), if I try to execute the notebook again then I get this warning in my jupyter notebook:
OSError: [Errno 98] Address already in use
So it does seem like the connection between the server and laptop has been ESTABLISHED or at very least reserved? To fix this, I then have to close the connection to my server and then on my laptop run the command:
lsof -ti:8888 | xargs kill -1 before then reestablishing my connection between the server and my laptop as per https://amber-md.github.io/pytraj/latest/tutorials/remote_jupyter_notebook
#SandervandenOord do you have any pointers as to what I could try next?
Many thanks in advance.
Software versions on the conda environment on the VM:
# Name Version Build Channel
_anaconda_depends 2019.03 py37_0
_libgcc_mutex 0.1 main
alabaster 0.7.12 py37_0
anaconda custom py37_1
anaconda-client 1.7.2 py37_0
anaconda-project 0.8.4 py_0
arrow-cpp 0.11.1 py37h0e61e49_1004 conda-forge
asn1crypto 1.3.0 py37_0
astroid 2.3.3 py37_0
astropy 4.0 py37h7b6447c_0
atomicwrites 1.3.0 py37_1
attrs 19.3.0 py_0
babel 2.8.0 py_0
backcall 0.1.0 py37_0
backports 1.0 py_2
backports.os 0.1.1 py37_0
backports.shutil_get_terminal_size 1.0.0 py37_2
beautifulsoup4 4.8.2 py37_0
bitarray 1.2.0 py37h7b6447c_0
bkcharts 0.2 py37_0
blas 1.0 mkl
bleach 3.1.0 py37_0
blosc 1.16.3 hd408876_0
bokeh 1.4.0 py37_0
boost-cpp 1.68.0 h11c811c_1000 conda-forge
boto 2.49.0 py37_0
bottleneck 1.3.1 py37hdd07704_0
bzip2 1.0.8 h7b6447c_0
ca-certificates 2019.11.28 hecc5488_0 conda-forge
cairo 1.14.12 h8948797_3
cartopy 0.17.0 py37hbb7e04d_1
certifi 2019.11.28 py37_0
cffi 1.13.2 py37h2e261b9_0
cftime 1.0.4.2 py37hdd07704_0
chardet 3.0.4 py37_1003
click 7.0 py37_0
click-plugins 1.1.1 py_0
cligj 0.5.0 py37_0
cloudpickle 1.2.2 py_0
clyent 1.2.2 py37_1
colorama 0.4.3 py_0
colorcet 2.0.2 py_0 pyviz
contextlib2 0.6.0.post1 py_0
cryptography 2.8 py37h1ba5d50_0
curl 7.67.0 hbc83047_0
cycler 0.10.0 py37_0
cython 0.29.14 py37he6710b0_0
cytoolz 0.10.1 py37h7b6447c_0
dask 2.9.1 py_0
dask-core 2.9.1 py_0
datashader 0.9.0 py_0 pyviz
datashape 0.5.4 py37_1
dbus 1.13.12 h746ee38_0
decorator 4.4.1 py_0
defusedxml 0.6.0 py_0
distributed 2.9.1 py_0
docutils 0.15.2 py37_0
entrypoints 0.3 py37_0
et_xmlfile 1.0.1 py37_0
expat 2.2.6 he6710b0_0
fastcache 1.1.0 py37h7b6447c_0
feather-format 0.4.0 py_1003 conda-forge
filelock 3.0.12 py_0
fiona 1.8.4 py37hc38cc03_0
flask 1.1.1 py_0
fontconfig 2.13.0 h9420a91_0
freetype 2.9.1 h8a8886c_1
freexl 1.0.5 h14c3975_0
fribidi 1.0.5 h7b6447c_0
fsspec 0.6.2 py_0
gdal 2.3.3 py37hbb2a789_0
geopandas 0.6.1 py_0
geos 3.7.1 he6710b0_0
geoviews 1.6.6 py_0 pyviz
geoviews-core 1.6.6 py_0 pyviz
get_terminal_size 1.0.0 haa9412d_0
gevent 1.4.0 py37h7b6447c_0
giflib 5.1.4 h14c3975_1
glib 2.63.1 h5a9c865_0
glob2 0.7 py_0
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
hdf4 4.2.13 h3ca952b_2
hdf5 1.10.4 hb1b8bf9_0
heapdict 1.0.1 py_0
holoviews 1.12.7 py_0 pyviz
html5lib 1.0.1 py37_0
hvplot 0.5.2 py_0 pyviz
hypothesis 4.54.2 py37_0
icu 58.2 h9c2bf20_1
idna 2.8 py37_0
imageio 2.6.1 py37_0
imagesize 1.2.0 py_0
importlib_metadata 1.3.0 py37_0
intel-openmp 2019.4 243
ipykernel 5.1.3 py37h39e3cac_1
ipython 7.11.1 py37h39e3cac_0
ipython_genutils 0.2.0 py37_0
ipywidgets 7.5.1 py_0
isort 4.3.21 py37_0
itsdangerous 1.1.0 py37_0
jbig 2.1 hdba287a_0
jdcal 1.4.1 py_0
jedi 0.15.2 py37_0
jeepney 0.4.2 py_0
jinja2 2.10.3 py_0
joblib 0.14.1 py_0
jpeg 9b h024ee3a_2
json-c 0.13.1 h1bed415_0
json5 0.8.5 py_0
jsonschema 3.2.0 py37_0
jupyter 1.0.0 py37_7
jupyter_client 5.3.4 py37_0
jupyter_console 6.0.0 py37_0
jupyter_core 4.6.1 py37_0
jupyterlab 1.2.4 pyhf63ae98_0
jupyterlab_server 1.0.6 py_0
kealib 1.4.7 hd0c454d_6
keyring 20.0.0 py37_0
kiwisolver 1.1.0 py37he6710b0_0
krb5 1.16.4 h173b8e3_0
lazy-object-proxy 1.4.3 py37h7b6447c_0
ld_impl_linux-64 2.33.1 h53a641e_7
libarchive 3.3.3 h5d8350f_5
libboost 1.67.0 h46d08c1_4
libcurl 7.67.0 h20c2e04_0
libdap4 3.19.1 h6ec2957_0
libedit 3.1.20181209 hc058e9b_0
libffi 3.2.1 hd88cf55_4
libgcc-ng 9.1.0 hdf63c60_0
libgdal 2.3.3 h2e7e64b_0
libgfortran-ng 7.3.0 hdf63c60_0
libkml 1.3.0 h590aaf7_4
liblief 0.9.0 h7725739_2
libnetcdf 4.6.1 h11d0813_2
libpng 1.6.37 hbc83047_0
libpq 11.2 h20c2e04_0
libprotobuf 3.6.1 hdbcaa40_1001 conda-forge
libsodium 1.0.16 h1bed415_0
libspatialindex 1.9.3 he6710b0_0
libspatialite 4.3.0a hb08deb6_19
libssh2 1.8.2 h1ba5d50_0
libstdcxx-ng 9.1.0 hdf63c60_0
libtiff 4.1.0 h2733197_0
libtool 2.4.6 h7b6447c_5
libuuid 1.0.3 h1bed415_2
libxcb 1.13 h1bed415_1
libxml2 2.9.9 hea5a465_1
libxslt 1.1.33 h7d1a2b0_0
llvmlite 0.31.0 py37hd408876_0
locket 0.2.0 py37_1
lxml 4.4.2 py37hefd8a0e_0
lz4-c 1.8.1.2 h14c3975_0
lzo 2.10 h49e0be7_2
markdown 3.1.1 py37_0
markupsafe 1.1.1 py37h7b6447c_0
matplotlib 3.1.1 py37h5429711_0
mccabe 0.6.1 py37_1
mistune 0.8.4 py37h7b6447c_0
mkl 2019.4 243
mkl-service 2.3.0 py37he904b0f_0
mkl_fft 1.0.15 py37ha843d7b_0
mkl_random 1.1.0 py37hd6b4f25_0
mock 3.0.5 py37_0
more-itertools 8.0.2 py_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
munch 2.5.0 py_0
nbconvert 5.6.1 py37_0
nbformat 4.4.0 py37_0
ncurses 6.1 he6710b0_1
netcdf4 1.4.2 py37h808af73_0
networkx 2.4 py_0
nltk 3.4.5 py37_0
nose 1.3.7 py37_2
notebook 6.0.2 py37_0
numba 0.47.0 py37h962f231_0
numexpr 2.7.0 py37h9e4a6bb_0
numpy 1.17.4 py37hc1035e2_0
numpy-base 1.17.4 py37hde5b4d6_0
numpydoc 0.9.2 py_0
olefile 0.46 py37_0
openjpeg 2.3.0 h05c96fa_1
openpyxl 3.0.2 py_0
openssl 1.1.1d h7b6447c_3
owslib 0.18.0 py_0
packaging 20.0 py_0
pandas 0.25.3 py37he6710b0_0
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py37_1
panel 0.7.0 py_0 pyviz
pango 1.42.4 h049681c_0
param 1.9.2 py_0 pyviz
parquet-cpp 1.5.1 3 conda-forge
parso 0.5.2 py_0
partd 1.1.0 py_0
patchelf 0.10 he6710b0_0
path 13.1.0 py37_0
path.py 12.4.0 0
pathlib2 2.3.5 py37_0
patsy 0.5.1 py37_0
pcre 8.43 he6710b0_0
pep8 1.7.1 py37_0
pexpect 4.7.0 py37_0
pickleshare 0.7.5 py37_0
pillow 7.0.0 py37hb39fc2d_0
pip 19.3.1 py37_0
pixman 0.38.0 h7b6447c_0
pkginfo 1.5.0.1 py37_0
plotly 4.4.1 py_0 plotly
plotly_express 0.4.1 py_0 plotly
pluggy 0.13.1 py37_0
ply 3.11 py37_0
poppler 0.65.0 h581218d_1
poppler-data 0.4.9 0
proj4 5.2.0 he6710b0_1
prometheus_client 0.7.1 py_0
prompt_toolkit 2.0.9 py37_0
psutil 5.6.7 py37h7b6447c_0
ptyprocess 0.6.0 py37_0
py 1.8.1 py_0
py-lief 0.9.0 py37h7725739_2
pyarrow 0.11.1 py37hbbcf98d_1002 conda-forge
pycodestyle 2.5.0 py37_0
pycosat 0.6.3 py37h7b6447c_0
pycparser 2.19 py37_0
pycrypto 2.6.1 py37h14c3975_9
pyct 0.4.6 py_0 pyviz
pyct-core 0.4.6 py_0 pyviz
pycurl 7.43.0.3 py37h1ba5d50_0
pyepsg 0.4.0 py37_0
pyflakes 2.1.1 py37_0
pygments 2.5.2 py_0
pykdtree 1.3.1 py37hdd07704_2
pylint 2.4.4 py37_0
pyodbc 4.0.27 py37he6710b0_0
pyopenssl 19.1.0 py37_0
pyparsing 2.4.6 py_0
pyproj 1.9.6 py37h14380d9_0
pyqt 5.9.2 py37h05f1152_2
pyrsistent 0.15.6 py37h7b6447c_0
pyshp 2.1.0 py_0
pysocks 1.7.1 py37_0
pytables 3.6.1 py37h71ec239_0
pytest 5.3.2 py37_0
pytest-arraydiff 0.3 py37h39e3cac_0
pytest-astropy 0.7.0 py_0
pytest-astropy-header 0.1.1 py_0
pytest-doctestplus 0.5.0 py_0
pytest-openfiles 0.4.0 py_0
pytest-remotedata 0.3.2 py37_0
python 3.7.6 h0371630_2
python-dateutil 2.8.1 py_0
python-libarchive-c 2.8 py37_13
pytz 2019.3 py_0
pyviz_comms 0.7.2 py_0 pyviz
pywavelets 1.1.1 py37h7b6447c_0
pyyaml 5.2 py37h7b6447c_0
pyzmq 18.1.0 py37he6710b0_0
qt 5.9.7 h5867ecd_1
qtawesome 0.6.0 py_0
qtconsole 4.6.0 py_1
qtpy 1.9.0 py_0
readline 7.0 h7b6447c_5
requests 2.22.0 py37_1
retrying 1.3.3 py37_2
rope 0.14.0 py_0
rtree 0.8.3 py37_0
ruamel_yaml 0.15.87 py37h7b6447c_0
scikit-image 0.15.0 py37he6710b0_0
scikit-learn 0.22.1 py37hd81dba3_0
scipy 1.3.2 py37h7c811a0_0
seaborn 0.9.0 pyh91ea838_1
secretstorage 3.1.1 py37_0
send2trash 1.5.0 py37_0
setuptools 44.0.0 py37_0
shapely 1.6.4 py37h86c5351_0
simplegeneric 0.8.1 py37_2
singledispatch 3.4.0.3 py37_0
sip 4.19.8 py37hf484d3e_0
six 1.13.0 py37_0
snappy 1.1.7 hbae5bb6_3
snowballstemmer 2.0.0 py_0
sortedcollections 1.1.2 py37_0
sortedcontainers 2.1.0 py37_0
soupsieve 1.9.5 py37_0
sphinx 2.3.1 py_0
sphinxcontrib 1.0 py37_1
sphinxcontrib-applehelp 1.0.1 py_0
sphinxcontrib-devhelp 1.0.1 py_0
sphinxcontrib-htmlhelp 1.0.2 py_0
sphinxcontrib-jsmath 1.0.1 py_0
sphinxcontrib-qthelp 1.0.2 py_0
sphinxcontrib-serializinghtml 1.1.3 py_0
sphinxcontrib-websupport 1.1.2 py_0
spyder 3.3.6 py37_0
spyder-kernels 0.5.2 py37_0
sqlalchemy 1.3.12 py37h7b6447c_0
sqlite 3.30.1 h7b6447c_0
statsmodels 0.10.1 py37hdd07704_0
sympy 1.5.1 py37_0
tbb 2019.8 hfd86e86_0
tblib 1.6.0 py_0
terminado 0.8.3 py37_0
testpath 0.4.4 py_0
thrift-cpp 0.12.0 h0a07b25_1002 conda-forge
tk 8.6.8 hbc83047_0
toolz 0.10.0 py_0
tornado 6.0.3 py37h7b6447c_0
tqdm 4.41.1 py_0
traitlets 4.3.3 py37_0
unicodecsv 0.14.1 py37_0
unixodbc 2.3.7 h14c3975_0
urllib3 1.25.7 py37_0
wcwidth 0.1.7 py37_0
webencodings 0.5.1 py37_1
werkzeug 0.16.0 py_0
wheel 0.33.6 py37_0
widgetsnbextension 3.5.1 py37_0
wrapt 1.11.2 py37h7b6447c_0
wurlitzer 2.0.0 py37_0
xarray 0.14.1 py_1
xerces-c 3.2.2 h780794e_0
xlrd 1.2.0 py37_0
xlsxwriter 1.2.7 py_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 1.0.0 py_0
zipp 0.6.0 py_0
zlib 1.2.11 h7b6447c_3
zstd 1.3.7 h0b5b093_0
You need to specify the port to .show() and make sure the user can access that port on the remote server:
Signature: .show(port=0, websocket_origin=None, threaded=False)
Docstring:
Starts a bokeh server and displays the Viewable in a new tab
Arguments
---------
port: int (optional, default=0)
Allows specifying a specific port
websocket_origin: str or list(str) (optional)
A list of hosts that can connect to the websocket.
This is typically required when embedding a server app in
an external web site.
If None, "localhost" is used.
threaded: boolean (optional, default=False)
Whether to launch the Server on a separate thread, allowing
interactive use.
Returns
-------
server: bokeh.server.Server or threading.Thread
Returns the bokeh server instance or the thread the server
was launched on (if threaded=True)

Error When Connecting to MongoDB on Atlas Using Python3 and MongoAlchemy

I am connecting to a cluster set up on MongoDB Atlas using the connection string given on the site.
I am running python3 and then run the import db from my module.
I get the error "pymongo.errors.InvalidURI: Invalid URI scheme: mongodb+srv"
My code looks like:
app.config["MONGOALCHEMY_DATABASE"] = "<CLUSTER NAME>"
app.config["MONGOALCHEMY_CONNECTION_STRING"] = "mongodb+srv://<REST OF URL GIVEN"
My install list looks as:
Package Version
bcrypt 3.1.7
cffi 1.12.3
Click 7.0
Flask 1.1.0
Flask-Bcrypt 0.7.1
Flask-Login 0.4.1
Flask-MongoAlchemy 0.7.2
Flask-PyMongo 0.5.2
Flask-SQLAlchemy 2.4.0
Flask-WTF 0.14.2
itsdangerous 1.1.0
Jinja2 2.10.1
MarkupSafe 1.1.1
MongoAlchemy 0.19
pip 19.1.1
pkg-resources 0.0.0
pycparser 2.19
pymongo 2.8.1
setuptools 41.0.1
six 1.12.0
SQLAlchemy 1.3.5
Werkzeug 0.15.4
wheel 0.33.4
WTForms 2.2.1
It seems to work now since I installed an earlier version with pip3 install Flask-MongoAlchemy==0.7.1
It now seems to connect, but I am running into other problems now.

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

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

Pandas Datareader - Module not found after installation

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.

Resources