IPython 'Error in generated code:', file=sys.stderr - python

I have an error trying to import IPython, the error seems to point to the decorator.py and
outputs this error:
from decorator import decorator
File "C:\Users\ASUS\miniconda3\envs\test\lib\site-packages\decorator.py", line 162
print('Error in generated code:', file=sys.stderr)
i am running python 2.7 with IPython 5.8 and decorator 5.1 from a conda environment with this dependencies:
# Name Version Build Channel
backcall 0.2.0 pyhd3eb1b0_0
backports 1.1 pyhd3eb1b0_0
backports.shutil_get_terminal_size 1.0.0 pyhd3eb1b0_3
blas 1.0 mkl
ca-certificates 2021.10.26 haa95532_2
certifi 2020.6.20 pyhd3eb1b0_3
colorama 0.4.4 pyhd3eb1b0_0
decorator 5.1.0 pyhd3eb1b0_0
enum34 1.1.6 py27_1
icc_rt 2019.0.0 h0cc432a_1
intel-openmp 2021.4.0 haa95532_3556
ipython 5.8.0 py27_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
markdown 3.1.1 py27_0
mkl 2020.2 256
mkl-service 2.3.0 py27h0b88c2a_0
mkl_fft 1.0.15 py27h44c1dab_0
numpy 1.16.6 py27hcd21bde_0
numpy-base 1.16.6 py27hb1d0314_0
parso 0.8.0 py_0
pathlib2 2.3.5 py27_0
pickleshare 0.7.5 py27_0
pip 20.3.4 pypi_0 pypi
prompt_toolkit 1.0.15 py27h3a8ec6a_0
pygments 2.5.2 py_0
python 2.7.18 hfb89ab9_0
rpsp 0.1 pypi_0 pypi
scandir 1.10.0 pyh5d7bf9c_3
scikit-learn 0.20.4 pypi_0 pypi
scipy 1.2.3 pypi_0 pypi
setuptools 44.1.1 pypi_0 pypi
simplegeneric 0.8.1 py27_2
six 1.16.0 pyhd3eb1b0_0
sklearn 0.0 pypi_0 pypi
sqlite 3.30.1 h0c8e037_0
traitlets 4.3.3 py27_0
vc 9 h2eaa2aa_6
vs2008_runtime 9.00.30729.1 haa95532_6
vs2015_runtime 14.27.29016 h5e58377_2
wcwidth 0.2.5 pyhd3eb1b0_0
wheel 0.37.1 pyhd3eb1b0_0
win_unicode_console 0.5 py27hc037021_0
wincertstore 0.2 py27hf04cefb_0

The decorator staring with V5.x.x, Requires: Python >=3.5
you can downgrade decorator to 4.x.x
conda install decorator=4.4.1

Please update decorator to the version 5.1.1: seems like there was a bug in 5.1.0.

Related

Failed to import data to a stream table containing array vectors with DolphinDB Python API

The following script defines a stream table where the column “askPrice“ and “bidPrice“ are array vectors of DOUBLE type.
share streamTable(
10000:0,
`time`sym`askPrice`bidPrice,
[DATETIME,SYMBOL,DOUBLE[],DOUBLE[]]
) as testSt;
Script in Python:
import dolphindb as ddb
import pandas as pd
import numpy as np
if __name__ == "__main__":
    se = ddb.session("localhost", 8848)
    df = pd.DataFrame(
        {
            "time": pd.Timestamp.now().to_numpy(),
            "sym": ["600519.SH"],
            "askPrice":[np.array([11.0,12.0],dtype=np.float64)], 
            "bidPrice":[np.array([11.1,12.1],dtype=np.float64)], 
        }
    )
    n = se.run("tableInsert{testSt}", df)
    print(n)
But an exception was thown when I run the script:
RuntimeError: <Exception> in call: Failed to append data to column 'askPrice'
I tried to change the data type of column askPrice and bidPrice with the following script, but it still failed:
import dolphindb as ddb
import pandas as pd
import numpy as np
if __name__ == "__main__":
    se = ddb.session("localhost", 8848,"admin", "123456")
    values = np.array([np.array([11,12,13,14],dtype=np.float64)],dtype=object)
    df = pd.DataFrame(
        {
            "time": pd.Timestamp.now().to_numpy(),
            "sym": ["600519.SH"],
            "askPrice":values, 
            "bidPrice":values, 
            #"askPrice":[np.array([11.0,12.0],dtype=np.float64)], 
            #"bidPrice":[np.array([11.1,12.1],dtype=np.float64)], 
        }
    )
    n = se.run("tableInsert{testSt}", df)
Error message is as follows:
Exception: Data must be 1-dimensional
The following is the version of related packages (in Windows environment):
PS C:\Users\demo> pip list
Package Version
---------------------------------- ---------
alabaster 0.7.12
anaconda-client 1.7.2
anaconda-navigator 1.9.7
anaconda-project 0.8.3
asn1crypto 1.0.1
astroid 2.3.1
astropy 3.2.1
atomicwrites 1.3.0
attrs 19.2.0
Babel 2.7.0
backcall 0.1.0
backports.functools-lru-cache 1.5
backports.os 0.1.1
backports.shutil-get-terminal-size 1.0.0
backports.tempfile 1.0
backports.weakref 1.0.post1
beautifulsoup4 4.8.0
bitarray 1.0.1
bkcharts 0.2
bleach 3.1.0
bokeh 1.3.4
boto 2.49.0
Bottleneck 1.2.1
certifi 2019.9.11
cffi 1.12.3
chardet 3.0.4
Click 7.0
cloudpickle 1.2.2
clyent 1.2.2
colorama 0.4.1
comtypes 1.1.7
conda 4.7.12
conda-build 3.18.9
conda-package-handling 1.6.0
conda-verify 3.4.2
contextlib2 0.6.0
cryptography 2.7
cycler 0.10.0
Cython 0.29.13
cytoolz 0.10.0
dask 2.5.2
decorator 4.4.0
defusedxml 0.6.0
distributed 2.5.2
docutils 0.15.2
dolphindb 1.30.19.4
entrypoints 0.3
et-xmlfile 1.0.1
fastcache 1.1.0
filelock 3.0.12
Flask 1.1.1
fsspec 0.5.2
future 0.17.1
gevent 1.4.0
glob2 0.7
greenlet 0.4.15
h5py 2.9.0
HeapDict 1.0.1
html5lib 1.0.1
idna 2.8
imageio 2.6.0
imagesize 1.1.0
importlib-metadata 0.23
ipykernel 5.1.2
ipython 7.8.0
ipython-genutils 0.2.0
ipywidgets 7.5.1
isort 4.3.21
itsdangerous 1.1.0
jdcal 1.4.1
jedi 0.15.1
Jinja2 2.10.3
joblib 0.13.2
json5 0.8.5
jsonschema 3.0.2
jupyter 1.0.0
jupyter-client 5.3.3
jupyter-console 6.0.0
jupyter-core 4.5.0
jupyterlab 1.1.4
jupyterlab-server 1.0.6
keyring 18.0.0
kiwisolver 1.1.0
lazy-object-proxy 1.4.2
libarchive-c 2.8
llvmlite 0.29.0
locket 0.2.0
lxml 4.4.1
MarkupSafe 1.1.1
matplotlib 3.1.1
mccabe 0.6.1
menuinst 1.4.16
mistune 0.8.4
mkl-fft 1.0.14
mkl-random 1.1.0
mkl-service 2.3.0
mock 3.0.5
more-itertools 7.2.0
mpmath 1.1.0
msgpack 0.6.1
multipledispatch 0.6.0
navigator-updater 0.2.1
nbconvert 5.6.0
nbformat 4.4.0
networkx 2.3
nltk 3.4.5
nose 1.3.7
notebook 6.0.1
numba 0.45.1
numexpr 2.7.0
numpy 1.19.3
numpydoc 0.9.1
olefile 0.46
openpyxl 3.0.0
packaging 19.2
pandas 0.25.1
pandocfilters 1.4.2
parso 0.5.1
partd 1.0.0
path.py 12.0.1
pathlib2 2.3.5
patsy 0.5.1
pep8 1.7.1
pickleshare 0.7.5
Pillow 6.2.0
pip 19.2.3
pkginfo 1.5.0.1
pluggy 0.13.0
ply 3.11
prometheus-client 0.7.1
prompt-toolkit 2.0.10
psutil 5.6.3
py 1.8.0
pycodestyle 2.5.0
pycosat 0.6.3
pycparser 2.19
pycrypto 2.6.1
pycurl 7.43.0.3
pyflakes 2.1.1
Pygments 2.4.2
pylint 2.4.2
pyodbc 4.0.27
pyOpenSSL 19.0.0
pyparsing 2.4.2
pyreadline 2.1
pyrsistent 0.15.4
PySocks 1.7.1
pytest 5.2.1
pytest-arraydiff 0.3
pytest-astropy 0.5.0
pytest-doctestplus 0.4.0
pytest-openfiles 0.4.0
pytest-remotedata 0.3.2
python-dateutil 2.8.0
pytz 2019.3
PyWavelets 1.0.3
pywin32 223
pywinpty 0.5.5
PyYAML 5.1.2
pyzmq 18.1.0
QtAwesome 0.6.0
qtconsole 4.5.5
QtPy 1.9.0
requests 2.22.0
rope 0.14.0
ruamel-yaml 0.15.46
scikit-image 0.15.0
scikit-learn 0.21.3
scipy 1.3.1
seaborn 0.9.0
Send2Trash 1.5.0
setuptools 41.4.0
simplegeneric 0.8.1
singledispatch 3.4.0.3
six 1.12.0
snowballstemmer 2.0.0
sortedcollections 1.1.2
sortedcontainers 2.1.0
soupsieve 1.9.3
Sphinx 2.2.0
sphinxcontrib-applehelp 1.0.1
sphinxcontrib-devhelp 1.0.1
sphinxcontrib-htmlhelp 1.0.2
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.2
sphinxcontrib-serializinghtml 1.1.3
sphinxcontrib-websupport 1.1.2
spyder 3.3.6
spyder-kernels 0.5.2
SQLAlchemy 1.3.9
statsmodels 0.10.1
sympy 1.4
tables 3.5.2
tblib 1.4.0
terminado 0.8.2
testpath 0.4.2
toolz 0.10.0
tornado 6.0.3
tqdm 4.36.1
traitlets 4.3.3
unicodecsv 0.14.1
urllib3 1.24.2
wcwidth 0.1.7
webencodings 0.5.1
Werkzeug 0.16.0
wheel 0.33.6
widgetsnbextension 3.5.1
win-inet-pton 1.1.0
win-unicode-console 0.5
wincertstore 0.2
wrapt 1.11.2
xlrd 1.2.0
XlsxWriter 1.2.1
xlwings 0.15.10
xlwt 1.3.0
zict 1.0.0
zipp 0.6.0
This problem is caused by version incompatibility between python packages.
It is recommended to upgrade numpy to version 1.19.5, and pandas to version 1.3.5/1.1.0.
You can upgrade with the following command:
pip install --upgrade numpy==1.21.5
pip install --upgrade pandas==1.3.5

