tensorflow/html5lib "Your dependencies could not be resolved" but can't see problem
See original GitHub issue$ pipenv install --dev
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,==0.9999999,>=0.99999999pre
Tried: 1.0-reupload, 0.2, 0.9, 0.10, 0.11, 0.11.1, 0.90, 0.95, 0.99, 0.999, 0.9999, 0.99999, 0.999999, 0.9999999, 0.99999999, 0.999999999, 0.999999999, 1.0b1, 1.0b2, 1.0b3, 1.0b5, 1.0b6, 1.0b7, 1.0b8, 1.0b9, 1.0b10, 1.0b10, 1.0.1, 1.0.1
I did what it suggested: pipenv install --skip-lock
and then pipenv graph
The graph shows that the only packages which ask for html5lib
are dependencies of tensorflow
, and they don’t seem to conflict with each other or the installed version:
tensorflow==1.3.0
- numpy [required: >=1.11.0, installed: 1.14.1]
- protobuf [required: >=3.3.0, installed: 3.5.2]
- setuptools [required: Any, installed: 38.5.1]
- six [required: >=1.9, installed: 1.11.0]
- six [required: >=1.10.0, installed: 1.11.0]
- tensorflow-tensorboard [required: >=0.1.0,<0.2.0, installed: 0.1.8]
- bleach [required: ==1.5.0, installed: 1.5.0]
- html5lib [required: >=0.999,<0.99999999,!=0.9999,!=0.99999, installed: 0.9999999]
- six [required: Any, installed: 1.11.0]
- six [required: Any, installed: 1.11.0]
- html5lib [required: ==0.9999999, installed: 0.9999999]
- six [required: Any, installed: 1.11.0]
- markdown [required: >=2.6.8, installed: 2.6.11]
- numpy [required: >=1.11.0, installed: 1.14.1]
- protobuf [required: >=3.2.0, installed: 3.5.2]
- setuptools [required: Any, installed: 38.5.1]
- six [required: >=1.9, installed: 1.11.0]
- six [required: >=1.10.0, installed: 1.11.0]
- werkzeug [required: >=0.11.10, installed: 0.14.1]
- wheel [required: >=0.26, installed: 0.30.0]
- wheel [required: >=0.26, installed: 0.30.0]
So we have:
html5lib [required: >=0.999,<0.99999999,!=0.9999,!=0.99999, installed: 0.9999999]
and
html5lib [required: ==0.9999999, installed: 0.9999999]
That package uses a pretty horrible versioning scheme, but the required versions don’t seem to conflict.
One requires 0.9999999
(seven zeros, what we have installed) and the other requires <0.99999999
(eight zeros). Should be ok?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:52 (22 by maintainers)
Top Results From Across the Web
Developers - tensorflow/html5lib "Your dependencies could not be ...
tensorflow /html5lib "Your dependencies could not be resolved" but can't see problem.
Read more >how to resolve bleach==1.5.0 html5lib=0.9999999 on ...
It is clear from the error that there is a mismatch of the package versions. You have several options from here.
Read more >import "bs4" could not be resolved from source - You.com
First, you should add more information for us to know how your computer and IDE are configured. The first thing you should do...
Read more >Package List — Spack 0.20.0.dev0 documentation
libFLAME is a C-only implementation and does not depend on any external FORTRAN libraries including LAPACK. There is an optional backward compatibility ...
Read more >"Selected Keras back end 'Keras (TensorFlow)' is not ...
Hi, I tested the Keras+Tensorflow capabilities of KNIME 3.5 last week and ... Reinstallaling the extensions does not solve the problem…
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
omg is this real
Well I found the problem and a solution, if not an explanation for how it happened.
I spent a while stepping through the underlying code, i.e.
Somehow the bogus
html5lib>=0.99999999pre
requirement had got stuck in the dependency cache file.Now I knew what to do…
Success - lock file was created without error.
This also explains why it worked under Python 2.7 - I assume because pipenv has a separate dependency cache file per python version.