I created my own virtual environment for my work in python anaconda. I installed tensor flow and checked my version as tensorboard 2.3.1 pypi_0 pypi. However, when I am trying to import the following libraries
from keras.models import Sequential
from keras.layers import Dense
from keras.layers import LSTM
But even after installing tensor flow and with an upgraded version, I am getting the following error
`ImportError: Traceback (most recent call last):
File "C:\Users\rp603\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
<ipython-input-37-c947233989bd> in <module>
----> 1 from keras.models import Sequential
2 from keras.layers import Dense
3 from keras.layers import LSTM
~\Anaconda3\envs\ML\lib\site-packages\keras\__init__.py in <module>
4 except ImportError:
5 raise ImportError(
----> 6 'Keras requires TensorFlow 2.2 or higher. '
7 'Install TensorFlow via `pip install tensorflow`')
8
ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via `pip install tensorflow`
Any help on how to solve this issue and install using anaconda? Thanks in advance
The output of conda list on my environment as follows
(ML) C:\Users\rp603>conda list
# packages in environment at C:\Users\rp603\Anaconda3\envs\ML:
#
# Name Version Build Channel
_tflow_select 2.2.0 eigen
absl-py 0.11.0 py37haa95532_0
aiohttp 3.7.2 py37h2bbff1b_1
alabaster 0.7.12 py37_0
argh 0.26.2 py37_0
argon2-cffi 20.1.0 py37he774522_1
astor 0.8.1 py37_0
astroid 2.4.2 py37_0
async-timeout 3.0.1 py37_0
async_generator 1.10 py37h28b3542_0
atomicwrites 1.4.0 py_0
attrs 20.3.0 pyhd3eb1b0_0
autopep8 1.5.4 py_0
babel 2.8.1 pyhd3eb1b0_0
backcall 0.2.0 py_0
bcrypt 3.2.0 py37he774522_0
blas 1.0 mkl
bleach 3.2.1 py_0
blinker 1.4 py37_0
brotlipy 0.7.0 py37h2bbff1b_1003
ca-certificates 2020.10.14 0
cached-property 1.5.2 pypi_0 pypi
cachetools 4.1.1 py_0
certifi 2020.6.20 pyhd3eb1b0_3
cffi 1.14.3 py37hcd4344a_2
chardet 3.0.4 py37haa95532_1003
click 7.1.2 py_0
cloudpickle 1.6.0 py_0
colorama 0.4.4 py_0
cpuonly 1.0 0 pytorch
cryptography 3.2.1 py37hcd4344a_1
cycler 0.10.0 py37_0
decorator 4.4.2 py_0
defusedxml 0.6.0 py_0
diff-match-patch 20200713 py_0
docutils 0.16 py37_1
entrypoints 0.3 py37_0
flake8 3.8.4 py_0
freetype 2.10.4 hd328e21_0
future 0.18.2 py37_1
gast 0.2.2 py37_0
google-auth 1.23.0 pyhd3eb1b0_0
google-auth-oauthlib 0.4.2 pyhd3eb1b0_2
google-pasta 0.2.0 py_0
gpytorch 1.2.0 py_0 conda-forge
grpcio 1.31.0 py37he7da953_0
h5py 3.1.0 pypi_0 pypi
hdf5 1.10.4 h7ebc959_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha925a31_3
idna 2.10 py_0
imagesize 1.2.0 py_0
importlib-metadata 2.0.0 py_1
importlib_metadata 2.0.0 1
intel-openmp 2020.2 254
intervaltree 3.1.0 py_0
ipykernel 5.3.4 py37h5ca1d4c_0
ipython 7.19.0 py37hd4e2768_0
ipython_genutils 0.2.0 py37_0
isort 5.6.4 py_0
jedi 0.17.1 py37_0
jinja2 2.11.2 py_0
joblib 0.17.0 py_0
jpeg 9b hb83a4c4_2
jsonschema 3.2.0 py_2
jupyter_client 6.1.7 py_0
jupyter_core 4.6.3 py37_0
jupyterlab_pygments 0.1.2 py_0
keras 2.4.3 pypi_0 pypi
keras-applications 1.0.8 py_1
keras-preprocessing 1.1.0 py_1
keyring 21.4.0 py37_1
kiwisolver 1.3.0 py37hd77b12b_0
lazy-object-proxy 1.4.3 py37he774522_0
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.13.0.1 h200bbdf_0
libsodium 1.0.18 h62dcd97_0
libspatialindex 1.9.3 h33f27b4_0
libtiff 4.1.0 h56a325e_1
libuv 1.40.0 he774522_0
lz4-c 1.9.2 hf4a77e7_3
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 3.3.3 py37haa95532_0
markupsafe 1.1.1 py37hfa6e2cd_1
matplotlib 3.3.2 0
matplotlib-base 3.3.2 py37hba9282a_0
mccabe 0.6.1 py37_1
mistune 0.8.4 py37hfa6e2cd_1001
mkl 2020.2 256
mkl-service 2.3.0 py37h2bbff1b_0
mkl_fft 1.2.0 py37h45dec08_0
mkl_random 1.1.1 py37h47e9c7a_0
msys2-conda-epoch 20160418 1
multidict 4.7.6 py37he774522_1
nbclient 0.5.1 py_0
nbconvert 6.0.7 py37_0
nbformat 5.0.8 py_0
nest-asyncio 1.4.2 pyhd3eb1b0_0
ninja 1.10.1 py37h7ef1ec2_0
notebook 6.1.4 py37_0
numpy 1.19.4 pypi_0 pypi
numpy-base 1.19.2 py37ha3acd2a_0
numpydoc 1.1.0 pyhd3eb1b0_1
oauthlib 3.1.0 py_0
olefile 0.46 py37_0
openssl 1.1.1h he774522_0
opt_einsum 3.1.0 py_0
packaging 20.4 py_0
pandas 1.1.3 py37ha925a31_0
pandoc 2.11 h9490d1a_0
pandocfilters 1.4.3 py37haa95532_1
paramiko 2.7.2 py_0
parso 0.7.0 py_0
pathtools 0.1.2 py_1
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 py37_1001
pillow 8.0.1 py37h4fa10fc_0
pip 20.2.4 py37haa95532_0
pluggy 0.13.1 py37_0
prometheus_client 0.8.0 py_0
prompt-toolkit 3.0.8 py_0
protobuf 3.13.0.1 py37ha925a31_1
psutil 5.7.2 py37he774522_0
ptyprocess 0.6.0 pyhd3eb1b0_2
pyasn1 0.4.8 py_0
pyasn1-modules 0.2.8 py_0
pycodestyle 2.6.0 py_0
pycparser 2.20 py_2
pydocstyle 5.1.1 py_0
pyflakes 2.2.0 py_0
pygments 2.7.2 pyhd3eb1b0_0
pyjwt 1.7.1 py37_0
pylint 2.6.0 py37_0
pynacl 1.4.0 py37h62dcd97_1
pyopenssl 19.1.0 pyhd3eb1b0_1
pyparsing 2.4.7 py_0
pyqt 5.9.2 py37h6538335_2
pyreadline 2.1 py37_1
pyrsistent 0.17.3 py37he774522_0
pysocks 1.7.1 py37_1
python 3.7.9 h60c2a47_0
python-dateutil 2.8.1 py_0
python-jsonrpc-server 0.4.0 py_0
python-language-server 0.35.1 py_0
python_abi 3.7 1_cp37m conda-forge
pytorch 1.7.0 py3.7_cpu_0 [cpuonly] pytorch
pytz 2020.1 py_0
pywin32 227 py37he774522_1
pywin32-ctypes 0.2.0 py37_1001
pywinpty 0.5.7 py37_0
pyyaml 5.3.1 pypi_0 pypi
pyzmq 19.0.2 py37ha925a31_1
qdarkstyle 2.8.1 py_0
qt 5.9.7 vc14h73c81de_0
qtawesome 1.0.1 py_0
qtconsole 4.7.7 py_0
qtpy 1.9.0 py_0
requests 2.24.0 py_0
requests-oauthlib 1.3.0 py_0
rope 0.18.0 py_0
rsa 4.6 py_0
rtree 0.9.4 py37h21ff451_1
scikit-learn 0.23.2 py37h47e9c7a_0
scipy 1.4.1 pypi_0 pypi
seaborn 0.11.0 py_0
send2trash 1.5.0 py37_0
setuptools 50.3.1 py37haa95532_1
sip 4.19.8 py37h6538335_0
six 1.15.0 py37haa95532_0
snowballstemmer 2.0.0 py_0
sortedcontainers 2.2.2 py_0
sphinx 3.2.1 py_0
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
spyder 4.1.5 py37_0
spyder-kernels 1.9.4 py37_0
sqlite 3.33.0 h2a8f88b_0
tensorboard 2.3.0 pyh4dce500_0
tensorboard-plugin-wit 1.6.0 py_0
tensorflow 2.3.1 pypi_0 pypi
tensorflow-estimator 2.3.0 pypi_0 pypi
termcolor 1.1.0 py37_1
terminado 0.9.1 py37_0
testpath 0.4.4 py_0
threadpoolctl 2.1.0 pyh5ca1d4c_0
tk 8.6.10 he774522_0
toml 0.10.1 py_0
torchaudio 0.7.0 py37 pytorch
torchvision 0.8.1 py37_cpu [cpuonly] pytorch
tornado 6.0.4 py37he774522_1
traitlets 5.0.5 py_0
typed-ast 1.4.1 py37he774522_0
typing-extensions 3.7.4.3 0
typing_extensions 3.7.4.3 py_0
ujson 4.0.1 py37ha925a31_0
urllib3 1.25.11 py_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_3
watchdog 0.10.3 py37_0
wcwidth 0.2.5 py_0
webencodings 0.5.1 py37_1
werkzeug 0.14.1 py37_0
wheel 0.35.1 pyhd3eb1b0_0
win_inet_pton 1.1.0 py37haa95532_0
wincertstore 0.2 py37_0
windrose 1.6.8 pyh9f0ad1d_0 conda-forge
winpty 0.4.3 4
wrapt 1.11.2 py37he774522_0
xlrd 1.2.0 pypi_0 pypi
xz 5.2.5 h62dcd97_0
yaml 0.2.5 he774522_0
yapf 0.30.0 py_0
yarl 1.5.1 py37he774522_0
zeromq 4.3.2 ha925a31_3
zipp 3.4.0 pyhd3eb1b0_0
zlib 1.2.11 h62dcd97_4
zstd 1.4.5 h04227a9_0
Your tensorflow is being imported from
File "C:\Users\rp603\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\pywrap_tensorflow.py"
which is a python 3.7 installation that is different from your anaconda one. You are likely seeing issues because of this.
Uninstall any python installation other than the anaconda one, you should not need them anymore. Also remove C:\Users\rp603\AppData\Roaming\Python\Python37 after uninstalling that python version to make sure no residues remain that can cause issues
Related
Last time I closed jupyter, there were a few files running(not sure if this had an effect on this problem) Now when trying to run it, it gives me an error. I tried running pip install markupsafe==2.0.1 in my command prompt and that didn't work. I've provided my pip and conda lists below because I believe some upgrade or installation that I did caused this. I had just installed a few things today.
Traceback (most recent call last):
File "C:\Users\crist\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in <module>
from notebook.notebookapp import main
File "C:\Users\crist\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 44, in <module>
from jinja2 import Environment, FileSystemLoader
File "C:\Users\crist\Anaconda3\lib\site-packages\jinja2\__init__.py", line 12, in <module>
from .environment import Environment
File "C:\Users\crist\Anaconda3\lib\site-packages\jinja2\environment.py", line 25, in <module>
from .defaults import BLOCK_END_STRING
File "C:\Users\crist\Anaconda3\lib\site-packages\jinja2\defaults.py", line 3, in <module>
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File "C:\Users\crist\Anaconda3\lib\site-packages\jinja2\filters.py", line 13, in <module>
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (C:\Users\crist\Anaconda3\lib\site-packages\markupsafe\__init__.py)
Conda list:
_anaconda_depends 2022.05 py39_0
_ipyw_jlab_nb_ext_conf 0.1.0 py39haa95532_0
absl-py 0.15.0 pypi_0 pypi
aiohttp 3.8.1 py39h2bbff1b_1
aiosignal 1.2.0 pyhd3eb1b0_0
alabaster 0.7.12 pyhd3eb1b0_0
anaconda custom py39_1
anaconda-client 1.9.0 py39haa95532_0
anaconda-navigator 2.2.0 py39haa95532_0
anaconda-project 0.10.2 pyhd3eb1b0_0
anyio 3.5.0 py39haa95532_0
appdirs 1.4.4 pyhd3eb1b0_0
argon2-cffi 21.3.0 pyhd3eb1b0_0
argon2-cffi-bindings 21.2.0 py39h2bbff1b_0
arrow 1.2.2 pyhd3eb1b0_0
astroid 2.6.6 py39haa95532_0
astropy 5.0.4 py39h080aedc_0
asttokens 2.0.5 pyhd3eb1b0_0
astunparse 1.6.3 pypi_0 pypi
async-timeout 4.0.1 pyhd3eb1b0_0
atomicwrites 1.4.0 py_0
attrs 21.4.0 pyhd3eb1b0_0
automat 20.2.0 py_0
autopep8 1.6.0 pyhd3eb1b0_0
babel 2.9.1 pyhd3eb1b0_0
backcall 0.2.0 pyhd3eb1b0_0
backports 1.1 pyhd3eb1b0_0
backports.functools_lru_cache 1.6.4 pyhd3eb1b0_0
backports.tempfile 1.0 pyhd3eb1b0_1
backports.weakref 1.0.post1 py_1
bcrypt 3.2.0 py39h196d8e1_0
beautifulsoup4 4.11.1 py39haa95532_0
binaryornot 0.4.4 pyhd3eb1b0_1
bitarray 2.4.1 py39h2bbff1b_0
bkcharts 0.2 py39haa95532_0
black 19.10b0 py_0
blas 1.0 mkl
bleach 4.1.0 pyhd3eb1b0_0
blosc 1.21.0 h19a0ad4_0
bokeh 2.4.2 py39haa95532_0
boto3 1.21.32 pyhd3eb1b0_0
botocore 1.24.32 pyhd3eb1b0_0
bottleneck 1.3.4 py39h080aedc_0
brotli 1.0.9 ha925a31_2
brotlipy 0.7.0 py39h2bbff1b_1003
bzip2 1.0.8 he774522_0
ca-certificates 2022.07.19 haa95532_0
cachetools 5.2.0 pypi_0 pypi
certifi 2022.9.24 py39haa95532_0
cffi 1.15.0 py39h2bbff1b_1
cfitsio 3.470 he774522_6
chardet 4.0.0 py39haa95532_1003
charls 2.2.0 h6c2663c_0
charset-normalizer 2.1.1 pypi_0 pypi
click 8.0.4 py39haa95532_0
cloudpickle 2.0.0 pyhd3eb1b0_0
clyent 1.2.2 py39haa95532_1
colorama 0.4.4 pyhd3eb1b0_0
colorcet 2.0.6 pyhd3eb1b0_0
comtypes 1.1.10 py39haa95532_1002
conda 22.9.0 py39haa95532_0
conda-build 3.21.8 py39haa95532_2
conda-content-trust 0.1.1 pyhd3eb1b0_0
conda-env 2.6.0 haa95532_1
conda-pack 0.6.0 pyhd3eb1b0_0
conda-package-handling 1.8.1 py39h8cc25b3_0
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 pyh2b92418_0
cookiecutter 1.7.3 pyhd3eb1b0_0
cryptography 3.4.8 py39h71e12ea_0
cssselect 1.1.0 pyhd3eb1b0_0
curl 7.82.0 h2bbff1b_0
cycler 0.11.0 pyhd3eb1b0_0
cython 0.29.28 py39hd77b12b_0
cytoolz 0.11.0 py39h2bbff1b_0
daal4py 2021.5.0 py39h8cb3d55_0
dal 2021.5.0 haa95532_796
dask 2022.2.1 pyhd3eb1b0_0
dask-core 2022.2.1 pyhd3eb1b0_0
dataclasses 0.8 pyh6d0b6a4_7
datashader 0.13.0 pyhd3eb1b0_1
datashape 0.5.4 py39haa95532_1
debugpy 1.5.1 py39hd77b12b_0
decorator 5.1.1 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
diff-match-patch 20200713 pyhd3eb1b0_0
dill 0.3.5.1 pypi_0 pypi
distributed 2022.2.1 pyhd3eb1b0_0
docutils 0.17.1 py39haa95532_1
entrypoints 0.4 py39haa95532_0
et_xmlfile 1.1.0 py39haa95532_0
executing 0.8.3 pyhd3eb1b0_0
filelock 3.6.0 pyhd3eb1b0_0
flake8 3.9.2 pyhd3eb1b0_0
flask 1.1.2 pyhd3eb1b0_0
flatbuffers 1.12 pypi_0 pypi
fonttools 4.25.0 pyhd3eb1b0_0
freetype 2.10.4 hd328e21_0
frozenlist 1.2.0 py39h2bbff1b_0
fsspec 2022.2.0 pyhd3eb1b0_0
future 0.18.2 py39haa95532_1
gast 0.4.0 pypi_0 pypi
gensim 4.1.2 py39hd77b12b_0
giflib 5.2.1 h62dcd97_0
glob2 0.7 pyhd3eb1b0_0
google-api-core 1.25.1 pyhd3eb1b0_0
google-auth 2.12.0 pypi_0 pypi
google-auth-oauthlib 0.4.6 pypi_0 pypi
google-cloud-core 1.7.1 pyhd3eb1b0_0
google-cloud-storage 1.31.0 py_0
google-crc32c 1.1.2 py39h2bbff1b_0
google-pasta 0.2.0 pypi_0 pypi
google-resumable-media 1.3.1 pyhd3eb1b0_1
googleapis-common-protos 1.53.0 py39h2eaa2aa_0
greenlet 1.1.1 py39hd77b12b_0
grpcio 1.34.1 pypi_0 pypi
h5py 3.1.0 pypi_0 pypi
hdf5 1.10.6 h7ebc959_0
heapdict 1.0.1 pyhd3eb1b0_0
holoviews 1.14.8 pyhd3eb1b0_0
hvplot 0.7.3 pyhd3eb1b0_1
hyperlink 21.0.0 pyhd3eb1b0_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha925a31_3
idna 3.4 pypi_0 pypi
imagecodecs 2021.8.26 py39ha1f97ea_0
imageio 2.9.0 pyhd3eb1b0_0
imagesize 1.3.0 pyhd3eb1b0_0
importlib-metadata 5.0.0 pypi_0 pypi
importlib_metadata 4.11.3 hd3eb1b0_0
incremental 21.3.0 pyhd3eb1b0_0
inflection 0.5.1 py39haa95532_0
iniconfig 1.1.1 pyhd3eb1b0_0
intake 0.6.5 pyhd3eb1b0_0
intel-openmp 2021.4.0 haa95532_3556
intervaltree 3.1.0 pyhd3eb1b0_0
ipykernel 6.9.1 py39haa95532_0
ipython 8.2.0 py39haa95532_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.5 pyhd3eb1b0_1
isort 5.9.3 pyhd3eb1b0_0
itemadapter 0.3.0 pyhd3eb1b0_0
itemloaders 1.0.4 pyhd3eb1b0_1
itsdangerous 2.0.1 pyhd3eb1b0_0
jdcal 1.4.1 pyhd3eb1b0_0
jedi 0.18.1 py39haa95532_1
jinja2 2.11.3 pyhd3eb1b0_0
jinja2-time 0.2.0 pyhd3eb1b0_3
jmespath 0.10.0 pyhd3eb1b0_0
joblib 1.1.0 pyhd3eb1b0_0
jpeg 9e h2bbff1b_0
jq 1.6 haa95532_1
json5 0.9.6 pyhd3eb1b0_0
jsonschema 4.4.0 py39haa95532_0
jupyter 1.0.0 py39haa95532_7
jupyter_client 6.1.12 pyhd3eb1b0_0
jupyter_console 6.4.0 pyhd3eb1b0_0
jupyter_core 4.9.2 py39haa95532_0
jupyter_server 1.13.5 pyhd3eb1b0_0
jupyterlab 3.3.2 pyhd3eb1b0_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 2.10.3 pyhd3eb1b0_1
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
keras-nightly 2.5.0.dev2021032900 pypi_0 pypi
keras-preprocessing 1.1.2 pypi_0 pypi
keyring 23.4.0 py39haa95532_0
kiwisolver 1.3.2 py39hd77b12b_0
lazy-object-proxy 1.6.0 py39h2bbff1b_0
lcms2 2.12 h83e58a3_0
lerc 3.0 hd77b12b_0
libaec 1.0.4 h33f27b4_1
libarchive 3.4.2 h5e25573_0
libcrc32c 1.1.1 ha925a31_2
libcurl 7.82.0 h86230a5_0
libdeflate 1.8 h2bbff1b_5
libiconv 1.16 h2bbff1b_2
liblief 0.11.5 hd77b12b_1
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.19.1 h23ce68f_0
libspatialindex 1.9.3 h6c2663c_0
libssh2 1.10.0 hcd4344a_0
libtiff 4.2.0 hd0e1b90_0
libwebp 1.2.2 h2bbff1b_0
libxml2 2.9.12 h0ad7f3c_0
libxslt 1.1.34 he774522_0
libzopfli 1.0.3 ha925a31_0
llvmlite 0.38.0 py39h23ce68f_0
locket 0.2.1 py39haa95532_2
lxml 4.8.0 py39h1985fb9_0
lz4-c 1.9.3 h2bbff1b_1
lzo 2.10 he774522_2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markdown 3.4.1 pypi_0 pypi
matplotlib 3.5.1 py39haa95532_1
matplotlib-base 3.5.1 py39hd77b12b_1
matplotlib-inline 0.1.2 pyhd3eb1b0_2
mccabe 0.6.1 py39haa95532_1
menuinst 1.4.18 py39h59b6b97_0
mistune 0.8.4 py39h2bbff1b_1000
mkl 2021.4.0 haa95532_640
mkl-service 2.4.0 py39h2bbff1b_0
mkl_fft 1.3.1 py39h277e83a_0
mkl_random 1.2.2 py39hf11a4ad_0
mock 4.0.3 pyhd3eb1b0_0
mpmath 1.2.1 py39haa95532_0
msgpack-python 1.0.2 py39h59b6b97_1
msys2-conda-epoch 20160418 1
multidict 5.1.0 py39h2bbff1b_2
multipledispatch 0.6.0 py39haa95532_0
munkres 1.1.4 py_0
mypy_extensions 0.4.3 py39haa95532_1
navigator-updater 0.2.1 py39_1
nbclassic 0.3.5 pyhd3eb1b0_0
nbclient 0.5.13 py39haa95532_0
nbconvert 6.4.4 py39haa95532_0
nbformat 5.3.0 py39haa95532_0
nest-asyncio 1.5.5 py39haa95532_0
networkx 2.7.1 pyhd3eb1b0_0
nltk 3.4 pypi_0 pypi
nose 1.3.7 pyhd3eb1b0_1008
notebook 6.4.8 py39haa95532_0
numba 0.55.1 py39hf11a4ad_0
numexpr 2.8.1 py39hb80d3ca_0
numpy 1.19.5 pypi_0 pypi
numpy-base 1.21.5 py39hca35cd5_1
numpydoc 1.2 pyhd3eb1b0_0
oauthlib 3.2.1 pypi_0 pypi
olefile 0.46 pyhd3eb1b0_0
openjpeg 2.4.0 h4fc8c34_0
openpyxl 3.0.9 pyhd3eb1b0_0
openssl 1.1.1q h2bbff1b_0
opt-einsum 3.3.0 pypi_0 pypi
packaging 21.3 pyhd3eb1b0_0
pandas 1.4.2 py39hd77b12b_0
pandocfilters 1.5.0 pyhd3eb1b0_0
panel 0.13.0 py39haa95532_0
param 1.12.0 pyhd3eb1b0_0
paramiko 2.8.1 pyhd3eb1b0_0
parsel 1.6.0 py39haa95532_0
parso 0.8.3 pyhd3eb1b0_0
partd 1.2.0 pyhd3eb1b0_1
pathspec 0.7.0 py_0
patsy 0.5.2 py39haa95532_1
pep8 1.7.1 py39haa95532_0
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 9.0.1 py39hdc2b20a_0
pip 22.2.2 pypi_0 pypi
pkginfo 1.8.2 pyhd3eb1b0_0
plotly 5.6.0 pyhd3eb1b0_0
pluggy 1.0.0 py39haa95532_1
powershell_shortcut 0.0.1 3
poyo 0.5.0 pyhd3eb1b0_0
prometheus_client 0.13.1 pyhd3eb1b0_0
prompt-toolkit 3.0.20 pyhd3eb1b0_0
prompt_toolkit 3.0.20 hd3eb1b0_0
protego 0.1.16 py_0
protobuf 3.19.6 pypi_0 pypi
psutil 5.8.0 py39h2bbff1b_1
ptyprocess 0.7.0 pyhd3eb1b0_2
pure_eval 0.2.2 pyhd3eb1b0_0
py 1.11.0 pyhd3eb1b0_0
py-lief 0.11.5 py39hd77b12b_1
pyasn1 0.4.8 pyhd3eb1b0_0
pyasn1-modules 0.2.8 pypi_0 pypi
pycodestyle 2.7.0 pyhd3eb1b0_0
pycosat 0.6.3 py39h2bbff1b_0
pycparser 2.21 pyhd3eb1b0_0
pyct 0.4.6 py39haa95532_0
pycurl 7.44.1 py39hcd4344a_1
pydispatcher 2.0.5 py39haa95532_2
pydocstyle 6.1.1 pyhd3eb1b0_0
pyerfa 2.0.0 py39h2bbff1b_0
pyflakes 2.3.1 pyhd3eb1b0_0
pygments 2.11.2 pyhd3eb1b0_0
pyhamcrest 2.0.2 pyhd3eb1b0_2
pyjwt 2.1.0 py39haa95532_0
pylint 2.9.6 py39haa95532_1
pyls-spyder 0.4.0 pyhd3eb1b0_0
pynacl 1.4.0 py39hbd8134f_1
pyodbc 4.0.32 py39hd77b12b_1
pyopenssl 21.0.0 pyhd3eb1b0_1
pyparsing 3.0.4 pyhd3eb1b0_0
pyqt 5.9.2 py39hd77b12b_6
pyreadline 2.1 py39haa95532_1
pyrsistent 0.18.0 py39h196d8e1_0
pysocks 1.7.1 py39haa95532_0
pytables 3.6.1 py39h56d22b6_1
pytest 7.1.1 py39haa95532_0
python 3.9.12 h6244533_0
python-dateutil 2.8.2 pyhd3eb1b0_0
python-fastjsonschema 2.15.1 pyhd3eb1b0_0
python-levenshtein 0.12.2 pypi_0 pypi
python-libarchive-c 2.9 pyhd3eb1b0_1
python-lsp-black 1.0.0 pyhd3eb1b0_0
python-lsp-jsonrpc 1.0.0 pyhd3eb1b0_0
python-lsp-server 1.2.4 pyhd3eb1b0_0
python-slugify 5.0.2 pyhd3eb1b0_0
python-snappy 0.6.0 py39hd77b12b_3
pytz 2021.3 pyhd3eb1b0_0
pyviz_comms 2.0.2 pyhd3eb1b0_0
pywavelets 1.3.0 py39h2bbff1b_0
pywin32 302 py39h2bbff1b_2
pywin32-ctypes 0.2.0 py39haa95532_1000
pywinpty 2.0.2 py39h5da7b33_0
pyyaml 6.0 py39h2bbff1b_1
pyzmq 22.3.0 py39hd77b12b_2
qdarkstyle 3.0.2 pyhd3eb1b0_0
qstylizer 0.1.10 pyhd3eb1b0_0
qt 5.9.7 vc14h73c81de_0
qtawesome 1.0.3 pyhd3eb1b0_0
qtconsole 5.3.0 pyhd3eb1b0_0
qtpy 2.0.1 pyhd3eb1b0_0
queuelib 1.5.0 py39haa95532_0
regex 2022.3.15 py39h2bbff1b_0
requests 2.28.1 pypi_0 pypi
requests-file 1.5.1 pyhd3eb1b0_0
requests-oauthlib 1.3.1 pypi_0 pypi
rope 0.22.0 pyhd3eb1b0_0
rsa 4.9 pypi_0 pypi
rtree 0.9.7 py39h2eaa2aa_1
ruamel_yaml 0.15.100 py39h2bbff1b_0
s3transfer 0.5.0 pyhd3eb1b0_0
scikit-image 0.19.2 py39hf11a4ad_0
scikit-learn 1.0.2 py39hf11a4ad_1
scikit-learn-intelex 2021.5.0 py39haa95532_0
scipy 1.7.3 py39h0a974cb_0
scrapy 2.6.1 py39haa95532_0
seaborn 0.11.2 pyhd3eb1b0_0
send2trash 1.8.0 pyhd3eb1b0_1
service_identity 18.1.0 pyhd3eb1b0_1
setuptools 65.4.1 pypi_0 pypi
singledispatch 3.7.0 pypi_0 pypi
sip 4.19.13 py39hd77b12b_0
six 1.15.0 pypi_0 pypi
smart_open 5.1.0 pyhd3eb1b0_0
snappy 1.1.9 h6c2663c_0
sniffio 1.2.0 py39haa95532_1
snowballstemmer 2.2.0 pyhd3eb1b0_0
sortedcollections 2.1.0 pyhd3eb1b0_0
sortedcontainers 2.4.0 pyhd3eb1b0_0
soupsieve 2.3.1 pyhd3eb1b0_0
sphinx 4.4.0 pyhd3eb1b0_0
sphinxcontrib-applehelp 1.0.2 pyhd3eb1b0_0
sphinxcontrib-devhelp 1.0.2 pyhd3eb1b0_0
sphinxcontrib-htmlhelp 2.0.0 pyhd3eb1b0_0
sphinxcontrib-jsmath 1.0.1 pyhd3eb1b0_0
sphinxcontrib-qthelp 1.0.3 pyhd3eb1b0_0
sphinxcontrib-serializinghtml 1.1.5 pyhd3eb1b0_0
spyder 5.1.5 py39haa95532_1
spyder-kernels 2.1.3 py39haa95532_0
sqlalchemy 1.4.32 py39h2bbff1b_0
sqlite 3.38.2 h2bbff1b_0
stack_data 0.2.0 pyhd3eb1b0_0
statsmodels 0.13.2 py39h2bbff1b_0
sympy 1.10.1 py39haa95532_0
tabulate 0.8.9 py39haa95532_0
tbb 2021.5.0 h59b6b97_0
tbb4py 2021.5.0 py39h59b6b97_0
tblib 1.7.0 pyhd3eb1b0_0
tenacity 8.0.1 py39haa95532_0
tensorboard 2.10.1 pypi_0 pypi
tensorboard-data-server 0.6.1 pypi_0 pypi
tensorboard-plugin-wit 1.8.1 pypi_0 pypi
tensorflow 2.5.0 pypi_0 pypi
tensorflow-estimator 2.5.0 pypi_0 pypi
termcolor 1.1.0 pypi_0 pypi
terminado 0.13.1 py39haa95532_0
testpath 0.5.0 pyhd3eb1b0_0
text-unidecode 1.3 pyhd3eb1b0_0
textdistance 4.2.1 pyhd3eb1b0_0
threadpoolctl 2.2.0 pyh0d69192_0
three-merge 0.1.1 pyhd3eb1b0_0
tifffile 2021.7.2 pyhd3eb1b0_2
tinycss 0.4 pyhd3eb1b0_1002
tk 8.6.11 h2bbff1b_0
tldextract 3.2.0 pyhd3eb1b0_0
toml 0.10.2 pyhd3eb1b0_0
tomli 1.2.2 pyhd3eb1b0_0
toolz 0.11.2 pyhd3eb1b0_0
tornado 6.1 py39h2bbff1b_0
tqdm 4.64.0 py39haa95532_0
traitlets 5.1.1 pyhd3eb1b0_0
twisted 22.2.0 py39h2bbff1b_0
twisted-iocpsupport 1.0.2 py39h2bbff1b_0
typed-ast 1.4.3 py39h2bbff1b_1
typing-extensions 3.7.4.3 pypi_0 pypi
typing_extensions 4.1.1 pyh06a4308_0
tzdata 2022a hda174b7_0
ujson 5.1.0 py39hd77b12b_0
unidecode 1.2.0 pyhd3eb1b0_0
urllib3 1.26.12 pypi_0 pypi
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
w3lib 1.21.0 pyhd3eb1b0_0
watchdog 2.1.6 py39haa95532_0
wcwidth 0.2.5 pyhd3eb1b0_0
webencodings 0.5.1 py39haa95532_1
websocket-client 0.58.0 py39haa95532_4
werkzeug 2.2.2 pypi_0 pypi
wheel 0.37.1 pypi_0 pypi
widgetsnbextension 3.5.2 py39haa95532_0
win_inet_pton 1.1.0 py39haa95532_0
win_unicode_console 0.5 py39haa95532_0
wincertstore 0.2 py39haa95532_2
winpty 0.4.3 4
wrapt 1.12.1 py39h196d8e1_1
xarray 0.20.1 pyhd3eb1b0_1
xgboost 1.6.2 pypi_0 pypi
xlrd 2.0.1 pyhd3eb1b0_0
xlsxwriter 3.0.3 pyhd3eb1b0_0
xlwings 0.24.9 py39haa95532_0
xz 5.2.5 h62dcd97_0
yaml 0.2.5 he774522_0
yapf 0.31.0 pyhd3eb1b0_0
yarl 1.6.3 py39h2bbff1b_0
zfp 0.5.5 hd77b12b_6
zict 2.0.0 pyhd3eb1b0_0
zipp 3.9.0 pypi_0 pypi
zlib 1.2.12 h8cc25b3_2
zope 1.0 py39haa95532_1
zope.interface 5.4.0 py39h2bbff1b_0
zstd 1.4.9 h19a0ad4_0
Pip list:
ansi2html 1.8.0
arrow 1.2.3
asttokens 2.0.8
attrs 22.1.0
aws-lambda-builders 1.19.0
aws-sam-cli 1.59.0
aws-sam-translator 1.52.0
backcall 0.2.0
backports.zoneinfo 0.2.1
binaryornot 0.4.4
boto3 1.24.89
botocore 1.27.89
Brotli 1.0.9
category-encoders 2.5.1.post0
certifi 2020.11.8
chardet 3.0.4
charset-normalizer 2.1.1
chevron 0.14.0
chromedriver-py 81.0.4044.69
click 8.1.3
colorama 0.4.3
contourpy 1.0.5
cookiecutter 2.1.1
cycler 0.11.0
Cython 3.0.0a11
darkdetect 0.1.1
dash 2.6.2
dash-core-components 2.0.0
dash-html-components 2.0.0
dash-table 5.0.0
dateparser 1.1.1
debugpy 1.6.3
decorator 5.1.1
Deprecated 1.2.13
docker 4.2.2
entrypoints 0.4
executing 1.1.1
Flask 2.2.2
Flask-Compress 1.13
Flask-Cors 3.0.10
fonttools 4.37.4
idna 2.10
imbalanced-learn 0.9.1
importlib-metadata 5.0.0
ipykernel 6.16.0
ipython 8.5.0
ipywidgets 8.0.2
itsdangerous 2.1.2
jedi 0.18.1
Jinja2 3.1.2
jinja2-time 0.2.0
jmespath 0.10.0
joblib 1.2.0
Js2Py 0.68
jsonschema 3.2.0
jupyter_client 7.3.5
jupyter_core 5.0.0rc1
jupyter-dash 0.4.2
jupyterlab-widgets 3.0.3
kaleido 0.2.1
kiwisolver 1.4.4
lightgbm 3.3.2
llvmlite 0.38.1
lxml 4.5.0
MarkupSafe 2.0.1
matplotlib 3.6.1
matplotlib-inline 0.1.6
nest-asyncio 1.5.6
nltk 3.4
numba 0.55.2
numpy 1.22.4
orjson 3.8.0
packaging 21.3
pandas 1.4.4
parso 0.8.3
patsy 0.5.2
pickleshare 0.7.5
Pillow 9.2.0
pip 22.2.2
platformdirs 2.5.2
plotly 5.10.0
plotly-resampler 0.8.2rc3
pmdarima 1.8.5
prompt-toolkit 3.0.31
psutil 5.9.2
pure-eval 0.2.2
pycaret 3.0.0rc4
pycryptodomex 3.9.9
Pygments 2.13.0
pyjsparser 2.7.1
pyod 1.0.5
pyparsing 3.0.9
pypiwin32 223
PyQt5 5.14.2
PyQt5-sip 12.8.1
pyrsistent 0.18.1
python-dateutil 2.8.2
python-Levenshtein 0.12.2
python-slugify 6.1.2
pytz 2020.4
pywin32 304
PyYAML 5.4.1
pyzmq 24.0.1
regex 2021.9.30
requests 2.28.1
retrying 1.3.3
s3transfer 0.6.0
schemdraw 0.15
scikit-learn 1.1.2
scikit-plot 0.3.7
scipy 1.8.1
selenium 3.141.0
serverlessrepo 0.1.10
setuptools 41.2.0
singledispatch 3.7.0
six 1.15.0
sktime 0.13.4
stack-data 0.5.1
statsmodels 0.13.2
tbats 1.1.1
tenacity 8.1.0
text-unidecode 1.3
threadpoolctl 3.1.0
tomlkit 0.7.2
tornado 6.2
tqdm 4.64.1
trace-updater 0.0.8
traitlets 5.4.0
typing-extensions 3.10.0.0
tzdata 2022.4
tzlocal 3.0
urllib3 1.25.11
watchdog 2.1.2
wcwidth 0.2.5
websocket-client 1.4.1
Werkzeug 2.2.2
wheel 0.37.1
widgetsnbextension 4.0.3
wrapt 1.14.1
yellowbrick 1.5
zipp 3.9.0
zmq 0.0.0
Can you please type pip freeze to check which is your current markupsafe version?
I used 'conda update conda' and I'm now having some problems. I'm on osx. I can no longer open the Anaconda-Navigator App from finder, nor start spyder or jupyter lab from the terminal. Below is the output I get if I try to open jupyter lab from the terminal.
I also added the contents of the base environment as requested.
I tried the command mentioned in this post but had no luck.
Error Running Jupyter Lab/Notebook and Most Conda Commands Following Update
Any help is much appreciated.
(base) Dylans-Mac-mini:~ dylanquinn$ jupyter lab
Traceback (most recent call last):
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/site-packages/jupyterlab_server/server.py", line 14, in <module>
from notebook.base.handlers import (
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/site-packages/notebook/base/handlers.py", line 35, in <module>
from notebook.utils import is_hidden, url_path_join, url_is_absolute, url_escape
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/site-packages/notebook/utils.py", line 10, in <module>
import ctypes
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ImportError: dlopen(/Users/dylanquinn/opt/anaconda3/lib/python3.7/lib-dynload/_ctypes.cpython-37m-darwin.so, 2): Library not loaded: #rpath/libffi.6.dylib
Referenced from: /Users/dylanquinn/opt/anaconda3/lib/python3.7/lib-dynload/_ctypes.cpython-37m-darwin.so
Reason: image not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/dylanquinn/opt/anaconda3/bin/jupyter-lab", line 6, in <module>
from jupyterlab.labapp import main
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/site-packages/jupyterlab/labapp.py", line 14, in <module>
from jupyterlab_server import slugify, WORKSPACE_EXTENSION
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/site-packages/jupyterlab_server/__init__.py", line 4, in <module>
from .app import LabServerApp
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/site-packages/jupyterlab_server/app.py", line 9, in <module>
from .server import ServerApp
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/site-packages/jupyterlab_server/server.py", line 26, in <module>
from jupyter_server.base.handlers import ( # noqa
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/site-packages/jupyter_server/base/handlers.py", line 43, in <module>
from jupyter_server.utils import is_hidden, url_path_join, url_is_absolute, url_escape
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/site-packages/jupyter_server/utils.py", line 8, in <module>
import ctypes
File "/Users/dylanquinn/opt/anaconda3/lib/python3.7/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ImportError: dlopen(/Users/dylanquinn/opt/anaconda3/lib/python3.7/lib-dynload/_ctypes.cpython-37m-darwin.so, 2): Library not loaded: #rpath/libffi.6.dylib
Referenced from: /Users/dylanquinn/opt/anaconda3/lib/python3.7/lib-dynload/_ctypes.cpython-37m-darwin.so
Reason: image not found
(base) Dylans-Mac-mini:~ dylanquinn$
# packages in environment at /Users/dylanquinn/opt/anaconda3:
#
# Name Version Build Channel
_anaconda_depends 2019.03 py37_0
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0
alabaster 0.7.12 py37_0
anaconda custom py37_1
anaconda-client 1.7.2 py37_0
anaconda-navigator 1.9.12 py37_0
anaconda-project 0.8.4 py_0
applaunchservices 0.2.1 py_0
appnope 0.1.0 py37_0
appscript 1.1.0 py37h1de35cc_0
apptools 4.4.0 py37_1
argh 0.26.2 py37_0
asgiref 3.2.7 py_0
asn1crypto 1.3.0 py37_0
astroid 2.4.1 py37_0
astropy 4.0.1.post1 py37h01d97ff_1
async_generator 1.10 py37h28b3542_0
atomicwrites 1.4.0 py_0
attrs 19.3.0 py_0
autopep8 1.4.4 py_0
babel 2.8.0 py_0
backcall 0.1.0 py37_0
backports 1.0 py_2
backports.functools_lru_cache 1.6.1 py_0
backports.os 0.1.1 py37_0
backports.shutil_get_terminal_size 1.0.0 py37_2
backports.tempfile 1.0 py_1
backports.weakref 1.0.post1 py_1
beautifulsoup4 4.9.0 py37_0
bitarray 1.2.1 py37h1de35cc_0
bkcharts 0.2 py37_0
blas 1.0 mkl
bleach 3.1.4 py_0
blosc 1.16.3 hd9629dc_0
bokeh 2.0.2 py37_0
boto 2.49.0 py37_0
bottleneck 1.3.2 py37h776bbcc_0
bs4 0.0.1 pypi_0 pypi
bzip2 1.0.8 h1de35cc_0
ca-certificates 2020.1.1 0
certifi 2020.4.5.1 py37_0
cffi 1.14.0 py37hc512035_1
chardet 3.0.4 py37_1003
click 7.1.2 py_0
cloudpickle 1.4.1 py_0
clyent 1.2.2 py37_1
colorama 0.4.3 py_0
conda 4.8.3 py37_0
conda-build 3.18.9 py37_3
conda-env 2.6.0 1
conda-package-handling 1.6.1 py37h1de35cc_0
conda-verify 3.4.2 py_1
configobj 5.0.6 py37_1
contextlib2 0.6.0.post1 py_0
cryptography 2.9.2 py37ha12b0ac_0
curl 7.69.1 ha441bb4_0
cycler 0.10.0 py37_0
cython 0.29.17 py37h0a44026_0
cytoolz 0.10.1 py37h1de35cc_0
dask 2.17.2 py_0
dask-core 2.17.2 py_0
dbus 1.13.14 h517e14e_0
decorator 4.4.2 py_0
defusedxml 0.6.0 py_0
diff-match-patch 20181111 py_0
distributed 2.17.0 py37_0
django 3.0.3 py_0
docutils 0.16 py37_0
entrypoints 0.3 py37_0
envisage 4.8.0 py_0
et_xmlfile 1.0.1 py37_0
expat 2.2.6 h0a44026_0
fastcache 1.1.0 py37h1de35cc_0
filelock 3.0.12 py_0
flake8 3.8.2 py_0
flask 1.1.2 py_0
freetype 2.9.1 hb4e5f40_0
fsspec 0.7.4 py_0
future 0.18.2 py37_0
get_terminal_size 1.0.0 h7520d66_0
gettext 0.19.8.1 hb0f4f8b_2
gevent 1.4.0 py37h1de35cc_0
glib 2.63.1 h70d4741_1
glob2 0.7 py_0
gmp 6.1.2 hb37e062_1
gmpy2 2.0.8 py37h6ef4df4_2
greenlet 0.4.15 py37h1de35cc_0
h5py 2.10.0 py37h3134771_0
hdf4 4.2.13 h39711bb_2
hdf5 1.10.4 hfa1e0ec_0
heapdict 1.0.1 py_0
html5lib 1.0.1 py37_0
hypothesis 5.11.0 py_0
icu 58.2 h0a44026_3
idna 2.9 py_1
imageio 2.8.0 py_0
imagesize 1.2.0 py_0
importlib-metadata 1.6.0 py37_0
importlib_metadata 1.6.0 0
intel-openmp 2019.4 233
intervaltree 3.0.2 py_0
ipykernel 5.1.4 py37h39e3cac_0
ipython 7.13.0 py37h5ca1d4c_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 h4d881f8_0
jdcal 1.4.1 py_0
jedi 0.15.2 py37_0
jinja2 2.11.2 py_0
joblib 0.15.1 py_0
jpeg 9b he5867d9_2
json5 0.9.4 py_0
jsoncpp 1.8.4 h04f5b5a_0
jsonschema 3.2.0 py37_0
jupyter 1.0.0 py37_7
jupyter_client 6.1.3 py_0
jupyter_console 6.1.0 py_0
jupyter_core 4.6.3 py37_0
jupyter_server 0.1.1 py37_0 conda-forge
jupyterlab 2.0.1 py_0 conda-forge
jupyterlab_pygments 0.1.0 py_0 conda-forge
jupyterlab_server 1.1.4 py_0
keyring 21.1.1 py37_2
kiwisolver 1.2.0 py37h04f5b5a_0
krb5 1.17.1 hddcf347_0
lazy-object-proxy 1.4.3 py37h1de35cc_0
libarchive 3.3.3 h786848e_5
libcurl 7.69.1 h051b688_0
libcxx 10.0.0 1
libcxxabi 4.0.1 hcfea43d_1
libedit 3.1.20181209 hb402a30_0
libffi 3.3 h0a44026_1
libgfortran 3.0.1 h93005f0_2
libiconv 1.16 h1de35cc_0
liblief 0.10.1 h0a44026_0
libnetcdf 4.6.1 hd5207e6_2
libogg 1.3.2 h1de35cc_0
libpng 1.6.37 ha441bb4_0
libsodium 1.0.16 h3efe00b_0
libspatialindex 1.9.3 h0a44026_0
libssh2 1.9.0 ha12b0ac_1
libtheora 1.1.1 hb4e5f40_1
libtiff 4.1.0 hcb84e12_0
libvorbis 1.3.6 h1de35cc_0
libxml2 2.9.9 hf6e021a_1
libxslt 1.1.33 h33a18ac_0
llvm-openmp 10.0.0 h28b9765_0
llvmlite 0.32.1 py37h8c7ce04_0
locket 0.2.0 py37_1
lxml 4.5.0 py37hef8c89e_0
lz4-c 1.8.1.2 h1de35cc_0
lzo 2.10 h1de35cc_2
markupsafe 1.1.1 py37h1de35cc_0
matplotlib 3.1.3 py37_0
matplotlib-base 3.1.3 py37h9aa3819_0
mayavi 4.7.1 py37hd5f3a30_2 anaconda
mccabe 0.6.1 py37_1
mistune 0.8.4 py37h1de35cc_0
mkl 2019.4 233
mkl-service 2.3.0 py37hfbe908c_0
mkl_fft 1.0.15 py37h5e564d8_0
mkl_random 1.1.1 py37h959d312_0
mock 4.0.2 py_0
more-itertools 8.3.0 py_0
mpc 1.1.0 h6ef4df4_1
mpfr 4.0.1 h3018a27_3
mpmath 1.1.0 py37_0
msgpack-python 1.0.0 py37h04f5b5a_1
multipledispatch 0.6.0 py37_0
multitasking 0.0.9 pypi_0 pypi
navigator-updater 0.2.1 py37_0
nbconvert 5.6.1 py37_0
nbformat 5.0.6 py_0
ncurses 6.2 h0a44026_1
networkx 2.4 py_0
nltk 3.4.5 py37_0
nose 1.3.7 py37_2
notebook 6.0.3 py37_0 conda-forge
numba 0.49.1 py37h86efe34_0
numexpr 2.7.1 py37hce01a72_0
numpy 1.18.1 py37h7241aed_0
numpy-base 1.18.1 py37h3304bdc_1
numpydoc 0.9.2 py_0
olefile 0.46 py37_0
opencv-python 4.2.0.34 pypi_0 pypi
openpyxl 3.0.3 py_0
openssl 1.1.1g h1de35cc_0
packaging 20.3 py_0
pandas 1.0.3 py37h6c726b0_0
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py37_1
parso 0.5.2 py_0
partd 1.1.0 py_0
path.py 11.5.0 py37_0
pathlib2 2.3.5 py37_0
pathtools 0.1.2 py_1
patsy 0.5.1 py37_0
pcre 8.43 h0a44026_0
pep8 1.7.1 py37_0
pexpect 4.8.0 py37_0
pickleshare 0.7.5 py37_0
pillow 7.1.2 py37h4655f20_0
pip 20.0.2 py37_3
pkginfo 1.5.0.1 py37_0
pluggy 0.13.1 py37_0
ply 3.11 py37_0
prometheus_client 0.7.1 py_0
prompt-toolkit 3.0.4 py_0
prompt_toolkit 3.0.4 0
psutil 5.7.0 py37h1de35cc_0
ptyprocess 0.6.0 py37_0
py 1.8.1 py_0
py-lief 0.10.1 py37haf313ee_0
pycodestyle 2.6.0 py_0
pycosat 0.6.3 py37h1de35cc_0
pycparser 2.20 py_0
pycrypto 2.6.1 py37h1de35cc_9
pycurl 7.43.0.5 py37ha12b0ac_0
pydocstyle 4.0.1 py_0
pyface 6.1.2 py37_0
pyflakes 2.2.0 py_0
pygments 2.6.1 py_0
pylint 2.5.2 py37_0
pyodbc 4.0.30 py37h0a44026_0
pyopenssl 19.1.0 py37_0
pyparsing 2.4.7 py_0
pyqt 5.9.2 py37h655552a_2
pyrsistent 0.16.0 py37h1de35cc_0
pysocks 1.7.1 py37_0
pytables 3.6.1 py37h5bccee9_0
pytest 5.4.2 py37_0
pytest-arraydiff 0.3 py37h39e3cac_0
pytest-astropy 0.8.0 py_0
pytest-astropy-header 0.1.2 py_0
pytest-doctestplus 0.5.0 py_0
pytest-openfiles 0.5.0 py_0
pytest-remotedata 0.3.2 py37_0
python 3.7.4 h359304d_1
python-dateutil 2.8.1 py_0
python-jsonrpc-server 0.3.4 py_0
python-language-server 0.31.9 py37_0
python-libarchive-c 2.9 py_0
python.app 2 py37_9
pytz 2020.1 py_0
pywavelets 1.1.1 py37h1de35cc_0
pyyaml 5.3.1 py37h1de35cc_0
pyzmq 18.1.1 py37h0a44026_0
qdarkstyle 2.8.1 py_0
qt 5.9.7 h468cd18_1
qtawesome 0.7.0 py_0
qtconsole 4.7.4 py_0
qtpy 1.9.0 py_0
readline 7.0 h1de35cc_5
requests 2.23.0 py37_0
ripgrep 11.0.2 he32d670_0
rope 0.17.0 py_0
rtree 0.9.4 py37_1
ruamel_yaml 0.15.87 py37h1de35cc_0
scikit-image 0.16.2 py37h6c726b0_0
scikit-learn 0.22.1 py37h27c97d8_0
scipy 1.4.1 py37h9fa6033_0
seaborn 0.10.1 py_0
send2trash 1.5.0 py37_0
setuptools 46.4.0 py37_0
simplegeneric 0.8.1 py37_2
simplejson 3.17.0 pypi_0 pypi
singledispatch 3.4.0.3 py37_0
sip 4.19.8 py37h0a44026_0
six 1.14.0 py37_0
snappy 1.1.7 he62c110_3
snowballstemmer 2.0.0 py_0
sortedcollections 1.1.2 py37_0
sortedcontainers 2.1.0 py37_0
soupsieve 2.0.1 py_0
sphinx 3.0.3 py_0
sphinxcontrib 1.0 py37_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.1 py_0
spyder 4.1.1 py37_1
spyder-kernels 1.9.1 py37_0
sqlalchemy 1.3.17 py37haf1e3a3_0
sqlite 3.31.1 h5c1f38d_1
sqlparse 0.3.1 py_0
statsmodels 0.11.1 py37haf1e3a3_0
sympy 1.5.1 py37_0
tbb 2020.0 h04f5b5a_0
tblib 1.6.0 py_0
terminado 0.8.3 py37_0
testpath 0.4.4 py_0
tk 8.6.8 ha441bb4_0
toml 0.10.0 py37h28b3542_0
toolz 0.10.0 py_0
tornado 6.0.4 py37h1de35cc_1
tqdm 4.46.0 py_0
traitlets 4.3.3 py37_0
traits 5.2.0 py37h1de35cc_0 anaconda
traitsui 6.1.3 py_0
typed-ast 1.4.1 py37h1de35cc_0
typing_extensions 3.7.4.1 py37_0
ujson 1.35 py37h1de35cc_0
unicodecsv 0.14.1 py37_0
unixodbc 2.3.7 h1de35cc_0
urllib3 1.25.8 py37_0
voila 0.1.21 py_0 conda-forge
vtk 8.2.0 py37h9bafd54_200
watchdog 0.10.2 py37h1de35cc_0
wcwidth 0.1.9 py_0
webencodings 0.5.1 py37_1
werkzeug 1.0.1 py_0
wheel 0.34.2 py37_0
widgetsnbextension 3.5.1 py37_0
wrapt 1.11.2 py37h1de35cc_0
wurlitzer 2.0.0 py37_0
xlrd 1.2.0 py37_0
xlsxwriter 1.2.8 py_0
xlwings 0.19.4 py37_0
xlwt 1.3.0 py37_0
xmltodict 0.12.0 py_0
xz 5.2.5 h1de35cc_0
yahoo-finance 1.4.0 pypi_0 pypi
yaml 0.1.7 hc338f04_2
yapf 0.28.0 py_0
yfinance 0.1.54 pypi_0 pypi
zeromq 4.3.1 h0a44026_3
zict 2.0.0 py_0
zipp 3.1.0 py_0
zlib 1.2.11 h1de35cc_3
zstd 1.3.7 h5bba6e5_0
Updating conda can be tricky, depending on how it was installed previously.
To fix your current environment:
You can find and revert back to the previously working version using this command:
conda list --revisions
This will return a list of revisions to your conda environment, just
then select the revision you want (most recent working version) and run this command:
conda install --revision [n]
I have conda 4.8.3 and Python 3.7.4 on Windows 8.1.
I have tf 2.0.0 installed in a conda environment. How do I upgrade to 2.2.x?
Or, how do I just install 2.2.x in a conda environment?
Edit 1: pip install --upgrade tensorflow says: Requirement already up-to-date: tensorflow in d:\anaconda3\envs\tf2\lib\site-packages (2.1.0)
but tf version is still 2.0.
Edit 2: conda install tensorflow==2.2.0 says:
PackagesNotFoundError: The following packages are not available from current channels:
tensorflow==2.2.0
I did have some luck here.
Edit 3:
(tf2) D:\ray\dev\covid-19>conda list -n tf2
# packages in environment at D:\Anaconda3\envs\tf2:
#
# Name Version Build Channel
_anaconda_depends 2019.03 py37_0
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0
_tflow_select 2.3.0 mkl
absl-py 0.9.0 pypi_0 pypi
alabaster 0.7.12 py37_0
anaconda custom py37_1
anaconda-client 1.7.2 py37_0
anaconda-navigator 1.9.7 py37_0
anaconda-project 0.8.3 py_0
asn1crypto 1.0.1 py37_0
astor 0.8.1 pypi_0 pypi
astroid 2.3.1 py37_0
astropy 3.2.1 py37he774522_0
atomicwrites 1.3.0 py37_1
attrs 19.2.0 py_0
babel 2.7.0 py_0
backcall 0.1.0 py37_0
backports 1.0 py_2
backports.functools_lru_cache 1.5 py_2
backports.os 0.1.1 py37_0
backports.shutil_get_terminal_size 1.0.0 py37_2
backports.tempfile 1.0 py_1
backports.weakref 1.0.post1 py_1
beautifulsoup4 4.8.0 py37_0
bitarray 1.0.1 py37he774522_0
bkcharts 0.2 py37_0
blas 1.0 mkl
bleach 3.1.0 py37_0
blosc 1.16.3 h7bd577a_0
bokeh 1.3.4 py37_0
boto 2.49.0 py37_0
bottleneck 1.2.1 py37h452e1ab_1
bzip2 1.0.8 he774522_0
ca-certificates 2020.1.1 0
cachetools 4.0.0 pypi_0 pypi
certifi 2019.9.11 py37_0
cffi 1.12.3 py37h7a1dbc1_0
chardet 3.0.4 py37_1003
click 7.0 py37_0
cloudpickle 1.2.2 py_0
clyent 1.2.2 py37_1
colorama 0.4.1 py37_0
comtypes 1.1.7 py37_0
conda-package-handling 1.6.0 py37h62dcd97_0
conda-verify 3.4.2 py_1
console_shortcut 0.1.1 3
contextlib2 0.6.0 py_0
cryptography 2.7 py37h7a1dbc1_0
curl 7.65.3 h2a8f88b_0
cycler 0.10.0 py37_0
cython 0.29.13 py37ha925a31_0
cytoolz 0.10.0 py37he774522_0
dask 2.5.2 py_0
dask-core 2.5.2 py_0
decorator 4.4.0 py37_1
defusedxml 0.6.0 py_0
dill 0.3.1.1 pypi_0 pypi
distributed 2.5.2 py_0
docutils 0.15.2 py37_0
entrypoints 0.3 py37_0
et_xmlfile 1.0.1 py37_0
fastcache 1.1.0 py37he774522_0
filelock 3.0.12 py_0
flask 1.1.1 py_0
freetype 2.9.1 ha9979f8_1
fsspec 0.5.2 py_0
future 0.17.1 py37_0
gast 0.2.2 pypi_0 pypi
get_terminal_size 1.0.0 h38e98db_0
gevent 1.4.0 py37he774522_0
glob2 0.7 py_0
google-auth 1.11.0 pypi_0 pypi
google-auth-oauthlib 0.4.1 pypi_0 pypi
google-pasta 0.1.8 py_0
googleapis-common-protos 1.51.0 pypi_0 pypi
greenlet 0.4.15 py37hfa6e2cd_0
grpcio 1.26.0 pypi_0 pypi
h5py 2.9.0 py37h5e291fa_0
hdf5 1.10.4 h7ebc959_0
heapdict 1.0.1 py_0
html5lib 1.0.1 py37_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha66f8fd_1
idna 2.8 py37_0
imageio 2.6.0 py37_0
imagesize 1.1.0 py37_0
importlib_metadata 0.23 py37_0
intel-openmp 2019.4 245
ipykernel 5.1.2 py37h39e3cac_0
ipython 7.8.0 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
jdcal 1.4.1 py_0
jedi 0.15.1 py37_0
jinja2 2.10.3 py_0
joblib 0.13.2 py37_0
jpeg 9b hb83a4c4_2
json5 0.8.5 py_0
jsonschema 3.0.2 py37_0
jupyter 1.0.0 py37_7
jupyter_client 5.3.3 py37_1
jupyter_console 6.0.0 py37_0
jupyter_core 4.5.0 py_0
jupyterlab 1.1.4 pyhf63ae98_0
jupyterlab_server 1.0.6 py_0
keras 2.3.1 py37h21ff451_0 conda-forge
keras-applications 1.0.8 py_0
keras-preprocessing 1.1.0 py_1
keyring 18.0.0 py37_0
kiwisolver 1.1.0 py37ha925a31_0
krb5 1.16.1 hc04afaa_7
lazy-object-proxy 1.4.2 py37he774522_0
libarchive 3.3.3 h0643e63_5
libcurl 7.65.3 h2a8f88b_0
libgpuarray 0.7.6 hfa6e2cd_0
libiconv 1.15 h1df5818_7
liblief 0.9.0 ha925a31_2
libmklml 2019.0.5 0
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.11.2 h7bd577a_0
libpython 2.1 py37_0
libsodium 1.0.16 h9d3ae62_0
libssh2 1.8.2 h7a1dbc1_0
libtiff 4.0.10 hb898794_2
libxml2 2.9.9 h464c3ec_0
libxslt 1.1.33 h579f668_0
llvmlite 0.29.0 py37ha925a31_0
locket 0.2.0 py37_1
lxml 4.4.1 py37h1350720_0
lz4-c 1.8.1.2 h2fa13f4_0
lzo 2.10 h6df0209_2
m2w64-binutils 2.25.1 5
m2w64-bzip2 1.0.6 6
m2w64-crt-git 5.0.0.4636.2595836 2
m2w64-gcc 5.3.0 6
m2w64-gcc-ada 5.3.0 6
m2w64-gcc-fortran 5.3.0 6
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gcc-objc 5.3.0 6
m2w64-gmp 6.1.0 2
m2w64-headers-git 5.0.0.4636.c0ad18a 2
m2w64-isl 0.16.1 2
m2w64-libiconv 1.14 6
m2w64-libmangle-git 5.0.0.4509.2e5a9a2 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
m2w64-make 4.1.2351.a80a8b8 2
m2w64-mpc 1.0.3 3
m2w64-mpfr 3.1.4 4
m2w64-pkg-config 0.29.1 2
m2w64-toolchain 5.3.0 7
m2w64-tools-git 5.0.0.4592.90b8472 2
m2w64-windows-default-manifest 6.4 3
m2w64-winpthreads-git 5.0.0.4634.697f757 2
m2w64-zlib 1.2.8 10
mako 1.1.0 py_0
markdown 3.1.1 py37_0
markupsafe 1.1.1 py37he774522_0
matplotlib 3.1.1 py37hc8f65d3_0
mccabe 0.6.1 py37_1
menuinst 1.4.16 py37he774522_0
mistune 0.8.4 py37he774522_0
mkl 2019.4 245
mkl-service 2.3.0 py37hb782905_0
mkl_fft 1.0.14 py37h14836fe_0
mkl_random 1.1.0 py37h675688f_0
mock 3.0.5 py37_0
more-itertools 7.2.0 py37_0
mpmath 1.1.0 py37_0
msgpack-python 0.6.1 py37h74a9793_1
msys2-conda-epoch 20160418 1
multipledispatch 0.6.0 py37_0
navigator-updater 0.2.1 py37_0
nbconvert 5.6.0 py37_1
nbformat 4.4.0 py37_0
networkx 2.3 py_0
nltk 3.4.5 py37_0
nose 1.3.7 py37_2
notebook 6.0.1 py37_0
numba 0.45.1 py37hf9181ef_0
numexpr 2.7.0 py37hdce8814_0
numpy 1.16.5 py37h19fb1c0_0
numpy-base 1.16.5 py37hc3f5095_0
numpydoc 0.9.1 py_0
oauthlib 3.1.0 pypi_0 pypi
olefile 0.46 py37_0
openpyxl 3.0.0 py_0
openssl 1.1.1d he774522_3
opt_einsum 3.1.0 py_0
packaging 19.2 py_0
pandas 0.25.1 pypi_0 pypi
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py37_1
parso 0.5.1 py_0
partd 1.0.0 py_0
path.py 12.0.1 py_0
pathlib2 2.3.5 py37_0
patsy 0.5.1 py37_0
pep8 1.7.1 py37_0
pickleshare 0.7.5 py37_0
pillow 6.2.0 py37hdc69c19_0
pip 20.0.2 pypi_0 pypi
pkginfo 1.5.0.1 py37_0
pluggy 0.13.0 py37_0
ply 3.11 py37_0
powershell_shortcut 0.0.1 2
prometheus_client 0.7.1 py_0
promise 2.3 pypi_0 pypi
prompt_toolkit 2.0.10 py_0
protobuf 3.11.2 pypi_0 pypi
psutil 5.6.3 py37he774522_0
py 1.8.0 py37_0
py-lief 0.9.0 py37ha925a31_2
pyasn1 0.4.8 pypi_0 pypi
pyasn1-modules 0.2.8 pypi_0 pypi
pycodestyle 2.5.0 py37_0
pycosat 0.6.3 py37hfa6e2cd_0
pycparser 2.19 py37_0
pycrypto 2.6.1 py37hfa6e2cd_9
pycurl 7.43.0.3 py37h7a1dbc1_0
pyflakes 2.1.1 py37_0
pygments 2.4.2 py_0
pygpu 0.7.6 py37h452e1ab_0
pylint 2.4.2 py37_0
pyodbc 4.0.27 py37ha925a31_0
pyopenssl 19.0.0 py37_0
pyparsing 2.4.2 py_0
pyqt 5.9.2 py37h6538335_2
pyreadline 2.1 py37_1
pyrsistent 0.15.4 py37he774522_0
pysocks 1.7.1 py37_0
pytables 3.5.2 py37h1da0976_1
pytest 5.2.1 py37_0
pytest-arraydiff 0.3 py37h39e3cac_0
pytest-astropy 0.5.0 py37_0
pytest-doctestplus 0.4.0 py_0
pytest-openfiles 0.4.0 py_0
pytest-remotedata 0.3.2 py37_0
python 3.7.4 h5263a28_0
python-dateutil 2.8.0 py37_0
python-libarchive-c 2.8 py37_13
pytz 2019.3 py_0
pywavelets 1.0.3 py37h8c2d366_1
pywin32 223 py37hfa6e2cd_1
pywinpty 0.5.5 py37_1000
pyyaml 5.1.2 py37he774522_0
pyzmq 18.1.0 py37ha925a31_0
qt 5.9.7 vc14h73c81de_0
qtawesome 0.6.0 py_0
qtconsole 4.5.5 py_0
qtpy 1.9.0 py_0
requests 2.22.0 py37_0
requests-oauthlib 1.3.0 pypi_0 pypi
rope 0.14.0 py_0
rsa 4.0 pypi_0 pypi
ruamel_yaml 0.15.46 py37hfa6e2cd_0
scikit-image 0.15.0 py37ha925a31_0
scikit-learn 0.21.3 py37h6288b17_0
scipy 1.4.1 pypi_0 pypi
seaborn 0.9.0 py37_0
send2trash 1.5.0 py37_0
setuptools 41.4.0 py37_0
simplegeneric 0.8.1 py37_2
singledispatch 3.4.0.3 py37_0
sip 4.19.8 py37h6538335_0
six 1.12.0 py37_0
sklearn 0.0 pypi_0 pypi
snappy 1.1.7 h777316e_3
snowballstemmer 2.0.0 py_0
sortedcollections 1.1.2 py37_0
sortedcontainers 2.1.0 py37_0
soupsieve 1.9.3 py37_0
sphinx 2.2.0 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.9 py37he774522_0
sqlite 3.30.0 he774522_0
statsmodels 0.10.1 py37h8c2d366_0
sympy 1.4 py37_0
tbb 2019.4 h74a9793_0
tblib 1.4.0 py_0
tensorboard 2.1.0 pypi_0 pypi
tensorflow 2.1.0 pypi_0 pypi
tensorflow-base 2.0.0 mkl_py37hd1d5974_0
tensorflow-datasets 2.0.0 pypi_0 pypi
tensorflow-estimator 2.1.0 pypi_0 pypi
tensorflow-metadata 0.21.1 pypi_0 pypi
termcolor 1.1.0 pypi_0 pypi
terminado 0.8.2 py37_0
testpath 0.4.2 py37_0
theano 1.0.4 py37_0
tk 8.6.8 hfa6e2cd_0
toolz 0.10.0 py_0
tornado 6.0.3 py37he774522_0
tqdm 4.36.1 py_0
traitlets 4.3.3 py37_0
unicodecsv 0.14.1 py37_0
urllib3 1.24.2 py37_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_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
win_inet_pton 1.1.0 py37_0
win_unicode_console 0.5 py37_0
wincertstore 0.2 py37_0
winpty 0.4.3 4
wrapt 1.11.2 py37he774522_0
xlrd 1.2.0 py37_0
xlsxwriter 1.2.1 py_0
xlwings 0.15.10 py37_0
xlwt 1.3.0 py37_0
xz 5.2.4 h2fa13f4_4
yaml 0.1.7 hc54c509_2
zeromq 4.3.1 h33f27b4_3
zict 1.0.0 py_0
zipp 0.6.0 py_0
zlib 1.2.11 h62dcd97_3
zstd 1.3.7 h508b16e_0
TF 2.2.0 isn't available on conda yet.
It's possible to install TF 2.2.0 now with either:
pip install tensorflow-gpu==2.2.0
or
pip install https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.2.0-cp37-cp37m-win_amd64.whl
ONE IMPORTANT THING: for now, at least in my case, there is a major problem with the GPU version. The old one recognises my GPU with no issues, while the latest doesn't see it for some reason. I advise you to create, just in case, a new env so you won't need to reinstall everything later on.
EDIT by a reader:
Better do not use pip install at all if you can wait for the conda version to catch up. Using the pip installer is not recommended, even if it often offers a more recent version. Using pip will risk exactly the documented error here. And you do not need to create a new env with conda update, conda update --all will not harm your dependencies in your env. See Why using Anaconda environments to install tensorflow on Windows?.
There are two methods
1. Install into virtual environment with
pip TensorFlow
virtualenv --system-site-packages -p python3 ./venv
then you need to activate your new environment
pip install --upgrade pip
pip list # show packages installed within the virtual environment
this command for quit
deactivate # don't exit until you're done using TensorFlow
we finish by installing tensor
pip install --upgrade tensorflow
2. Install in your system
python3 --version
pip3 --version
virtualenv --version
Ubuntu
sudo apt update
sudo apt install python3-dev python3-pip
sudo pip3 install -U virtualenv # system-wide install
then
pip3 install --user --upgrade tensorflow # install in $HOME
create new environment and use this command in jupyter notebook :
!pip install tensorflow==2.2-rc3
this version work on CPU or GPU.
Its becasue your required tensorflow version is not available in you current python version.
For Example: python 3.9 doesn't has tensorflow 2.2.0
I have faced this issue once, may this helps you.
Thanks
When Trying to run a model in Theano on anaconda
Using TensorFlow backend.
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
F:\anaconda\lib\site-packages\theano\gpuarray\dnn.py:184: UserWarning: Your cuDNN version is more recent than Theano. If you encounter problems, try updating Theano or downgrading cuDNN to a version >= v5 and <= v7.
warnings.warn("Your cuDNN version is more recent than "
Loading nvrtc 11.0.
(Debug) ERROR 18: Could not load "nvrtc64_110.dll": The specified module could not be found.
Loading nvrtc 10.0.
Loading cuBLAS 10.0.
Using cuDNN version 7500 on context None
Mapped name None to device cuda: GeForce GTX 1050 Ti (0000:01:00.0)
Loading network...
Input shape: (None, 1, 112, 112)
DLL load failed: The specified procedure could not be found.
Traceback (most recent call last):
File "test/test_fast_swapping.py", line 14, in <module>
swapper = SWAPPER(vars, detector, weights_path + all_weights[1])
File "d:\dubflix\video_module\video_module\fast_swap\api.py", line 16, in __init__
self.aligner.loadNetwork(weights)
File "d:\dubflix\video_module\video_module\fast_swap\src\FaceAlignment.py", line 133, in loadNetwork
self.initializeNetwork()
File "d:\dubflix\video_module\video_module\fast_swap\src\FaceAlignment.py", line 41, in initializeNetwork
self.generate_network_output = theano.function([self.data], [self.prediction])
File "F:\anaconda\lib\site-packages\theano\compile\function.py", line 317, in function
output_keys=output_keys)
File "F:\anaconda\lib\site-packages\theano\compile\pfunc.py", line 486, in pfunc
output_keys=output_keys)
File "F:\anaconda\lib\site-packages\theano\compile\function_module.py", line 1841, in orig_function
fn = m.create(defaults)
File "F:\anaconda\lib\site-packages\theano\compile\function_module.py", line 1715, in create
input_storage=input_storage_lists, storage_map=storage_map)
File "F:\anaconda\lib\site-packages\theano\gof\link.py", line 699, in make_thunk
storage_map=storage_map)[:3]
File "F:\anaconda\lib\site-packages\theano\gof\vm.py", line 1091, in make_all
impl=impl))
File "F:\anaconda\lib\site-packages\theano\gof\op.py", line 955, in make_thunk
no_recycling)
File "F:\anaconda\lib\site-packages\theano\gof\op.py", line 858, in make_c_thunk
output_storage=node_output_storage)
File "F:\anaconda\lib\site-packages\theano\gof\cc.py", line 1217, in make_thunk
keep_lock=keep_lock)
File "F:\anaconda\lib\site-packages\theano\gof\cc.py", line 1157, in __compile__
keep_lock=keep_lock)
File "F:\anaconda\lib\site-packages\theano\gof\cc.py", line 1624, in cthunk_factory
key=key, lnk=self, keep_lock=keep_lock)
File "F:\anaconda\lib\site-packages\theano\gof\cmodule.py", line 1191, in module_from_key
module = lnk.compile_cmodule(location)
File "F:\anaconda\lib\site-packages\theano\gof\cc.py", line 1527, in compile_cmodule
preargs=preargs)
File "F:\anaconda\lib\site-packages\theano\gof\cmodule.py", line 2422, in compile_str
return dlimport(lib_filename)
File "F:\anaconda\lib\site-packages\theano\gof\cmodule.py", line 327, in dlimport
assert fullpath.startswith(rval.__file__)
AttributeError: ('The following error happened while compiling the node', GpuDnnConv{algo='small', inplace=True, num_groups=1}(GpuContiguous.0, GpuContiguous.0, GpuAllocEmpty{dtype='float64', context_name=None}.0, GpuDnnConvDesc{border_mode='half', subsample=(1, 1), dilation=(1, 1), conv_mode='conv', precision='float64', num_groups=1}.0, Constant{1.0}, Constant{0.0}), '\n', "'NoneType' object has no attribute '__file__'", "[GpuDnnConv{algo='small', inplace=True, num_groups=1}(<GpuArrayType<None>(float64, 4D)>, <GpuArrayType<None>(float64, (False, True, False, False))>, <GpuArrayType<None>(float64, 4D)>, <CDataType{cudnnConvolutionDescriptor_t}>, Constant{1.0}, Constant{0.0})]")
The important version informations are :
Anaconda (python 3.7)
Theano : 1.0.4 (latest from the master branch)
pygpu : 0.7.6 (installed from conda)
CUDA : 10.0
CUDNN : 7.6.5
I've checked the model loading without gpu and it works.
.theanorc.txt is like this:
[global]
device = cuda
[gcc]
cxxflags = -I"C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin"
[cuda]
root = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0
conda list -n env
gives
# packages in environment at F:\anaconda:
#
# Name Version Build Channel
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0
_pytorch_select 1.1.0 cpu
absl-py 0.9.0 pypi_0 pypi
alabaster 0.7.12 py37_0
anaconda 2020.02 py37_0
anaconda-client 1.7.2 py37_0
anaconda-navigator 1.9.12 py37_0
anaconda-project 0.8.4 py_0
argh 0.26.2 py37_0
asn1crypto 1.3.0 py37_0
astor 0.8.1 pypi_0 pypi
astroid 2.3.3 py37_0
astropy 4.0 py37he774522_0
atomicwrites 1.3.0 py37_1
attrs 19.3.0 py_0
audio-module 0.0.1 dev_0 <develop>
audioread 2.1.8 pypi_0 pypi
autopep8 1.4.4 py_0
babel 2.8.0 py_0
backcall 0.1.0 py37_0
backports 1.0 py_2
backports.functools_lru_cache 1.6.1 py_0
backports.shutil_get_terminal_size 1.0.0 py37_2
backports.tempfile 1.0 py_1
backports.weakref 1.0.post1 py_1
bcrypt 3.1.7 py37he774522_0
beautifulsoup4 4.8.2 py37_0
bitarray 1.2.1 py37he774522_0
bkcharts 0.2 py37_0
blas 1.0 mkl conda-forge
bleach 3.1.0 py37_0
blosc 1.16.3 h7bd577a_0
bokeh 1.4.0 py37_0
boto 2.49.0 py37_0
boto3 1.12.40 pypi_0 pypi
botocore 1.15.40 pypi_0 pypi
bottleneck 1.3.2 py37h2a96729_0
bzip2 1.0.8 he774522_0
ca-certificates 2020.1.1 0
certifi 2019.11.28 py37_0
cffi 1.14.0 py37h7a1dbc1_0
chardet 3.0.4 py37_1003
click 7.0 py37_0
cloudpickle 1.3.0 py_0
clyent 1.2.2 py37_1
cmake 3.14.0 h33f27b4_0
colorama 0.4.3 py_0
comtypes 1.1.7 py37_0
conda 4.8.3 py37_0
conda-build 3.18.11 py37_0
conda-env 2.6.0 1
conda-package-handling 1.6.0 py37h62dcd97_0
conda-verify 3.4.2 py_1
console_shortcut 0.1.1 4
contextlib2 0.6.0.post1 py_0
cryptography 2.8 py37h7a1dbc1_0
cudatoolkit 10.1.243 h74a9793_0
curl 7.68.0 h2a8f88b_0
cvlib 0.2.5 pypi_0 pypi
cycler 0.10.0 py37_0
cython 0.29.15 py37ha925a31_0
cytoolz 0.10.1 py37he774522_0
dask 2.11.0 py_0
dask-core 2.11.0 py_0
decorator 4.4.1 py_0
defusedxml 0.6.0 py_0
diff-match-patch 20181111 py_0
distributed 2.11.0 py37_0
dlib 19.19.0 pypi_0 pypi
docopt 0.6.2 pypi_0 pypi
docutils 0.15.2 pypi_0 pypi
entrypoints 0.3 py37_0
et_xmlfile 1.0.1 py37_0
face-recognition 1.3.0 pypi_0 pypi
face-recognition-models 0.3.0 pypi_0 pypi
fastcache 1.1.0 py37he774522_0
filelock 3.0.12 py_0
flake8 3.7.9 py37_0
flask 1.1.1 py_0
freetype 2.9.1 ha9979f8_1
fsspec 0.6.2 py_0
future 0.18.2 py37_0
gast 0.3.3 pypi_0 pypi
get_terminal_size 1.0.0 h38e98db_0
gevent 1.4.0 py37he774522_0
glob2 0.7 py_0
google-pasta 0.2.0 pypi_0 pypi
greenlet 0.4.15 py37hfa6e2cd_0
grpcio 1.28.1 pypi_0 pypi
h5py 2.10.0 py37h5e291fa_0
hdf5 1.10.4 h7ebc959_0
heapdict 1.0.1 py_0
html5lib 1.0.1 py37_0
hypothesis 5.5.4 py_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha66f8fd_1
idna 2.8 py37_0
imageio 2.6.1 py37_0
imagesize 1.2.0 py_0
importlib_metadata 1.5.0 py37_0
imutils 0.5.3 pypi_0 pypi
inaspeechsegmenter 0.5.1 pypi_0 pypi
intel-openmp 2020.0 166
intervaltree 3.0.2 py_0
ipykernel 5.1.4 py37h39e3cac_0
ipython 7.12.0 py37h5ca1d4c_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
jdcal 1.4.1 py_0
jedi 0.14.1 py37_0
jinja2 2.11.1 py_0
jmespath 0.9.5 pypi_0 pypi
joblib 0.14.1 py_0
jpeg 9b hb83a4c4_2
json5 0.9.1 py_0
jsonschema 3.2.0 py37_0
jupyter 1.0.0 py37_7
jupyter_client 5.3.4 py37_0
jupyter_console 6.1.0 py_0
jupyter_core 4.6.1 py37_0
jupyterlab 1.2.6 pyhf63ae98_0
jupyterlab_server 1.0.6 py_0
keras 2.3.1 pypi_0 pypi
keras-applications 1.0.8 pypi_0 pypi
keras-preprocessing 1.1.0 pypi_0 pypi
keras-vggface 0.6 pypi_0 pypi
keyring 21.1.0 py37_0
kiwisolver 1.1.0 py37ha925a31_0
krb5 1.17.1 hc04afaa_0
lasagne 0.2.dev1 pypi_0 pypi
lazy-object-proxy 1.4.3 py37he774522_0
libarchive 3.3.3 h0643e63_5
libcurl 7.68.0 h2a8f88b_0
libgpuarray 0.7.6 hfa6e2cd_0
libiconv 1.15 h1df5818_7
liblief 0.9.0 ha925a31_2
libpng 1.6.37 h2a8f88b_0
libpython 2.1 py37_0
librosa 0.7.2 pypi_0 pypi
libsodium 1.0.16 h9d3ae62_0
libspatialindex 1.9.3 h33f27b4_0
libssh2 1.8.2 h7a1dbc1_0
libtiff 4.1.0 h56a325e_0
libxml2 2.9.9 h464c3ec_0
libxslt 1.1.33 h579f668_0
llvmlite 0.31.0 py37ha925a31_0
locket 0.2.0 py37_1
lxml 4.5.0 py37h1350720_0
lz4-c 1.8.1.2 h2fa13f4_0
lzo 2.10 h6df0209_2
m2w64-binutils 2.25.1 5
m2w64-bzip2 1.0.6 6
m2w64-crt-git 5.0.0.4636.2595836 2
m2w64-gcc 5.3.0 6
m2w64-gcc-ada 5.3.0 6
m2w64-gcc-fortran 5.3.0 6
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gcc-objc 5.3.0 6
m2w64-gmp 6.1.0 2
m2w64-headers-git 5.0.0.4636.c0ad18a 2
m2w64-isl 0.16.1 2
m2w64-libiconv 1.14 6
m2w64-libmangle-git 5.0.0.4509.2e5a9a2 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
m2w64-make 4.1.2351.a80a8b8 2
m2w64-mpc 1.0.3 3
m2w64-mpfr 3.1.4 4
m2w64-pkg-config 0.29.1 2
m2w64-toolchain 5.3.0 7
m2w64-tools-git 5.0.0.4592.90b8472 2
m2w64-windows-default-manifest 6.4 3
m2w64-winpthreads-git 5.0.0.4634.697f757 2
m2w64-zlib 1.2.8 10
mako 1.1.2 py_0
markdown 3.2.1 pypi_0 pypi
markupsafe 1.1.1 py37he774522_0
matplotlib 3.1.3 py37_0
matplotlib-base 3.1.3 py37h64f37c6_0
mccabe 0.6.1 py37_1
menuinst 1.4.16 py37he774522_0
mistune 0.8.4 py37he774522_0
mkl 2020.0 166
mkl-service 2.3.0 py37hb782905_0
mkl_fft 1.0.15 py37h14836fe_0
mkl_random 1.1.0 py37h675688f_0
mock 4.0.1 py_0
more-itertools 8.2.0 py_0
mpmath 1.1.0 py37_0
msgpack-python 0.6.1 py37h74a9793_1
msys2-conda-epoch 20160418 1
multipledispatch 0.6.0 py37_0
munkres 1.1.2 pypi_0 pypi
navigator-updater 0.2.1 py37_0
nbconvert 5.6.1 py37_0
nbformat 5.0.4 py_0
networkx 2.4 py_0
ninja 1.9.0 py37h74a9793_0
nltk 3.4.5 py37_0
nose 1.3.7 py37_2
notebook 6.0.3 py37_0
numba 0.48.0 py37h47e9c7a_0
numexpr 2.7.1 py37h25d0782_0
numpy 1.16.0 pypi_0 pypi
numpydoc 0.9.2 py_0
olefile 0.46 py37_0
opencv-python 4.2.0.34 pypi_0 pypi
openpyxl 3.0.3 py_0
openssl 1.1.1d he774522_4
packaging 20.1 py_0
pandas 1.0.1 py37h47e9c7a_0
pandoc 2.2.3.2 0
pandocfilters 1.4.2 py37_1
paramiko 2.7.1 py_0
parso 0.5.2 py_0
partd 1.1.0 py_0
path 13.1.0 py37_0
path.py 12.4.0 0
pathlib2 2.3.5 py37_0
pathtools 0.1.2 py_1
patsy 0.5.1 py37_0
pep8 1.7.1 py37_0
pexpect 4.8.0 py37_0
pickleshare 0.7.5 py37_0
pillow 7.0.0 py37hcc1f983_0
pip 20.0.2 py37_1
pkginfo 1.5.0.1 py37_0
pluggy 0.13.1 py37_0
ply 3.11 py37_0
powershell_shortcut 0.0.1 3
progressbar 2.5 pypi_0 pypi
prometheus_client 0.7.1 py_0
prompt_toolkit 3.0.3 py_0
protobuf 3.11.3 pypi_0 pypi
psutil 5.6.7 py37he774522_0
py 1.8.1 py_0
py-lief 0.9.0 py37ha925a31_2
pyannote-algorithms 0.8 pypi_0 pypi
pyannote-core 3.7.1 pypi_0 pypi
pyannote-parser 0.8 pypi_0 pypi
pycodestyle 2.5.0 py37_0
pycosat 0.6.3 py37he774522_0
pycparser 2.19 py37_0
pycrypto 2.6.1 py37hfa6e2cd_9
pycurl 7.43.0.5 py37h7a1dbc1_0
pydocstyle 4.0.1 py_0
pydub 0.23.1 pypi_0 pypi
pyflakes 2.1.1 py37_0
pygame 1.9.6 pypi_0 pypi
pygments 2.5.2 py_0
pygpu 0.7.6 py37hc8d92b1_1000 conda-forge
pylint 2.4.4 py37_0
pynacl 1.3.0 py37h62dcd97_0
pyodbc 4.0.30 py37ha925a31_0
pyopengl 3.1.5 pypi_0 pypi
pyopenssl 19.1.0 py37_0
pyparsing 2.4.6 py_0
pyqt 5.9.2 py37h6538335_2
pyreadline 2.1 py37_1
pyro4 4.79 pypi_0 pypi
pyrsistent 0.15.7 py37he774522_0
pysocks 1.7.1 py37_0
pytables 3.6.1 py37h1da0976_0
pytest 5.3.5 py37_0
pytest-arraydiff 0.3 py37h39e3cac_0
pytest-astropy 0.8.0 py_0
pytest-astropy-header 0.1.2 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 h60c2a47_2
python-dateutil 2.8.1 py_0
python-jsonrpc-server 0.3.4 py_0
python-language-server 0.31.7 py37_0
python-libarchive-c 2.8 py37_13
python_abi 3.7 1_cp37m conda-forge
pytorch 1.4.0 py3.7_cuda101_cudnn7_0 pytorch
pytz 2019.3 py_0
pywavelets 1.1.1 py37he774522_0
pywin32 227 py37he774522_1
pywin32-ctypes 0.2.0 py37_1000
pywinpty 0.5.7 py37_0
pyyaml 5.3 py37he774522_0
pyzmq 18.1.1 py37ha925a31_0
qdarkstyle 2.8 py_0
qt 5.9.7 vc14h73c81de_0
qtawesome 0.6.1 py_0
qtconsole 4.6.0 py_1
qtpy 1.9.0 py_0
requests 2.22.0 py37_1
resampy 0.2.2 pypi_0 pypi
rope 0.16.0 py_0
rtree 0.9.3 py37h21ff451_0
ruamel_yaml 0.15.87 py37he774522_0
s3transfer 0.3.3 pypi_0 pypi
scikit-image 0.16.2 py37h47e9c7a_0
scikit-learn 0.22.1 py37h6288b17_0
scipy 1.4.1 py37h9439919_0
seaborn 0.10.0 py_0
send2trash 1.5.0 py37_0
serpent 1.30.2 pypi_0 pypi
setuptools 45.2.0 py37_0
sidekit 1.3.6.6 pypi_0 pypi
simplegeneric 0.8.1 py37_2
simplejson 3.17.0 pypi_0 pypi
singledispatch 3.4.0.3 py37_0
sip 4.19.8 py37h6538335_0
six 1.14.0 py37_0
snappy 1.1.7 h777316e_3
snowballstemmer 2.0.0 py_0
sortedcollections 1.1.2 py37_0
sortedcontainers 2.1.0 py37_0
soundfile 0.10.3.post1 pypi_0 pypi
soupsieve 1.9.5 py37_0
spectralcluster 0.0.9 pypi_0 pypi
sphinx 2.4.0 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.2.0 py_0
spyder 4.0.1 py37_0
spyder-kernels 1.8.1 py37_0
sqlalchemy 1.3.13 py37he774522_0
sqlite 3.31.1 he774522_0
statsmodels 0.11.0 py37he774522_0
sympy 1.5.1 py37_0
tbb 2020.0 h74a9793_0
tblib 1.6.0 py_0
tensorboard 1.14.0 pypi_0 pypi
tensorflow-estimator 1.14.0 pypi_0 pypi
tensorflow-gpu 1.14.0 pypi_0 pypi
termcolor 1.1.0 pypi_0 pypi
terminado 0.8.3 py37_0
testpath 0.4.4 py_0
theano 1.0.4+51.gf1e4ec47c pypi_0 pypi
tk 8.6.8 hfa6e2cd_0
toolz 0.10.0 py_0
torchvision 0.5.0 py37_cu101 pytorch
tornado 6.0.3 py37he774522_3
tqdm 4.42.1 py_0
traitlets 4.3.3 py37_0
typing-extensions 3.7.4.2 pypi_0 pypi
ujson 1.35 py37hfa6e2cd_0
unicodecsv 0.14.1 py37_0
urllib3 1.25.8 py37_0
vc 14.1 h0510ff6_4
video-module 0.0.1 dev_0 <develop>
vs2015_runtime 14.16.27012 hf0eaf9b_1
watchdog 0.10.2 py37_0
wcwidth 0.1.8 py_0
webencodings 0.5.1 py37_1
webrtcvad 2.0.10 pypi_0 pypi
werkzeug 1.0.0 py_0
wheel 0.34.2 py37_0
widgetsnbextension 3.5.1 py37_0
win_inet_pton 1.1.0 py37_0
win_unicode_console 0.5 py37_0
wincertstore 0.2 py37_0
winpty 0.4.3 4
wrapt 1.11.2 py37he774522_0
xarray 0.15.1 pypi_0 pypi
xlrd 1.2.0 py37_0
xlsxwriter 1.2.7 py_0
xlwings 0.17.1 py37_0
xlwt 1.3.0 py37_0
xmltodict 0.12.0 py_0
xz 5.2.4 h2fa13f4_4
yaml 0.1.7 hc54c509_2
yapf 0.28.0 py_0
zeromq 4.3.1 h33f27b4_3
zict 1.0.0 py_0
zipp 2.2.0 py_0
zlib 1.2.11 h62dcd97_3
zstd 1.3.7 h508b16e_0
Create two different virtual environments. One for the CPU and another for the GPU. In the CPU install the TensorFlow CPU and in the GPU use the TensorFlow GPU. See if it works well separately.
I want to change some settings in the jupyter notebook interface --- e.g., display line numbers, display right margin guide --- so that they are always displayed.
Since my ~/.jupyter/ dir contains only one file (migrated) and no /nbconfig/ dir or notebook.json file, I ran jupyter notebook --generate-config at the prompt to create a new config file. This produced a couple errors related to sqlite3 and pysqlite2.
I checked my installed packages and I do have sqlite 3.26.0 installed, though not pysqlite2.
From the error message I'm not sure if the second error related to pysqlite2 is raised only b/c sqlite3 wasn't found, or if I need to install pysqlite2. If it's required for such a basic operation as creating a config file I'm wondering why it wouldn't be part of the Anaconda full install I did a few weeks ago.
I'm on Windows 10 running Anaconda 2018.12, anaconda-client 1.7.2, jupyter notebook server 5.7.4-f6790e4 on Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)], IPython 7.2.0.
Here's the commands and full output in case seeing other installed packages is helpful:
k#DESKTOP-VAQRJL8 MINGW64 ~ (master)
$ jupyter notebook --generate-config
Traceback (most recent call last):
File "C:\Users\karls\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 10, in <module>
import sqlite3
File "C:\Users\karls\Anaconda3\lib\sqlite3\__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "C:\Users\karls\Anaconda3\lib\sqlite3\dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: DLL load failed: The specified procedure could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\karls\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in <module>
from notebook.notebookapp import main
File "C:\Users\karls\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 86, in <module>
from .services.sessions.sessionmanager import SessionManager
File "C:\Users\karls\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 13, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
k#DESKTOP-VAQRJL8 MINGW64 ~ (master)
$ conda list
# packages in environment at C:\Users\karls\Anaconda3:
#
# 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
asn1crypto 0.24.0 py37_0
astroid 2.1.0 py37_0
astropy 3.1 py37he774522_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
bcrypt 3.1.6 pypi_0 pypi
beautifulsoup4 4.6.3 py37_0
bitarray 0.8.3 py37hfa6e2cd_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 he51fdeb_0
bokeh 1.0.2 py37_0
boto 2.49.0 py37_0
bottleneck 1.2.1 py37h452e1ab_1
bzip2 1.0.6 hfa6e2cd_5
ca-certificates 2018.03.07 0
certifi 2018.11.29 py37_0
cffi 1.11.5 py37h74b6da3_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
comtypes 1.1.7 py37_0
conda 4.6.3 py37_0
conda-build 3.17.6 py37_0
conda-env 2.6.0 1
conda-verify 3.1.1 py37_0
console_shortcut 0.1.1 3
contextlib2 0.5.5 py37_0
cryptography 2.4.2 py37h7a1dbc1_0
curl 7.63.0 h2a8f88b_1000
cycler 0.10.0 py37_0
cython 0.29.2 py37ha925a31_0
cytoolz 0.9.0.1 py37hfa6e2cd_1
dask 1.0.0 py37_0
dask-core 1.0.0 py37_0
datashape 0.5.4 py37_1
decorator 4.3.0 py37_0
defusedxml 0.5.0 py37_1
distributed 1.25.1 py37_0
dnspython 1.15.0 pypi_0 pypi
docutils 0.14 py37_0
entrypoints 0.2.3 py37_2
et_xmlfile 1.0.1 py37_0
faker 0.8.13 pypi_0 pypi
fastcache 1.0.2 py37hfa6e2cd_2
filelock 3.0.10 py37_0
flask 0.12.4 pypi_0 pypi
flask-bcrypt 0.7.1 pypi_0 pypi
flask-cors 3.0.3 pypi_0 pypi
flask-jwt-extended 3.7.0 pypi_0 pypi
flask-login 0.4.0 pypi_0 pypi
freetype 2.9.1 ha9979f8_1
future 0.17.1 py37_0
get_terminal_size 1.0.0 h38e98db_0
gevent 1.3.7 py37he774522_1
glob2 0.6 py37_1
greenlet 0.4.15 py37hfa6e2cd_0
h5py 2.8.0 py37h3bdd7fb_2
hdf5 1.10.2 hac2f561_1
heapdict 1.0.0 py37_2
html5lib 1.0.1 py37_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha66f8fd_1
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
jdcal 1.4 py37_0
jedi 0.13.2 py37_0
jinja2 2.10 py37_0
jpeg 9b hb83a4c4_2
jsonschema 2.6.0 py37_0
jupyter 1.0.0 py37_7
jupyter-client 5.2.3 pypi_0 pypi
jupyter-console 6.0.0 pypi_0 pypi
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.0.1 py37h6538335_0
krb5 1.16.1 hc04afaa_7
lazy-object-proxy 1.3.1 py37hfa6e2cd_2
libarchive 3.3.3 h0643e63_5
libcurl 7.63.0 h2a8f88b_1000
libiconv 1.15 h1df5818_7
libpng 1.6.35 h2a8f88b_0
libsodium 1.0.16 h9d3ae62_0
libssh2 1.8.0 h7a1dbc1_4
libtiff 4.0.9 h36446d0_2
libxml2 2.9.8 hadb2253_1
libxslt 1.1.32 hf6f1972_0
llvmlite 0.26.0 py37ha925a31_0
locket 0.2.0 py37_1
lxml 4.2.5 py37hef2cd61_0
lz4-c 1.8.1.2 h2fa13f4_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.1.0 py37he774522_0
matplotlib 3.0.2 py37hc8f65d3_0
mccabe 0.6.1 py37_1
menuinst 1.4.14 py37hfa6e2cd_0
mistune 0.8.4 py37he774522_0
mkl 2019.1 144
mkl-service 1.1.2 py37hb782905_5
mkl_fft 1.0.6 py37h6288b17_0
mkl_random 1.0.2 py37h343c172_0
more-itertools 4.3.0 py37_0
mpmath 1.1.0 py37_0
msgpack-python 0.5.6 py37he980bc4_1
msys2-conda-epoch 20160418 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
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 py37hf9181ef_0
numexpr 2.6.8 py37hdce8814_0
numpy 1.15.4 py37h19fb1c0_0
numpy-base 1.15.4 py37hc3f5095_0
numpydoc 0.8.0 py37_0
objgraph 3.4.0 pypi_0 pypi
odo 0.5.1 py37_0
olefile 0.46 py37_0
openpyxl 2.5.12 py37_0
openssl 1.1.1a he774522_0
packaging 18.0 py37_0
pandas 0.23.4 py37h830ac7b_0
pandoc 1.19.2.1 hb2460c7_1
pandocfilters 1.4.2 py37_1
parso 0.3.1 py37_0
partd 0.3.9 py37_0
path.py 11.5.0 py37_0
pathlib2 2.3.3 py37_0
patsy 0.5.1 py37_0
pep8 1.7.1 py37_0
pickleshare 0.7.5 py37_0
pillow 5.3.0 py37hdc69c19_0
pip 18.1 py37_0
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.8 pypi_0 pypi
psutil 5.4.8 py37he774522_0
py 1.7.0 py37_0
pycodestyle 2.4.0 py37_0
pycosat 0.6.3 py37hfa6e2cd_0
pycparser 2.19 py37_0
pycrypto 2.6.1 py37hfa6e2cd_9
pycurl 7.43.0.2 py37h7a1dbc1_0
pyflakes 2.0.0 py37_0
pygments 2.3.1 py37_0
pyjwt 1.7.1 pypi_0 pypi
pylint 2.2.2 py37_0
pymongo 3.7.0 pypi_0 pypi
pyodbc 4.0.25 py37ha925a31_0
pyopenssl 18.0.0 py37_0
pyparsing 2.3.0 py37_0
pyqt 5.9.2 py37h6538335_2
pysocks 1.6.8 py37_0
pytables 3.4.4 py37he6f6034_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-flask 0.10.0 pypi_0 pypi
pytest-openfiles 0.3.1 py37_0
pytest-remotedata 0.3.1 py37_0
python 3.7.1 h8c8aaf0_6
python-dateutil 2.7.5 py37_0
python-graphviz 0.10.1 pypi_0 pypi
python-libarchive-c 2.8 py37_6
pytz 2018.7 py37_0
pywavelets 1.0.1 py37h8c2d366_0
pywin32 223 py37hfa6e2cd_1
pywinpty 0.5.5 py37_1000
pyyaml 3.13 py37hfa6e2cd_0
pyzmq 17.1.2 pypi_0 pypi
qt 5.9.7 vc14h73c81de_0 [vc14]
qtawesome 0.5.3 py37_0
qtconsole 4.4.3 py37_0
qtpy 1.5.2 py37_0
requests 2.21.0 py37_0
rope 0.11.0 py37_0
ruamel_yaml 0.15.46 py37hfa6e2cd_0
scikit-image 0.14.1 py37ha925a31_0
scikit-learn 0.20.1 py37h343c172_0
scipy 1.1.0 py37h29ff71c_2
seaborn 0.9.0 py37_0
send2trash 1.5.0 py37_0
setuptools 40.6.3 py37_0
simplegeneric 0.8.1 py37_2
singledispatch 3.4.0.3 py37_0
sip 4.19.8 py37h6538335_0
six 1.12.0 py37_0
snappy 1.1.7 h777316e_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 py37he774522_0
sqlite 3.26.0 he774522_0
statsmodels 0.9.0 py37h452e1ab_0
sympy 1.3 py37_0
tblib 1.3.2 py37_0
terminado 0.8.1 py37_1
testpath 0.4.2 py37_0
text-unidecode 1.2 pypi_0 pypi
tk 8.6.8 hfa6e2cd_0
toolz 0.9.0 py37_0
tornado 5.1.1 py37hfa6e2cd_0
tqdm 4.28.1 py37h28b3542_0
traitlets 4.3.2 py37_0
unicodecsv 0.14.1 py37_0
urllib3 1.24.1 py37_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.15.26706 h3a45250_0
wcwidth 0.1.7 py37_0
webencodings 0.5.1 py37_1
werkzeug 0.14.1 py37_0
wheel 0.32.3 py37_0
widgetsnbextension 3.4.2 py37_0
win_inet_pton 1.0.1 py37_1
win_unicode_console 0.5 py37_0
wincertstore 0.2 py37_0
winpty 0.4.3 4
wrapt 1.10.11 py37hfa6e2cd_2
xdot 1.0 pypi_0 pypi
xlrd 1.2.0 py37_0
xlsxwriter 1.1.2 py37_0
xlwings 0.15.1 py37_0
xlwt 1.3.0 py37_0
xz 5.2.4 h2fa13f4_4
yaml 0.1.7 hc54c509_2
zeromq 4.2.5 he025d50_1
zict 0.1.3 py37_0
zlib 1.2.11 h62dcd97_3
zstd 1.3.7 h508b16e_0