python convert to exe using nuitka

I have created a project using pyqt and I want to convert it to exe I have tried pyinstaller but my program is too slow I heard about changing the code to c/c++ and I have tried Nuitka but I got error about file location
FileNotFoundError: [WinError 3] The system cannot find the path specified: path\\MAIN~1.DIS\\qt_material\\resources\\source ```
and this is my Nuitka
python -m nuitka --run --show-progress --standalone --plugin-enable=pyside6 --include-qt-plugins=all --enable-plugin=numpy main.py ```
conda list
# Name Version Build Channel
_tflow_select 2.1.0 gpu
abseil-cpp 20210324.2 hd77b12b_0
absl-py 0.15.0 pyhd3eb1b0_0
aiohttp 3.8.1 py39h2bbff1b_1
aiosignal 1.2.0 pyhd3eb1b0_0
altgraph 0.17.2 pypi_0 pypi
astor 0.8.1 py39haa95532_0
astunparse 1.6.3 py_0
async-timeout 4.0.1 pyhd3eb1b0_0
attrs 21.4.0 pyhd3eb1b0_0
blas 1.0 mkl
blinker 1.4 py39haa95532_0
brotlipy 0.7.0 py39h2bbff1b_1003
ca-certificates 2022.07.19 haa95532_0
cachetools 4.2.2 pyhd3eb1b0_0
certifi 2022.6.15 py39haa95532_0
cffi 1.15.0 py39h2bbff1b_1
charset-normalizer 2.1.0 pypi_0 pypi
click 8.0.4 py39haa95532_0
colorama 0.4.5 py39haa95532_0
cryptography 3.4.8 py39h71e12ea_0
cudatoolkit 11.3.1 h59b6b97_2
cudnn 8.2.1 cuda11.3_0
cx-freeze 6.11.1 pypi_0 pypi
cx-logging 3.0 pypi_0 pypi
dataclasses 0.8 pyh6d0b6a4_7
distlib 0.3.5 pypi_0 pypi
docutils 0.19 pypi_0 pypi
et-xmlfile 1.1.0 pypi_0 pypi
filelock 3.7.1 pypi_0 pypi
flatbuffers 2.0.0 h6c2663c_0
frozenlist 1.2.0 py39h2bbff1b_0
future 0.18.2 pypi_0 pypi
gast 0.4.0 pyhd3eb1b0_0 anaconda
giflib 5.2.1 h62dcd97_0
google-auth 2.6.0 pyhd3eb1b0_0 anaconda
google-auth-oauthlib 0.4.1 py_2 anaconda
google-pasta 0.2.0 pyhd3eb1b0_0
grpcio 1.42.0 py39hc60d5dd_0
h5py 3.7.0 py39h3de5c98_0
hdf5 1.10.6 h7ebc959_0
icc_rt 2019.0.0 h0cc432a_1
icu 68.1 h6c2663c_0
idna 3.3 pyhd3eb1b0_0
importlib-metadata 4.12.0 pypi_0 pypi
intel-openmp 2021.4.0 haa95532_3556
jinja2 3.1.2 pypi_0 pypi
jpeg 9e h2bbff1b_0
keras-preprocessing 1.1.2 pyhd3eb1b0_0
kivy 2.1.0 pypi_0 pypi
kivy-deps-angle 0.3.2 pypi_0 pypi
kivy-deps-glew 0.3.1 pypi_0 pypi
kivy-deps-sdl2 0.4.5 pypi_0 pypi
kivy-garden 0.1.5 pypi_0 pypi
libcurl 7.82.0 h86230a5_0
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.17.2 h23ce68f_1
libssh2 1.10.0 hcd4344a_0
lief 0.12.1 pypi_0 pypi
lxml 4.9.1 pypi_0 pypi
markdown 3.3.4 py39haa95532_0
markupsafe 2.1.1 pypi_0 pypi
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
multidict 5.1.0 py39h2bbff1b_2
nuitka 1.0 pypi_0 pypi
numpy 1.23.1 pypi_0 pypi
numpy-base 1.22.3 py39hca35cd5_0
oauthlib 3.2.0 pyhd3eb1b0_0
openpyxl 3.0.10 pypi_0 pypi
openssl 1.1.1q h2bbff1b_0
opt_einsum 3.3.0 pyhd3eb1b0_1
orderedset 2.0.3 pypi_0 pypi
packaging 21.3 pypi_0 pypi
pandas 1.4.3 pypi_0 pypi
pefile 2022.5.30 pypi_0 pypi
pip 22.2.1 pypi_0 pypi
platformdirs 2.5.2 pypi_0 pypi
protobuf 3.17.2 py39hd77b12b_0 anaconda
pyarmor 7.6.0 pypi_0 pypi
pyasn1 0.4.8 pyhd3eb1b0_0
pyasn1-modules 0.2.8 py_0
pycparser 2.21 pyhd3eb1b0_0
pygments 2.12.0 pypi_0 pypi
pyinstaller 5.3 pypi_0 pypi
pyinstaller-hooks-contrib 2022.8 pypi_0 pypi
pyjwt 2.4.0 py39haa95532_0
pynsist 2.8 pypi_0 pypi
pyopenssl 21.0.0 pyhd3eb1b0_1 anaconda
pyoxidizer 0.22.0 pypi_0 pypi
pyparsing 3.0.9 pypi_0 pypi
pypiwin32 223 pypi_0 pypi
pyqt6 6.3.1 pypi_0 pypi
pyqt6-qt6 6.3.1 pypi_0 pypi
pyqt6-sip 13.4.0 pypi_0 pypi
pyreadline 2.1 py39haa95532_1 anaconda
pyside6 6.3.1 pypi_0 pypi
pyside6-addons 6.3.1 pypi_0 pypi
pyside6-essentials 6.3.1 pypi_0 pypi
pysocks 1.7.1 py39haa95532_0
python 3.9.12 h6244533_0
python-dateutil 2.8.2 pypi_0 pypi
python-docx 0.8.11 pypi_0 pypi
python-flatbuffers 1.12 pyhd3eb1b0_0 anaconda
pytz 2022.1 pypi_0 pypi
pywin32 304 pypi_0 pypi
pywin32-ctypes 0.2.0 pypi_0 pypi
qt-material 2.12 pypi_0 pypi
requests 2.28.1 py39haa95532_0
requests-download 0.1.2 pypi_0 pypi
requests-oauthlib 1.3.0 py_0
rsa 4.7.2 pyhd3eb1b0_1
scipy 1.7.3 py39h0a974cb_0
setuptools 60.10.0 pypi_0 pypi
shiboken6 6.3.1 pypi_0 pypi
six 1.16.0 pyhd3eb1b0_1
snappy 1.1.9 h6c2663c_0
sqlite 3.38.5 h2bbff1b_0
tensorboard 2.6.0 py_1 anaconda
tensorboard-data-server 0.6.0 py39haa95532_0
tensorboard-plugin-wit 1.6.0 py_0 anaconda
tensorflow 2.6.0 gpu_py39he88c5ba_0 anaconda
tensorflow-base 2.6.0 gpu_py39hb3da07e_0 anaconda
tensorflow-estimator 2.6.0 pyh7b7c402_0 anaconda
tensorflow-gpu 2.6.0 h17022bd_0 anaconda
termcolor 1.1.0 py39haa95532_1
typing-extensions 4.1.1 hd3eb1b0_0
typing_extensions 4.1.1 pyh06a4308_0
tzdata 2022a hda174b7_0
urllib3 1.26.11 py39haa95532_0
vc 14.2 h21ff451_1
virtualenv 20.16.2 pypi_0 pypi
vs2015_runtime 14.27.29016 h5e58377_2
werkzeug 2.0.3 pyhd3eb1b0_0
wheel 0.35.1 pyhd3eb1b0_0 anaconda
win_inet_pton 1.1.0 py39haa95532_0
wincertstore 0.2 py39haa95532_2
wrapt 1.14.1 py39h2bbff1b_0
yarg 0.1.9 pypi_0 pypi
yarl 1.6.3 py39h2bbff1b_0
zipp 3.8.1 pypi_0 pypi
zlib 1.2.11 vc14h1cdd9ab_1 [vc14] anaconda
#Note I have an extra file like XML, excel in my program I don't know if it necessity

