Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Error installing matplotlib-3.3.1 using pip due to old version of certifi on conda environment #18337

Closed
Labels
Milestone
@asdf8601

Description

@asdf8601

Hi!

I'm usingmapltolib on CICD (linux) and I found this unexpected behavior. When I installmatplotlib-3.3.1 on aconda environment with an older version ofcertifi (required byconda), the installation process fails. I'm wondering if this is the expected behavior or not.

I've checked thesetup.py and I saw thatmatplotlib requirescertifi>=2020.06.20, so if I have an older version installed the error occurs.

MWE

Here is an example of my workflow.

$ docker run -it intelpython/intelpython3_core:2019.4(base) root@9c3da40a58ba:/# pip install matplotlib

Traceback

$ docker run -it intelpython/intelpython3_core:2019.4Unable to find image'intelpython/intelpython3_core:2019.4' locally2019.4: Pulling from intelpython/intelpython3_corecc1a78bfd46b: Pullcomplete49eab01d36f3: Pullcompletec2c2cfea0213: Pullcomplete419499c9a4cf: Pullcompletef7550509e92e: Pullcomplete4d32c595223c: PullcompleteDigest: sha256:fb45b594cb3e6960311157393eda3b86225f7446e07768a96517d3c2b314bc2aStatus: Downloaded newer imagefor intelpython/intelpython3_core:2019.4(base) root@9c3da40a58ba:/# pip listPackage      Version------------ ---------asn1crypto   0.24.0certifi      2018.1.18cffi         1.11.5chardet      3.0.4conda        4.6.14cryptography 2.2.2idna         2.6mkl-fft      1.0.13mkl-random   1.0.4mkl-service  1.0.0numpy        1.16.2pip          10.0.1pycosat      0.6.3pycparser    2.18pyOpenSSL    18.0.0PySocks      1.6.8PyYAML       4.1requests     2.18.4ruamel-yaml  0.15.37scipy        1.2.1setuptools   39.2.0six          1.11.0TBB          0.1urllib3      1.22wheel        0.31.1You are using pip version 10.0.1, however version 20.2.2 is available.You should consider upgrading via the'pip install --upgrade pip' command.(base) root@9c3da40a58ba:/# pip install matplotlibCollecting matplotlib  Downloading https://files.pythonhosted.org/packages/96/a7/b6fa244fd8a8814ef9408c8a5a7e4ed0340e232a6f0ce2046b42e50672c0/matplotlib-3.3.1-cp36-cp36m-manylinux1_x86_64.whl (11.6MB)    100%|████████████████████████████████| 11.6MB 2.5MB/sCollecting certifi>=2020.06.20 (from matplotlib)  Downloading https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl (156kB)    100%|████████████████████████████████| 163kB 9.9MB/sCollecting kiwisolver>=1.0.1 (from matplotlib)  Downloading https://files.pythonhosted.org/packages/ae/23/147de658aabbf968324551ea22c0c13a00284c4ef49a77002e91f79657b7/kiwisolver-1.2.0-cp36-cp36m-manylinux1_x86_64.whl (88kB)    100%|████████████████████████████████| 92kB 6.5MB/sRequirement already satisfied: numpy>=1.15in /opt/conda/lib/python3.6/site-packages (from matplotlib) (1.16.2)Collecting cycler>=0.10 (from matplotlib)  Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whlCollecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 (from matplotlib)  Downloading https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)    100%|████████████████████████████████| 71kB 7.4MB/sCollecting pillow>=6.2.0 (from matplotlib)  Downloading https://files.pythonhosted.org/packages/30/bf/92385b4262178ca22b34f82e0e09c2922eb351fe39f3cc7b8ba9ea555b41/Pillow-7.2.0-cp36-cp36m-manylinux1_x86_64.whl (2.2MB)    100%|████████████████████████████████| 2.2MB 6.6MB/sCollecting python-dateutil>=2.1 (from matplotlib)  Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)    100%|████████████████████████████████| 235kB 8.8MB/sRequirement already satisfied: sixin /opt/conda/lib/python3.6/site-packages (from cycler>=0.10->matplotlib) (1.11.0)mkl-service 1.0.0 requires cython, which is not installed.Installing collected packages: certifi, kiwisolver, cycler, pyparsing, pillow, python-dateutil, matplotlib  Found existing installation: certifi 2018.1.18Cannot uninstall'certifi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.You are using pip version 10.0.1, however version 20.2.2 is available.You should consider upgrading via the'pip install --upgrade pip' command.(base) root@9c3da40a58ba:/# exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp