-
-
Notifications
You must be signed in to change notification settings - Fork 328
installation & dependency issues #399
-
Using Python 3.8.0, pip install idom[stable]==0.28.0 has dependency conflicts for the following packages.
ERROR: requests 2.25.1 has requirement idna<3,>=2.5, but you'll have idna 3.2 which is incompatible.
ERROR: httpcore 0.3.0 has requirement chardet==3.*, but you'll have chardet 4.0.0 which is incompatible.
ERROR: httpcore 0.3.0 has requirement idna==2.*, but you'll have idna 3.2 which is incompatible.
ERROR: sanic-plugin-toolkit 1.0.1 has requirement sanic<22,>=21.3.1, but you'll have sanic 19.9.0 which is incompatible.
ERROR: sanic-cors 1.0.0 has requirement sanic<22,>=21.3.1, but you'll have sanic 19.9.0 which is incompatible.
What's a good Python version to use and sequence of pip install commands to get hello world examples working?
Full trace:
$ pip install idom[stable]==0.28.0
Collecting idom[stable]==0.28.0
Using cached https://files.pythonhosted.org/packages/3b/8d/485df280afe0774b8bc7b8366f64c3a5a50452a54ff9314149c93144a907/idom-0.28.0-py2.py3-none-any.whl
Collecting rich>=9.13.0 (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/a8/32/eb8aadb1ed791081e5c773bd1dfa15f1a71788fbeda37b12f837f2b1999b/rich-10.3.0-py3-none-any.whl
Collecting anyio>=3.0 (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/72/47/0c30d51c30d23eecead360e8624ad3972ebd8f9933265a91fca1372d37cf/anyio-3.1.0-py3-none-any.whl
Collecting jsonpatch>=1.26 (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/a3/55/f7c93bae36d869292aedfbcbae8b091386194874f16390d680136edd2b28/jsonpatch-1.32-py2.py3-none-any.whl
Collecting typing-extensions>=3.7.4 (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/2e/35/6c4fff5ab443b57116cb1aad46421fb719bed2825664e8fe77d66d99bcbc/typing_extensions-3.10.0.0-py3-none-any.whl
Collecting mypy-extensions>=0.4.3 (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/5c/eb/975c7c080f3223a5cdaff09612f3a5221e4ba534f7039db34c35d95fa6a5/mypy_extensions-0.4.3-py2.py3-none-any.whl
Collecting click-spinner>=0.1.10 (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/93/2a/04893832bfeddc2d40a7de2e8153b3085f12d63507d91a9cf0157dc3a1c2/click_spinner-0.1.10-py2.py3-none-any.whl
Collecting fastjsonschema>=2.14.5 (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/d1/fb/ea090e917b18320f79be31d754bbe496b715175e865603cfce1eaed2e774/fastjsonschema-2.15.1-py3-none-any.whl
Collecting typer>=0.3.2 (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/90/34/d138832f6945432c638f32137e6c79a3b682f06a63c488dcfaca6b166c64/typer-0.3.2-py3-none-any.whl
Collecting sanic<19.12.0; extra == "stable" (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/b5/99/a0c18220d313cd6bc26728259f7719bd3f31ebb7c5d45015b6e3426174da/sanic-19.9.0-py3-none-any.whl
Collecting sanic-cors>=0.9.9; extra == "stable" (from idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/05/21/50ed634ced9db1a0244ca9fab7782c42485dd19075028f52645ce00c101d/Sanic_Cors-1.0.0-py2.py3-none-any.whl
Collecting pygments<3.0.0,>=2.6.0 (from rich>=9.13.0->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/a6/c9/be11fce9810793676017f79ffab3c6cb18575844a6c7b8d4ed92f95de604/Pygments-2.9.0-py3-none-any.whl
Collecting colorama<0.5.0,>=0.4.0 (from rich>=9.13.0->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl
Collecting commonmark<0.10.0,>=0.9.0 (from rich>=9.13.0->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl
Collecting idna>=2.8 (from anyio>=3.0->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/d7/77/ff688d1504cdc4db2a938e2b7b9adee5dd52e34efbd2431051efc9984de9/idna-3.2-py3-none-any.whl
Collecting sniffio>=1.1 (from anyio>=3.0->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/52/b0/7b2e028b63d092804b6794595871f936aafa5e9322dcaaad50ebf67445b3/sniffio-1.2.0-py3-none-any.whl
Collecting jsonpointer>=1.9 (from jsonpatch>=1.26->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/23/52/05f67532aa922e494c351344e0d9624a01f74f5dd8402fe0d1b563a6e6fc/jsonpointer-2.1-py2.py3-none-any.whl
Collecting click<7.2.0,>=7.1.1 (from typer>=0.3.2->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl
Collecting httptools>=0.0.10 (from sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/03/d1/5d617f1ca8d7839963db6c30e47f5c2276a99c44ee2c2535dcbe1ffcde4c/httptools-0.2.0-cp38-cp38-macosx_10_14_x86_64.whl
Collecting multidict<5.0,>=4.0 (from sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/63/94/fff2e21a30e2b6b52b9d89df43c16e6b0e9563f50f7e2777aee77968332c/multidict-4.7.6-cp38-cp38-macosx_10_14_x86_64.whl
Collecting uvloop>=0.5.3; sys_platform != "win32" and implementation_name == "cpython" (from sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/03/e1/94fc3d54e61eef1a802dbeb88a444203b26a84a7f21ceb4f76ce2a5f180c/uvloop-0.15.2-cp38-cp38-macosx_10_14_x86_64.whl
Collecting ujson>=1.35; sys_platform != "win32" and implementation_name == "cpython" (from sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/78/b2/659552204cc09a9384b3b0545b193d970696bead80304d48bd950dbdcbc9/ujson-4.0.2-cp38-cp38-macosx_10_14_x86_64.whl
Collecting requests-async==0.5.0 (from sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/91/b9/ffa57f36253752084c3824d06d7960d58ccfecc3978fd7336e4117bdbd4b/requests-async-0.5.0.tar.gz
Collecting aiofiles>=0.3.0 (from sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/e7/61/007ac6f27fe1c2dc44d3a62f429a8440de1601428b4d0291eae1a3494d1f/aiofiles-0.7.0-py3-none-any.whl
Collecting websockets<9.0,>=7.0 (from sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/d8/e1/9897d72c461388834f4e0ecf5c4e91a31f157aaebdd7e8eb5dfb73481acc/websockets-8.1-cp38-cp38-macosx_10_9_x86_64.whl
Collecting sanic-plugin-toolkit<2,>=1.0.0 (from sanic-cors>=0.9.9; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/96/ab/05dcd8478d41fbaaba126264c6ea4f105907cb29ae77bf8111e18e1544c0/Sanic_Plugin_Toolkit-1.0.1-py3-none-any.whl
Collecting requests==2.* (from requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl
Collecting httpcore==0.3.* (from requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/fd/6a/4447154dbbe7cac4cd390765caebe4b28febd53d86420e2ced334b3d4d23/httpcore-0.3.0.tar.gz
Requirement already satisfied: setuptools>=40.8 in /Users/m/.pyenv/versions/3.8.0/envs/smfl380/lib/python3.8/site-packages (from sanic-plugin-toolkit<2,>=1.0.0->sanic-cors>=0.9.9; extra == "stable"->idom[stable]==0.28.0) (41.2.0)
Collecting certifi>=2017年4月17日 (from requests==2.*->requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/05/1b/0a0dece0e8aa492a6ec9e4ad2fe366b511558cdc73fd3abc82ba7348e875/certifi-2021年5月30日-py2.py3-none-any.whl
Collecting chardet<5,>=3.0.2 (from requests==2.*->requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl
Collecting urllib3<1.27,>=1.21.1 (from requests==2.*->requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/0c/cd/1e2ec680ec7b09846dc6e605f5a7709dfb9d7128e51a026e7154e18a234e/urllib3-1.26.5-py2.py3-none-any.whl
Collecting h11==0.8.* (from httpcore==0.3.*->requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/f9/f3/8e4cf5fa1a3d8bda942a0b1cf92f87815494216fd439f82eb99073141ba0/h11-0.8.1-py2.py3-none-any.whl
Collecting h2==3.* (from httpcore==0.3.*->requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/25/de/da019bcc539eeab02f6d45836f23858ac467f584bfec7a526ef200242afe/h2-3.2.0-py2.py3-none-any.whl
Collecting rfc3986==1.* (from httpcore==0.3.*->requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/c4/e5/63ca2c4edf4e00657584608bee1001302bbf8c5f569340b78304f2f446cb/rfc3986-1.5.0-py2.py3-none-any.whl
Collecting hpack<4,>=3.0 (from h2==3.*->httpcore==0.3.*->requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/8a/cc/e53517f4a1e13f74776ca93271caef378dadec14d71c61c949d759d3db69/hpack-3.0.0-py2.py3-none-any.whl
Collecting hyperframe<6,>=5.2.0 (from h2==3.*->httpcore==0.3.*->requests-async==0.5.0->sanic<19.12.0; extra == "stable"->idom[stable]==0.28.0)
Using cached https://files.pythonhosted.org/packages/19/0c/bf88182bcb5dce3094e2f3e4fe20db28a9928cb7bd5b08024030e4b140db/hyperframe-5.2.0-py2.py3-none-any.whl
ERROR: requests 2.25.1 has requirement idna<3,>=2.5, but you'll have idna 3.2 which is incompatible.
ERROR: httpcore 0.3.0 has requirement chardet==3.*, but you'll have chardet 4.0.0 which is incompatible.
ERROR: httpcore 0.3.0 has requirement idna==2.*, but you'll have idna 3.2 which is incompatible.
ERROR: sanic-plugin-toolkit 1.0.1 has requirement sanic<22,>=21.3.1, but you'll have sanic 19.9.0 which is incompatible.
ERROR: sanic-cors 1.0.0 has requirement sanic<22,>=21.3.1, but you'll have sanic 19.9.0 which is incompatible.
Installing collected packages: pygments, colorama, commonmark, rich, idna, sniffio, anyio, jsonpointer, jsonpatch, typing-extensions, mypy-extensions, click-spinner, fastjsonschema, click, typer, httptools, multidict, uvloop, ujson, certifi, chardet, urllib3, requests, h11, hpack, hyperframe, h2, rfc3986, httpcore, requests-async, aiofiles, websockets, sanic, sanic-plugin-toolkit, sanic-cors, idom
Running setup.py install for httpcore ... done
Running setup.py install for requests-async ... done
Successfully installed aiofiles-0.7.0 anyio-3.1.0 certifi-2021年5月30日 chardet-4.0.0 click-7.1.2 click-spinner-0.1.10 colorama-0.4.4 commonmark-0.9.1 fastjsonschema-2.15.1 h11-0.8.1 h2-3.2.0 hpack-3.0.0 httpcore-0.3.0 httptools-0.2.0 hyperframe-5.2.0 idna-3.2 idom-0.28.0 jsonpatch-1.32 jsonpointer-2.1 multidict-4.7.6 mypy-extensions-0.4.3 pygments-2.9.0 requests-2.25.1 requests-async-0.5.0 rfc3986-1.5.0 rich-10.3.0 sanic-19.9.0 sanic-cors-1.0.0 sanic-plugin-toolkit-1.0.1 sniffio-1.2.0 typer-0.3.2 typing-extensions-3.10.0.0 ujson-4.0.2 urllib3-1.26.5 uvloop-0.15.2 websockets-8.1
WARNING: You are using pip version 19.2.3, however version 21.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Beta Was this translation helpful? Give feedback.
All reactions
I think if you upgrade pip these problems might go away:
pip install --upgrade pip
Replies: 1 comment 3 replies
-
I think if you upgrade pip these problems might go away:
pip install --upgrade pip
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks, that helps (tried/works with Python 3.8.0 and 3.8.6). It's a shame the Python requirement is quite high, though. I'm stuck using Python 3.6.9 for now (where max idom version is 0.6.0) since I need to use a TensorFlow Docker image that uses 3.6.9.
Beta Was this translation helpful? Give feedback.
All reactions
-
I don't know when I'd have time to check this out myself, but after the release of IDOM 0.30.0 (in the coming weeks) - I'd be happy to take a contribution that added support for Python 3.6. Chances are most of the issues would be resolvable using 3rd party back-ports of of 3.7+ features. Let me know if that's something you'd be interested in and I can try to help out.
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for the reply. At the moment I would not have the resources to work on that, so I'm instead making a simpler solution (without idom) from scratch.
Beta Was this translation helpful? Give feedback.