Conda: No module named multiprocess

I am trying to use a module, which has multiprocess inside. I have checked via conda list and here's the output:
# Name Version Build Channel
_anaconda_depends 2021.11 py39_0
_ipyw_jlab_nb_ext_conf 0.1.0 py39hecd8cb5_0
aiohttp 3.7.4 pypi_0 pypi
aiohttp-session 2.7.0 pypi_0 pypi
alabaster 0.7.12 pyhd3eb1b0_0
anaconda custom py39_1
anaconda-client 1.9.0 py39hecd8cb5_0
anaconda-navigator 2.1.1 py39_0
anaconda-project 0.10.1 pyhd3eb1b0_0
anyio 2.2.0 py39hecd8cb5_1
appdirs 1.4.4 pyhd3eb1b0_0
applaunchservices 0.2.1 pyhd3eb1b0_0
appnope 0.1.2 py39hecd8cb5_1001
appscript 1.1.2 py39h9ed2024_0
argh 0.26.2 py39hecd8cb5_0
argon2-cffi 21.3.0 pyhd3eb1b0_0
argon2-cffi-bindings 21.2.0 py39hca72f7f_0
arrow 0.13.1 py39hecd8cb5_0
asn1crypto 1.4.0 py_0
astroid 2.6.6 py39hecd8cb5_0
astropy 5.0 py39h7588534_0
async-timeout 3.0.1 pypi_0 pypi
async_generator 1.10 pyhd3eb1b0_0
asyncinit 0.2.4 pypi_0 pypi
atomicwrites 1.4.0 py_0
attrs 21.4.0 pyhd3eb1b0_0
autopep8 1.6.0 pyhd3eb1b0_0
avro 1.10.2 pypi_0 pypi
azure-core 1.22.1 pypi_0 pypi
azure-identity 1.6.0 pypi_0 pypi
azure-storage-blob 12.8.1 pypi_0 pypi
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.shutil_get_terminal_size 1.0.0 pyhd3eb1b0_3
backports.tempfile 1.0 pyhd3eb1b0_1
backports.weakref 1.0.post1 py_1
beautifulsoup4 4.10.0 pyh06a4308_0
binaryornot 0.4.4 pyhd3eb1b0_1
bitarray 2.3.5 py39hca72f7f_0
bkcharts 0.2 py39hecd8cb5_0
black 19.10b0 py_0
blas 1.0 mkl
bleach 4.1.0 pyhd3eb1b0_0
blosc 1.21.0 h2842e9f_0
bokeh 1.4.0 pypi_0 pypi
boto 2.49.0 py39hecd8cb5_0
boto3 1.21.3 pypi_0 pypi
botocore 1.24.3 pypi_0 pypi
bottleneck 1.3.2 py39he3068b8_1
brotli 1.0.9 hb1e8313_2
brotlipy 0.7.0 py39h9ed2024_1003
brunsli 0.1 h23ab428_0
bzip2 1.0.8 h1de35cc_0
c-ares 1.18.1 hca72f7f_0
ca-certificates 2021.10.26 hecd8cb5_2
cached-property 1.5.2 py_0
cachetools 4.2.4 pypi_0 pypi
certifi 2021.10.8 py39hecd8cb5_2
cffi 1.15.0 py39hc55c11b_1
cfitsio 3.470 hee0f690_6
chardet 3.0.4 pypi_0 pypi
charls 2.2.0 h23ab428_0
charset-normalizer 2.0.4 pyhd3eb1b0_0
click 8.0.3 pyhd3eb1b0_0
cloudpickle 2.0.0 pyhd3eb1b0_0
clyent 1.2.2 py39hecd8cb5_1
colorama 0.4.4 pyhd3eb1b0_0
conda 4.11.0 py39hecd8cb5_0
conda-build 3.21.5 py39hecd8cb5_0
conda-content-trust 0.1.1 pyhd3eb1b0_0
conda-env 2.6.0 1
conda-pack 0.6.0 pyhd3eb1b0_0
conda-package-handling 1.7.3 py39h9ed2024_1
conda-repo-cli 1.0.4 pyhd3eb1b0_0
conda-token 0.3.0 pyhd3eb1b0_0
conda-verify 3.4.2 py_1
contextlib2 0.6.0.post1 pyhd3eb1b0_0
cookiecutter 1.7.2 pyhd3eb1b0_0
cryptography 3.4.8 py39h2fd3fbb_0
curl 7.80.0 hca72f7f_0
cycler 0.11.0 pyhd3eb1b0_0
cython 0.29.25 py39he9d5cce_0
cytoolz 0.11.0 py39h9ed2024_0
daal4py 2021.5.0 py39h24a4e90_0
dal 2021.5.0 hecd8cb5_782
dask 2021.10.0 pyhd3eb1b0_0
dask-core 2021.10.0 pyhd3eb1b0_0
dataclasses 0.8 pyh6d0b6a4_7
debugpy 1.5.1 py39he9d5cce_0
decorator 4.4.2 pypi_0 pypi
defusedxml 0.7.1 pyhd3eb1b0_0
deprecated 1.2.13 pypi_0 pypi
diff-match-patch 20200713 pyhd3eb1b0_0
dill 0.3.4 pyhd8ed1ab_0 conda-forge
distributed 2021.10.0 py39hecd8cb5_0
docutils 0.17.1 py39hecd8cb5_1
entrypoints 0.3 py39hecd8cb5_0
et_xmlfile 1.1.0 py39hecd8cb5_0
fastcache 1.1.0 py39h9ed2024_0
filelock 3.4.2 pyhd3eb1b0_0
flake8 3.9.2 pyhd3eb1b0_0
flask 1.1.2 pyhd3eb1b0_0
fonttools 4.25.0 pyhd3eb1b0_0
freetype 2.11.0 hd8bbffd_0
fsspec 2021.11.1 pypi_0 pypi
future 0.18.2 py39hecd8cb5_1
gcsfs 2021.11.1 pypi_0 pypi
get_terminal_size 1.0.0 h7520d66_0
gevent 21.8.0 py39h9ed2024_1
giflib 5.2.1 haf1e3a3_0
glob2 0.7 pyhd3eb1b0_0
gmp 6.2.1 h23ab428_2
gmpy2 2.1.2 py39hd5de756_0
google-api-core 1.31.5 pypi_0 pypi
google-auth 1.27.0 pypi_0 pypi
google-auth-oauthlib 0.4.6 pypi_0 pypi
google-cloud-core 1.7.2 pypi_0 pypi
google-cloud-storage 1.25.0 pypi_0 pypi
google-resumable-media 0.5.1 pypi_0 pypi
googleapis-common-protos 1.54.0 pypi_0 pypi
greenlet 1.1.1 py39h23ab428_0
h5py 3.6.0 py39h4a1dd59_0
hail 0.2.85 pypi_0 pypi
hdf5 1.10.6 hdbbcd12_0
heapdict 1.0.1 pyhd3eb1b0_0
html5lib 1.1 pyhd3eb1b0_0
humanize 1.0.0 pypi_0 pypi
hurry-filesize 0.9 pypi_0 pypi
icu 58.2 h0a44026_3
idna 2.10 pypi_0 pypi
imagecodecs 2021.8.26 py39ha952a84_0
imageio 2.9.0 pyhd3eb1b0_0
imagesize 1.3.0 pyhd3eb1b0_0
importlib-metadata 4.8.2 py39hecd8cb5_0
importlib_metadata 4.8.2 hd3eb1b0_0
inflection 0.5.1 py39hecd8cb5_0
iniconfig 1.1.1 pyhd3eb1b0_0
intel-openmp 2021.4.0 hecd8cb5_3538
intervaltree 3.1.0 pyhd3eb1b0_0
ipykernel 6.4.1 py39hecd8cb5_1
ipython 7.29.0 py39h01d92e1_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.5 pyhd3eb1b0_1
isodate 0.6.1 pypi_0 pypi
isort 5.9.3 pyhd3eb1b0_0
itsdangerous 2.0.1 pyhd3eb1b0_0
janus 0.6.2 pypi_0 pypi
jbig 2.1 h4d881f8_0
jdcal 1.4.1 pyhd3eb1b0_0
jedi 0.18.1 py39hecd8cb5_1
jinja2 2.11.3 pyhd3eb1b0_0
jinja2-time 0.2.0 pyhd3eb1b0_2
jmespath 0.10.0 pypi_0 pypi
joblib 1.1.0 pyhd3eb1b0_0
jpeg 9d h9ed2024_0
json5 0.9.6 pyhd3eb1b0_0
jsonschema 3.2.0 pyhd3eb1b0_2
jupyter 1.0.0 py39hecd8cb5_7
jupyter_client 6.1.12 pyhd3eb1b0_0
jupyter_console 6.4.0 pyhd3eb1b0_0
jupyter_core 4.9.1 py39hecd8cb5_0
jupyter_server 1.4.1 py39hecd8cb5_0
jupyterlab 3.2.1 pyhd3eb1b0_1
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 2.8.2 pyhd3eb1b0_0
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
jxrlib 1.1 haf1e3a3_2
keyring 23.4.0 py39hecd8cb5_0
kiwisolver 1.3.2 py39he9d5cce_0
krb5 1.19.2 hcd88c3b_0
lazy-object-proxy 1.6.0 py39h9ed2024_0
lcms2 2.12 hf1fd2bf_0
lerc 3.0 he9d5cce_0
libaec 1.0.4 hb1e8313_1
libarchive 3.4.2 haa3ed63_0
libcurl 7.80.0 h6dfd666_0
libcxx 12.0.0 h2f01273_0
libdeflate 1.8 h9ed2024_5
libedit 3.1.20210910 hca72f7f_0
libev 4.33 h9ed2024_1
libffi 3.3 hb1e8313_2
libgfortran 3.0.1 h93005f0_2
libiconv 1.16 h1de35cc_0
liblief 0.10.1 h23ab428_1
libllvm11 11.1.0 h9b2ccf5_0
libnghttp2 1.46.0 ha29bfda_0
libpng 1.6.37 ha441bb4_0
libsodium 1.0.18 h1de35cc_0
libsolv 0.7.20 h8346a28_0
libspatialindex 1.9.3 h23ab428_0
libssh2 1.9.0 ha12b0ac_1
libtiff 4.2.0 h87d7836_0
libuv 1.40.0 haf1e3a3_0
libwebp 1.2.0 hacca55c_0
libwebp-base 1.2.0 h9ed2024_0
libxml2 2.9.12 hcdb78fc_0
libxslt 1.1.34 h83b36ba_0
libzopfli 1.0.3 hb1e8313_0
llvm-openmp 12.0.0 h0dcd299_1
llvmlite 0.37.0 py39he4411ff_1
locket 0.2.1 py39hecd8cb5_1
lxml 4.7.1 py39h65b224f_1
lz4-c 1.9.3 h23ab428_1
lzo 2.10 haf1e3a3_2
mamba 0.7.6 py39h2f6f512_0 conda-forge
markupsafe 1.1.1 py39h9ed2024_0
matplotlib 3.5.1 py39hecd8cb5_0
matplotlib-base 3.5.1 py39hfb0c5b7_0
matplotlib-inline 0.1.2 pyhd3eb1b0_2
mccabe 0.6.1 py39hecd8cb5_1
mistune 0.8.4 py39h9ed2024_1000
mkl 2021.4.0 hecd8cb5_637
mkl-service 2.4.0 py39h9ed2024_0
mkl_fft 1.3.1 py39h4ab4a9b_0
mkl_random 1.2.2 py39hb2f4e1b_0
mock 4.0.3 pyhd3eb1b0_0
more-itertools 8.12.0 pyhd3eb1b0_0
mpc 1.1.0 h6ef4df4_1
mpfr 4.0.2 h9066e36_1
mpi 1.0 mpich
mpich 3.3.2 hc856adb_0
mpmath 1.2.1 py39hecd8cb5_0
msal 1.17.0 pypi_0 pypi
msal-extensions 0.3.1 pypi_0 pypi
msgpack-python 1.0.2 py39hf7b0b51_1
msrest 0.6.21 pypi_0 pypi
multidict 6.0.2 pypi_0 pypi
multipledispatch 0.6.0 py39hecd8cb5_0
multiprocess 0.70.12.2 py39h9ed2024_0
munkres 1.1.4 py_0
mypy_extensions 0.4.3 py39hecd8cb5_1
navigator-updater 0.2.1 py39hecd8cb5_0
nbclassic 0.2.6 pyhd3eb1b0_0
nbclient 0.5.3 pyhd3eb1b0_0
nbconvert 6.1.0 py39hecd8cb5_0
nbformat 5.1.3 pyhd3eb1b0_0
ncurses 6.3 hca72f7f_2
nest-asyncio 1.5.4 pypi_0 pypi
networkx 2.6.3 pyhd3eb1b0_0
nltk 3.6.5 pyhd3eb1b0_0
nose 1.3.7 pyhd3eb1b0_1008
notebook 6.4.5 py39hecd8cb5_0
numba 0.54.1 py39hae1ba45_0
numexpr 2.8.1 py39h2e5f0a9_0
numpy 1.20.3 py39h4b4dc7a_0
numpy-base 1.20.3 py39he0bd621_0
numpydoc 1.1.0 pyhd3eb1b0_1
oauthlib 3.2.0 pypi_0 pypi
olefile 0.46 pyhd3eb1b0_0
openjpeg 2.4.0 h66ea3da_0
openpyxl 3.0.9 pyhd3eb1b0_0
openssl 1.1.1m hca72f7f_0
orjson 3.6.4 pypi_0 pypi
packaging 21.3 pyhd3eb1b0_0
pandas 1.4.1 py39he9d5cce_0
pandocfilters 1.5.0 pyhd3eb1b0_0
parsimonious 0.8.1 pypi_0 pypi
parso 0.8.3 pyhd3eb1b0_0
partd 1.2.0 pyhd3eb1b0_0
path 16.2.0 pyhd3eb1b0_0
path.py 12.5.0 hd3eb1b0_0
pathlib2 2.3.6 py39hecd8cb5_2
pathspec 0.7.0 py_0
patsy 0.5.2 py39hecd8cb5_1
pep8 1.7.1 py39hecd8cb5_0
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 8.4.0 py39h98e4679_0
pip 21.2.4 py39hecd8cb5_0
pkginfo 1.8.2 pyhd3eb1b0_0
plotly 5.5.0 pypi_0 pypi
pluggy 1.0.0 py39hecd8cb5_0
ply 3.11 py39hecd8cb5_0
portalocker 2.4.0 pypi_0 pypi
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
protobuf 3.19.4 pypi_0 pypi
psutil 5.8.0 py39h9ed2024_1
ptyprocess 0.7.0 pyhd3eb1b0_2
py 1.11.0 pyhd3eb1b0_0
py-lief 0.10.1 py39h23ab428_1
py4j 0.10.9 pypi_0 pypi
pyasn1 0.4.8 pypi_0 pypi
pyasn1-modules 0.2.8 pypi_0 pypi
pycodestyle 2.7.0 pyhd3eb1b0_0
pycosat 0.6.3 py39h9ed2024_0
pycparser 2.21 pyhd3eb1b0_0
pycurl 7.44.1 py39hbcfaee0_1
pydocstyle 6.1.1 pyhd3eb1b0_0
pyerfa 2.0.0 py39h9ed2024_0
pyflakes 2.3.1 pyhd3eb1b0_0
pygments 2.11.2 pyhd3eb1b0_0
pyjwt 2.1.0 py39hecd8cb5_0
pylint 2.9.6 py39hecd8cb5_1
pyls-spyder 0.4.0 pyhd3eb1b0_0
pyodbc 4.0.32 py39he9d5cce_0
pyopenssl 21.0.0 pyhd3eb1b0_1
pyparsing 3.0.4 pyhd3eb1b0_0
pyqt 5.9.2 py39h23ab428_6
pyrsistent 0.18.0 py39hca72f7f_0
pysocks 1.7.1 py39hecd8cb5_0
pyspark 3.1.3 pypi_0 pypi
pytables 3.6.1 py39h648f197_1
pytest 6.2.5 py39hecd8cb5_2
python 3.9.7 h88f2d9e_1
python-dateutil 2.8.2 pyhd3eb1b0_0
python-json-logger 0.1.11 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.app 3 py39hca72f7f_0
python_abi 3.9 2_cp39 conda-forge
pytz 2021.3 pyhd3eb1b0_0
pywavelets 1.1.1 py39he3068b8_4
pyyaml 6.0 py39hca72f7f_1
pyzmq 22.3.0 py39he9d5cce_2
qdarkstyle 3.0.2 pyhd3eb1b0_0
qstylizer 0.1.10 pyhd3eb1b0_0
qt 5.9.7 h468cd18_1
qtawesome 1.0.3 pyhd3eb1b0_0
qtconsole 5.1.1 pyhd3eb1b0_0
qtpy 1.11.2 pyhd3eb1b0_0
readline 8.1.2 hca72f7f_1
regex 2021.11.2 py39hca72f7f_0
reproc 14.2.3 h0d85af4_0 conda-forge
reproc-cpp 14.2.3 he49afe7_0 conda-forge
requests 2.25.1 pypi_0 pypi
requests-oauthlib 1.3.1 pypi_0 pypi
ripgrep 12.1.1 0
rope 0.22.0 pyhd3eb1b0_0
rsa 4.8 pypi_0 pypi
rtree 0.9.7 py39hecd8cb5_1
ruamel_yaml 0.15.100 py39h9ed2024_0
s3transfer 0.5.1 pypi_0 pypi
scikit-image 0.18.3 py39hae1ba45_0
scikit-learn 1.0.2 py39hae1ba45_1
scikit-learn-intelex 2021.5.0 py39hecd8cb5_0
scipy 1.7.3 py39h8c7af03_0
seaborn 0.11.2 pyhd3eb1b0_0
send2trash 1.8.0 pyhd3eb1b0_1
setuptools 58.0.4 py39hecd8cb5_0
simplegeneric 0.8.1 py39hecd8cb5_2
singledispatch 3.7.0 pyhd3eb1b0_1001
sip 4.19.13 py39h23ab428_0
six 1.16.0 pyhd3eb1b0_1
snappy 1.1.8 hb1e8313_0
sniffio 1.2.0 py39hecd8cb5_1
snowballstemmer 2.2.0 pyhd3eb1b0_0
sortedcollections 2.1.0 pyhd3eb1b0_0
sortedcontainers 2.1.0 pypi_0 pypi
soupsieve 2.3.1 pyhd3eb1b0_0
sphinx 4.2.0 pyhd3eb1b0_1
sphinxcontrib 1.0 py39hecd8cb5_1
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
sphinxcontrib-websupport 1.2.4 py_0
spyder 5.1.5 py39hecd8cb5_1
spyder-kernels 2.1.3 py39hecd8cb5_0
sqlalchemy 1.4.27 py39hca72f7f_0
sqlite 3.37.2 h707629a_0
statsmodels 0.12.2 py39h9ed2024_0
sympy 1.9 py39hecd8cb5_0
tabulate 0.8.3 pypi_0 pypi
tbb 2021.5.0 haf03e11_0
tbb4py 2021.5.0 py39haf03e11_0
tblib 1.7.0 pyhd3eb1b0_0
tenacity 8.0.1 pypi_0 pypi
terminado 0.13.1 py39hecd8cb5_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 h7bc2e8c_0
toml 0.10.2 pyhd3eb1b0_0
toolz 0.11.2 pyhd3eb1b0_0
tornado 6.1 py39h9ed2024_0
tqdm 4.62.3 pyhd3eb1b0_1
traitlets 5.1.1 pyhd3eb1b0_0
typed-ast 1.4.3 py39h9ed2024_1
typing-extensions 3.10.0.2 hd3eb1b0_0
typing_extensions 3.10.0.2 pyh06a4308_0
tzdata 2021e hda174b7_0
ujson 4.2.0 py39he9d5cce_0
unicodecsv 0.14.1 py39hecd8cb5_0
unidecode 1.2.0 pyhd3eb1b0_0
unixodbc 2.3.9 haf1e3a3_0
urllib3 1.26.7 pyhd3eb1b0_0
uvloop 0.16.0 pypi_0 pypi
watchdog 2.1.6 py39h999c104_0
wcwidth 0.2.5 pyhd3eb1b0_0
webencodings 0.5.1 py39hecd8cb5_1
werkzeug 2.0.2 pyhd3eb1b0_0
wheel 0.37.1 pyhd3eb1b0_0
whichcraft 0.6.1 pyhd3eb1b0_0
widgetsnbextension 3.5.1 py39hecd8cb5_0
wrapt 1.12.1 py39h9ed2024_1
wurlitzer 3.0.2 py39hecd8cb5_0
xlrd 2.0.1 pyhd3eb1b0_0
xlsxwriter 3.0.2 pyhd3eb1b0_0
xlwings 0.24.9 py39hecd8cb5_0
xlwt 1.3.0 py39hecd8cb5_0
xmltodict 0.12.0 pyhd3eb1b0_0
xz 5.2.5 h1de35cc_0
yaml 0.2.5 haf1e3a3_0
yapf 0.31.0 pyhd3eb1b0_0
yarl 1.7.2 pypi_0 pypi
zeromq 4.3.4 h23ab428_0
zfp 0.5.5 he9d5cce_6
zict 2.0.0 pyhd3eb1b0_0
zipp 3.7.0 pyhd3eb1b0_0
zlib 1.2.11 h4dc903c_4
zope 1.0 py39hecd8cb5_1
zope.event 4.5.0 py39hecd8cb5_0
zope.interface 5.4.0 py39h9ed2024_0
zstd 1.4.9 h322a384_0
As it can be seen multiprocess is on the list. However, when I am trying to run my program, I got the following error:
No module named 'multiprocess'
Solutions I have already tried:
Installation via pip
Installation via conda the following way: conda install -c conda-forge multiprocess
Installation via PyCharm. I am not suggesting it's very different from (2), however, I have given it a try
Removal and reinstallation
Conda update via conda update --force conda
Multiple times activation and deactivation of Conda, just for the sake of a try
Rebooting
I have checked the module via small script:
import multiprocess as mp
print(mp)
And I get:
<module 'multiprocess' from '/Users/usr/opt/anaconda3/lib/python3.9/site-packages/multiprocess/__init__.py'>
Again that means it's in Conda, it's installed. But:
ModuleNotFoundError in line 3 of /Users/usr/PycharmProjects/HailStuff/rules/common.smk:
No module named 'multiprocess'
File "/Users/usr/PycharmProjects/HailStuff/Snakefile", line 3, in <module>
File "/Users/usr/PycharmProjects/HailStuff/rules/common.smk", line 3, in <module>Still none of those work.
Inside the file there's that module in the third line.
And yes, I have reinstalled Snakemake
What can I do to make module multiprocess appear and work (though it appears on the list)?

Update python on anaconda

My current python version is :
When I search for available python using the code:
conda search python
Below is the output:
I want to update my python to the latest version.
I use the following commands:
conda config --show
It gives the following output, Please review it and let me know what is the issue.
add_anaconda_token: True
add_pip_as_python_dependency: True
aggressive_update_packages:
- ca-certificates
- certifi
- openssl
allow_conda_downgrades: False
allow_cycles: True
allow_non_channel_urls: False
allow_softlinks: False
always_copy: False
always_softlink: False
always_yes: None
anaconda_upload: None
auto_activate_base: True
auto_stack: 0
auto_update_conda: True
bld_path:
changeps1: True
channel_alias: https://conda.anaconda.org
channel_priority: flexible
channels:
- defaults
client_ssl_cert: None
client_ssl_cert_key: None
clobber: False
conda_build: {}
create_default_packages: []
croot: /opt/anaconda3/conda-bld
custom_channels:
pkgs/main: https://repo.anaconda.com
pkgs/r: https://repo.anaconda.com
pkgs/pro: https://repo.anaconda.com
custom_multichannels:
defaults:
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
local:
debug: False
default_channels:
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
default_python: 3.7
default_threads: None
deps_modifier: not_set
dev: False
disallowed_packages: []
download_only: False
dry_run: False
enable_private_envs: False
env_prompt: ({default_env})
envs_dirs:
- /opt/anaconda3/envs
- /Users/aarav/.conda/envs
error_upload_url: https://conda.io/conda-post/unexpected-error
execute_threads: 1
extra_safety_checks: False
force: False
force_32bit: False
force_reinstall: False
force_remove: False
ignore_pinned: False
json: False
local_repodata_ttl: 1
migrated_channel_aliases: []
migrated_custom_channels: {}
non_admin_enabled: True
notify_outdated_conda: True
offline: False
override_channels_enabled: True
path_conflict: clobber
pinned_packages: []
pip_interop_enabled: False
pkgs_dirs:
- /opt/anaconda3/pkgs
- /Users/aarav/.conda/pkgs
proxy_servers: {}
quiet: False
remote_backoff_factor: 1
remote_connect_timeout_secs: 9.15
remote_max_retries: 3
remote_read_timeout_secs: 60.0
repodata_fns:
- current_repodata.json
- repodata.json
repodata_threads: None
report_errors: None
restore_free_channel: False
rollback_enabled: True
root_prefix: /opt/anaconda3
safety_checks: warn
sat_solver: pycosat
separate_format_cache: False
shortcuts: True
show_channel_urls: None
solver_ignore_timestamps: False
ssl_verify: True
subdir: osx-64
subdirs:
- osx-64
- noarch
target_prefix_override:
track_features: []
unsatisfiable_hints: True
unsatisfiable_hints_check_depth: 2
update_modifier: update_specs
use_index_cache: False
use_local: False
use_only_tar_bz2: False
verbosity: 0
verify_threads: 1
whitelist_channels: []
I also tried to run this :
conda install python=3.8.3 -d [--json]
I got this error:
I tried using install the latest version using the following command:
conda install python=3.8.3
It was This was the output:
The conda modules that have been installed are listed below :
conda list
# packages in environment at /opt/anaconda3:
#
# Name Version Build Channel
_anaconda_depends 2020.02 py37_0
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0
absl-py 0.9.0 py37_0
alabaster 0.7.12 py37_0
altgraph 0.17 py_0
amqp 2.5.2 pypi_0 pypi
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
argh 0.26.2 py37_0
asn1crypto 1.3.0 py37_0
astor 0.8.0 py37_0
astroid 2.4.1 py37_0
astropy 4.0.1.post1 py37h01d97ff_1
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.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.1 py37_0
billiard 3.6.3.0 pypi_0 pypi
bitarray 1.2.2 py37haf1e3a3_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 py37hf1fa96c_1
bzip2 1.0.8 h1de35cc_0
c-ares 1.15.0 h1de35cc_1001
ca-certificates 2020.4.5.2 hecda079_0 conda-forge
cachetools 4.1.0 pypi_0 pypi
celery 4.4.2 pypi_0 pypi
certifi 2020.4.5.2 py37hc8dfbb8_0 conda-forge
cffi 1.14.0 py37hb5b8e2f_0
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 py37hc8dfbb8_1 conda-forge
conda-build 3.18.11 py37_0
conda-env 2.6.0 1
conda-package-handling 1.6.1 py37h1de35cc_0
conda-verify 3.4.2 py_1
contextlib2 0.6.0.post1 py_0
cryptography 2.9.2 py37ha12b0ac_0
cssselect 1.1.0 pypi_0 pypi
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
diazo 1.4.0 pypi_0 pypi
diff-match-patch 20181111 py_0
distributed 2.17.0 py37_0
django 1.7.11 pypi_0 pypi
django-haystack 2.8.1 pypi_0 pypi
django-hitcounter 0.1.1 pypi_0 pypi
django-revproxy 0.10.0 pypi_0 pypi
django-taggit 1.2.0 pypi_0 pypi
docutils 0.16 py37_1
entrypoints 0.3 py37_0
et_xmlfile 1.0.1 py37_0
etiquetando 0.1 pypi_0 pypi
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_1
gast 0.3.3 py_0
get_terminal_size 1.0.0 h7520d66_0
gettext 0.19.8.1 h15daf44_3
gevent 1.4.0 py37h1de35cc_0
glib 2.63.1 hd977a24_0
glob2 0.7 py_0
gmp 6.1.2 hb37e062_1
gmpy2 2.0.8 py37h6ef4df4_2
google-auth 1.14.3 pypi_0 pypi
google-auth-oauthlib 0.4.1 pypi_0 pypi
greenlet 0.4.15 py37h1de35cc_0
grpcio 1.29.0 pypi_0 pypi
h5py 2.10.0 py37h3134771_0
hdf5 1.10.4 hfa1e0ec_0
heapdict 1.0.1 py_0
html2text 2020.1.16 pypi_0 pypi
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
imbalanced-learn 0.6.2 py_0 conda-forge
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.5 py_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
jupyterlab 1.2.6 pyhf63ae98_0
jupyterlab_server 1.1.4 py_0
keras-applications 1.0.8 py_0
keras-preprocessing 1.1.0 py_1
keyring 21.1.1 py37_2
kiwisolver 1.2.0 py37h04f5b5a_0
kombu 4.6.8 pypi_0 pypi
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.2.1 h0a44026_6
libgfortran 3.0.1 h93005f0_2
libiconv 1.16 h1de35cc_0
liblief 0.10.1 h0a44026_0
libpng 1.6.37 ha441bb4_0
libprotobuf 3.11.4 hd9629dc_0
libsodium 1.0.16 h3efe00b_0
libspatialindex 1.9.3 h0a44026_0
libssh2 1.9.0 ha12b0ac_1
libtiff 4.1.0 hcb84e12_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
macholib 1.11 py_0
markdown 3.1.1 py37_0
markupsafe 1.1.1 py37h1de35cc_0
matplotlib 3.1.3 py37_0
matplotlib-base 3.1.3 py37h9aa3819_0
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
mongodb 4.0.3 hccea1a4_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
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
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
oauthlib 3.1.0 pypi_0 pypi
olefile 0.46 py37_0
openpyxl 3.0.3 py_0
openssl 1.1.1g h0b31af3_0 conda-forge
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 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
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
portaudio 19.6.0 h647c56a_4
prometheus_client 0.7.1 py_0
prompt-toolkit 3.0.5 py_0
prompt_toolkit 3.0.5 0
protobuf 3.11.4 py37h0a44026_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
pyasn1 0.4.8 pypi_0 pypi
pyasn1-modules 0.2.8 pypi_0 pypi
pyaudio 0.2.11 py37h1de35cc_2
pycodestyle 2.6.0 py_0
pycosat 0.6.3 py37h1de35cc_0
pycparser 2.20 py_0
pycrypto 2.6.1 py37h1de35cc_9
pycryptodome 3.8.2 py37ha8bbb54_0
pycurl 7.43.0.5 py37ha12b0ac_0
pydocstyle 4.0.1 py_0
pyflakes 2.2.0 py_0
pygments 2.6.1 py_0
pyinstaller 3.6 py37ha441bb4_5
pylint 2.5.2 py37_0
pymysql 0.9.3 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
pysimplegui 4.18.2 pyh9f0ad1d_0 conda-forge
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.7.0 py_0
pytest-openfiles 0.5.0 py_0
pytest-remotedata 0.3.2 py37_0
python 3.7.7 hc70fcce_0_cpython
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_10
python_abi 3.7 1_cp37m conda-forge
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 8.0 h1de35cc_0
redis 3.5.2 pypi_0 pypi
repoze-lru 0.7 pypi_0 pypi
requests 2.23.0 py37_0
requests-oauthlib 1.3.0 pypi_0 pypi
ripgrep 11.0.2 he32d670_0
rope 0.17.0 py_0
rsa 4.0 pypi_0 pypi
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 47.1.1 py37_0
simplegeneric 0.8.1 py37_2
singledispatch 3.4.0.3 py37_0
sip 4.19.8 py37h0a44026_0
six 1.15.0 py_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.4 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.2 py37_0
spyder-kernels 1.9.1 py37_0
sqlalchemy 1.3.17 py37haf1e3a3_0
sqlite 3.31.1 h5c1f38d_1
statsmodels 0.11.1 py37haf1e3a3_0
stemming 1.0.1 pypi_0 pypi
sympy 1.5.1 py37_0
tbb 2020.0 h04f5b5a_0
tblib 1.6.0 py_0
tensorboard 2.2.1 pypi_0 pypi
tensorboard-plugin-wit 1.6.0.post3 pypi_0 pypi
tensorflow 1.13.1 py37_1 conda-forge/label/cf202003
tensorflow-estimator 1.13.0 py37h24bf2e0_0 conda-forge/label/cf202003
termcolor 1.1.0 py37_1
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
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
vine 1.3.0 pypi_0 pypi
watchdog 0.10.2 py37h0b31af3_0 conda-forge
wcwidth 0.1.9 py_0
webencodings 0.5.1 py37_1
werkzeug 1.0.1 py_0
wheel 0.34.2 py37_0
whoosh 2.7.4 pypi_0 pypi
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.9 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
yaml 0.1.7 hc338f04_2
yapf 0.28.0 py_0
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
But still, my python version is still 3.7.7
What is the problem and how to fix it?
This command usually will update to the latest version, but it seems this is not working for you.
conda update python
You can try this instead (Latest stable version is 3.8.3):
conda install python=3.8.3
However, you may want setup a new environment to be able to use multiple versions of python as upgrading may break your python scripts that run in 3.7.7. You can do this by using conda to create a new environment and then switch between the environments while you are testing and upgrading your scripts.
conda create --name test2 python=3.8.3
Also, the problem with the update command could be several. For example, if the channel list does not have a more recent version of python that is compatible with your environment, it won't update. To troubleshoot this we would need more information, such as
conda info
and
conda config --show
Think the problem is caused by mixing conda and pip installs in the same environment. This can be dangerous, as it will cause problems with some new installs or upgrades later on. conda won't know about pip details, and pip won't know about conda details. I suspect your Python upgrade has a dependency on one of the files installed through pip and gives up after a while.
Best practice is to use conda install if at all possible, and to create and use another environment. But if you still need a package that conda can't provide, then you can use pip. However, take note of the revision for that environment in case you have to roll back the pip install later.
To see the source of the install, look at the channel column. For example:
altgraph 0.17 py_0
amqp 2.5.2 pypi_0 pypi
imbalanced-learn 0.6.2 py_0 conda-forge
altgraph was installed using conda, amqp was installed using pip. The source for pip is the pypi website, that is why you see pypi in the last column (channel). Also, i can see you used the conda-forge channel for a few packages, such as imbalanced-learn. To change this environment in the future, you may need to add -c conda-forge

No module named 'matplotlib.artist'

I faced with this error
No module named 'matplotlib.artist'
here is the complete error:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-cf8446fccc06> in <module>
5 import numpy as np
6 #import seaborn as sns
----> 7 import matplotlib.pyplot as plt
8 from warnings import filterwarnings
9 filterwarnings('ignore')
~\AppData\Roaming\Python\Python37\site-packages\matplotlib\pyplot.py in <module>
30 from cycler import cycler
31 import matplotlib
---> 32 import matplotlib.colorbar
33 import matplotlib.image
34 from matplotlib import rcsetup, style
~\AppData\Roaming\Python\Python37\site-packages\matplotlib\colorbar.py in <module>
25
26 import matplotlib as mpl
---> 27 import matplotlib.artist as martist
28 import matplotlib.cbook as cbook
29 import matplotlib.collections as collections
ModuleNotFoundError: No module named 'matplotlib.artist'
from yesterday when I want to use
import matplotlib.pyplot as plt
or
import seaborn as sns
I am using 3.7.4, matplotlib 3.1.1,seaborn 0.9.0
here is the full pip list
Package Version
---------------------------------- ---------
-atplotlib 3.1.1
alabaster 0.7.12
anaconda-client 1.7.2
anaconda-navigator 1.9.7
anaconda-project 0.8.3
asn1crypto 1.0.1
astroid 2.3.1
astropy 3.2.1
atomicwrites 1.3.0
attrs 19.2.0
Babel 2.7.0
backcall 0.1.0
backports.functools-lru-cache 1.5
backports.os 0.1.1
backports.shutil-get-terminal-size 1.0.0
backports.tempfile 1.0
backports.weakref 1.0.post1
beautifulsoup4 4.8.0
bitarray 1.0.1
bkcharts 0.2
bleach 3.1.0
bokeh 1.3.4
boto 2.49.0
Bottleneck 1.2.1
certifi 2019.9.11
cffi 1.12.3
chardet 3.0.4
Click 7.0
cloudpickle 1.2.2
clyent 1.2.2
colorama 0.4.1
comtypes 1.1.7
conda 4.7.12
conda-build 3.18.9
conda-package-handling 1.6.0
conda-verify 3.4.2
contextlib2 0.6.0
cryptography 2.7
cycler 0.10.0
Cython 0.29.13
cytoolz 0.10.0
dask 2.5.2
decorator 4.4.0
defusedxml 0.6.0
distributed 2.5.2
docutils 0.15.2
entrypoints 0.3
et-xmlfile 1.0.1
fastcache 1.1.0
filelock 3.0.12
Flask 1.1.1
fsspec 0.5.2
future 0.17.1
gevent 1.4.0
glob2 0.7
greenlet 0.4.15
h5py 2.9.0
HeapDict 1.0.1
html5lib 1.0.1
idna 2.8
imageio 2.6.0
imagesize 1.1.0
importlib-metadata 0.23
ipykernel 5.1.2
ipython 7.8.0
ipython-genutils 0.2.0
ipywidgets 7.5.1
isort 4.3.21
itsdangerous 1.1.0
jdcal 1.4.1
jedi 0.15.1
Jinja2 2.10.3
joblib 0.13.2
json5 0.8.5
jsonschema 3.0.2
jupyter 1.0.0
jupyter-client 5.3.3
jupyter-console 6.0.0
jupyter-core 4.5.0
jupyterlab 1.1.4
jupyterlab-server 1.0.6
keyring 18.0.0
kiwisolver 1.1.0
lazy-object-proxy 1.4.2
libarchive-c 2.8
llvmlite 0.29.0
locket 0.2.0
lxml 4.4.1
MarkupSafe 1.1.1
matplotlib 3.1.1
mccabe 0.6.1
menuinst 1.4.16
mistune 0.8.4
mkl-fft 1.0.14
mkl-random 1.1.0
mkl-service 2.3.0
mock 3.0.5
more-itertools 7.2.0
mpmath 1.1.0
msgpack 0.6.1
multipledispatch 0.6.0
navigator-updater 0.2.1
nbconvert 5.6.0
nbformat 4.4.0
networkx 2.3
nltk 3.4.5
nose 1.3.7
notebook 6.0.1
numba 0.45.1
numexpr 2.7.0
numpy 1.16.5
numpydoc 0.9.1
olefile 0.46
openpyxl 3.0.0
packaging 19.2
pandas 0.25.1
pandocfilters 1.4.2
parso 0.5.1
partd 1.0.0
path.py 12.0.1
pathlib2 2.3.5
patsy 0.5.1
pep8 1.7.1
pickleshare 0.7.5
Pillow 6.2.0
pip 19.2.3
pkginfo 1.5.0.1
pluggy 0.13.0
ply 3.11
progressbar2 3.42.0
prometheus-client 0.7.1
prompt-toolkit 2.0.10
psutil 5.6.3
py 1.8.0
pycodestyle 2.5.0
pycosat 0.6.3
pycparser 2.19
pycrypto 2.6.1
pycurl 7.43.0.3
pyflakes 2.1.1
Pygments 2.4.2
pykg2vec 0.0.48
pylint 2.4.2
pyodbc 4.0.27
pyOpenSSL 19.0.0
pyparsing 2.4.2
pyreadline 2.1
pyrsistent 0.15.4
PySocks 1.7.1
pytest 5.2.1
pytest-arraydiff 0.3
pytest-astropy 0.5.0
pytest-doctestplus 0.4.0
pytest-openfiles 0.4.0
pytest-remotedata 0.3.2
python-dateutil 2.8.0
python-utils 2.3.0
pytz 2019.3
PyWavelets 1.0.3
pywin32 223
pywinpty 0.5.5
PyYAML 5.1.2
pyzmq 18.1.0
QtAwesome 0.6.0
qtconsole 4.5.5
QtPy 1.9.0
requests 2.22.0
rope 0.14.0
ruamel-yaml 0.15.46
scikit-image 0.15.0
scikit-learn 0.21.3
scipy 1.3.1
seaborn 0.9.0
Send2Trash 1.5.0
setuptools 41.4.0
simplegeneric 0.8.1
singledispatch 3.4.0.3
six 1.12.0
snowballstemmer 2.0.0
sortedcollections 1.1.2
sortedcontainers 2.1.0
soupsieve 1.9.3
Sphinx 2.2.0
sphinx-gallery 0.4.0
sphinx-rtd-theme 0.4.3
sphinxcontrib-applehelp 1.0.1
sphinxcontrib-devhelp 1.0.1
sphinxcontrib-htmlhelp 1.0.2
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.2
sphinxcontrib-serializinghtml 1.1.3
sphinxcontrib-websupport 1.1.2
spyder 3.3.6
spyder-kernels 0.5.2
SQLAlchemy 1.3.9
statsmodels 0.10.1
sympy 1.4
tables 3.5.2
tblib 1.4.0
terminado 0.8.2
testpath 0.4.2
toolz 0.10.0
tornado 6.0.3
tqdm 4.36.1
traitlets 4.3.3
unicodecsv 0.14.1
urllib3 1.24.2
wcwidth 0.1.7
webencodings 0.5.1
Werkzeug 0.16.0
wheel 0.33.6
widgetsnbextension 3.5.1
win-inet-pton 1.1.0
win-unicode-console 0.5
wincertstore 0.2
wrapt 1.11.2
xlrd 1.2.0
XlsxWriter 1.2.1
xlwings 0.15.10
xlwt 1.3.0
zict 1.0.0
zipp 0.6.0
conda lsit gives me this:
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0
alabaster 0.7.12 py37_0
anaconda 2019.10 py37_0
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
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 2019.8.28 0
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 4.7.12 py37_0
conda-build 3.18.9 py37_3
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 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
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
get_terminal_size 1.0.0 h38e98db_0
gevent 1.4.0 py37he774522_0
glob2 0.7 py_0
greenlet 0.4.15 py37hfa6e2cd_0
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
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
libiconv 1.15 h1df5818_7
liblief 0.9.0 ha925a31_2
libpng 1.6.37 h2a8f88b_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-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markupsafe 1.1.1 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
olefile 0.46 py37_0
openpyxl 3.0.0 py_0
openssl 1.1.1d he774522_2
packaging 19.2 py_0
pandas 0.25.1 py37ha925a31_0
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 19.2.3 py37_0
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
prompt_toolkit 2.0.10 py_0
psutil 5.6.3 py37he774522_0
py 1.8.0 py37_0
py-lief 0.9.0 py37ha925a31_2
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
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
rope 0.14.0 py_0
ruamel_yaml 0.15.46 py37hfa6e2cd_0
scikit-image 0.15.0 py37ha925a31_0
scikit-learn 0.21.3 py37h6288b17_0
scipy 1.3.1 py37h29ff71c_0
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
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
terminado 0.8.2 py37_0
testpath 0.4.2 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
as you see there is something suspicious here in pip list:
-atplotlib
I do not know what is that! it
looks like matplotlib without first letter m
I have search a lot and did a lot of efforts based on this
Getting an error that reads: ModuleNotFoundError: No module named 'matplotlib.artist'
https://github.com/matplotlib/matplotlib/issues/6771/
like, reinstall matplotlib, reinstall anaconda ...
but it does not work! In my view, it might be something related to the path, but I can not find the solution.
I also uninstall my anaconda two times still have the problem!
any suggestion would be appreciated
Go to this location
~\AppData\Roaming\Python\Python37\site-packages\
There will be two folders named as
~atplotlib
and
matplotlib
Please rename ~atplotlib to matplotlib
The system will ask you that there is another folder with the same name, so do you want to merge.
Select merge option.
In my case, this resolved the matter.
I also had similar problem, the below command solved the problem, run it in anaconda command prompt.
conda install matplotlib --force
source: https://github.com/matplotlib/matplotlib/issues/6771/
I had the same problem using Python 3.9. I had no folder named ~atplotlib so I couldn't merge it as suggested. I however found ~andas (pandas) in site-packages which I attempted to merge but was unsuccessful.
I uninstalled matplotlib using "pip uninstall matplotlib" and then reinstalled pandas after removing all pandas folders in site-packages. I noticed the numpy was included at the same time and created a new folder ~umpy so now I just removed everything again that contained numpy, pandas or matplotlib from site-packages (after uninstalling via pip).
Then I installed the modules in the order pandas, (numpy included), matplotlib using pip. And now finally it works. Utterly confusing.
I have done all steps including uninstalling,
How to remove anaconda from windows completely?
using anaconda clean,
completely removing all folder related to python in C:\Users\myusdername
removing from path
uninstall by anaconda
I just nopticed that the error says that
AppData\Roaming\Python\Python37\site-packages\matplotlib\pyplot.py
I manually remove python form the
AppData\Roaming\Python\Python37
r=then it works!!
I face the same problem and I used the below command. Please use this command in Anaconda prompt.
>conda install matplotlib
after upgrading Matplotlib check this as well
Go to this location
~\AppData\Roaming\Python\Python37\site-packages\
and check the folder name ..
for some weird reason matplotlib is saved as ~atplotlib folder.
just rename ~atplotlib folder as matplotlib
I had the same problem. Resolved by installing the 'matplotlib-base" in anaconda.
Follow the below steps for the same:
Open Anaconda navigator
Choose the "Environments"
Choose "base(root)" environment
select the option "All" then Search for "matplotlib"
choose matplotlib-base Then Click on botton
Restart your JuputerNotebook kernal and then import the matplotlib

Categories