Comments (6)
Yes, that seems to be the issue.
To confirm, I created two pipenv
directories, one with Python 3.6 and Python 3.8. Copied the packages into Pipfile
, installed, then tried pipenv install idom-jupyter
. Works for Python 3.8, same error as above for 3.6.
Thanks, @Archmonger.
from reactpy-jupyter.
It's unclear to me what the actual conflict is from the message. For example, the dependency on >=0.38.1,<0.39 from idom-jupyter 0.7.6 is valid an satisfiable.
from reactpy-jupyter.
@Archmonger could you confirm this one?
from reactpy-jupyter.
pip install idom_jupyter
seems to work.
I am guessing @ScissorHill 's Pipfile.lock
(pipenv environment) already has an IDOM version specified which would cause a version conflict. Probably pinned to something like idom==38.0
which is not supported by any idom-jupyter releases.
from reactpy-jupyter.
I am guessing @ScissorHill 's
Pipfile.lock
(pipenv environment) already has an IDOM version specified which would cause a version conflict. Probably pinned to something likeidom==38.0
which is not supported by any idom-jupyter releases.
My first attempt was pip install idom_jupyter
, I hadn't installed idom
before - at this point I'm only interested in the Jupyter version.
I then tried installing idom
itself first. pip install idom
worked, but pip install idom_jupyter
gave the same result at before. I hadn't specified version, because I wasn't interested in idom
itself.
Anyway, I uninstalled idom
and tried again. Incidentally I'm attempting this withing a pipenv
shell:
$ pipenv install idom-jupyter
Installing idom-jupyter…
Collecting idom-jupyter
Using cached idom_jupyter-0.7.6-py2.py3-none-any.whl (1.6 MB)
Using cached idom_jupyter-0.7.5-py2.py3-none-any.whl (1.6 MB)
Collecting requests
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting appdirs
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Requirement already satisfied: ipywidgets>=7.6.0 in <pipenv_dir>sKguU_C5/lib/python3.6/site-packages (from idom-jupyter) (7.7.0)
Collecting idom-jupyter
Using cached idom_jupyter-0.7.4-py2.py3-none-any.whl (1.6 MB)
Using cached idom_jupyter-0.7.3-py2.py3-none-any.whl (1.6 MB)
Using cached idom_jupyter-0.7.2-py2.py3-none-any.whl (1.6 MB)
Using cached idom_jupyter-0.7.1-py2.py3-none-any.whl (1.6 MB)
Using cached idom_jupyter-0.7.0-py2.py3-none-any.whl (1.6 MB)
Using cached idom_jupyter-0.6.5-py2.py3-none-any.whl (1.5 MB)
Using cached idom_jupyter-0.6.4-py2.py3-none-any.whl (1.5 MB)
Using cached idom_jupyter-0.6.3-py2.py3-none-any.whl (1.5 MB)
Using cached idom_jupyter-0.6.2-py2.py3-none-any.whl (1.5 MB)
Using cached idom_jupyter-0.6.1-py2.py3-none-any.whl (1.5 MB)
Using cached idom_jupyter-0.6.0-py2.py3-none-any.whl (1.5 MB)
Using cached idom_jupyter-0.5.2-py2.py3-none-any.whl (233 kB)
Using cached idom_jupyter-0.5.1-py2.py3-none-any.whl (233 kB)
Using cached idom_jupyter-0.5.0-py2.py3-none-any.whl (233 kB)
Using cached idom_jupyter-0.4.0-py2.py3-none-any.whl (233 kB)
Using cached idom_jupyter-0.2.0-py2.py3-none-any.whl (2.2 MB)
Using cached idom_jupyter-0.1.1-py2.py3-none-any.whl (1.6 MB)
Using cached idom_jupyter-0.1.0-py2.py3-none-any.whl (1.6 MB)
The conflict is caused by:
idom-jupyter 0.7.6 depends on idom<0.39 and >=0.38.1
idom-jupyter 0.7.5 depends on idom<0.37 and >=0.36.0
idom-jupyter 0.7.4 depends on idom<0.37 and >=0.36.0
idom-jupyter 0.7.3 depends on idom<0.37 and >=0.36.0
idom-jupyter 0.7.2 depends on idom<0.37 and >=0.36.0
idom-jupyter 0.7.1 depends on idom<0.37 and >=0.36.0
idom-jupyter 0.7.0 depends on idom<0.37 and >=0.36.0
idom-jupyter 0.6.5 depends on idom<0.37 and >=0.36.0
idom-jupyter 0.6.4 depends on idom<0.36 and >=0.35.4
idom-jupyter 0.6.3 depends on idom<0.36 and >=0.34.0
idom-jupyter 0.6.2 depends on idom<0.34 and >=0.33.0
idom-jupyter 0.6.1 depends on idom<0.34 and >=0.33.0
idom-jupyter 0.6.0 depends on idom<0.32 and >=0.31.0
idom-jupyter 0.5.2 depends on idom<0.24 and >=0.23
idom-jupyter 0.5.1 depends on idom>=0.22.2
idom-jupyter 0.5.0 depends on idom>=0.22.2
idom-jupyter 0.4.0 depends on idom>=0.20.1
idom-jupyter 0.2.0 depends on idom>=0.17.1
idom-jupyter 0.1.1 depends on idom>=0.15.0
idom-jupyter 0.1.0 depends on idom>=0.13.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
Error: An error occurred while installing idom-jupyter!
ERROR: Cannot install idom-jupyter==0.1.0, idom-jupyter==0.1.1, idom-jupyter==0.2.0, idom-jupyter==0.4.0, idom-jupyter==0.5.0, idom-jupyter==0.5.1, idom-jupyter==0.5.2, idom-jupyter==0.6.0, idom-jupyter==0.6.1, idom-jupyter==0.6.2, idom-jupyter==0.6.3, idom-jupyter==0.6.4, idom-jupyter==0.6.5, idom-jupyter==0.7.0, idom-jupyter==0.7.1, idom-jupyter==0.7.2, idom-jupyter==0.7.3, idom-jupyter==0.7.4, idom-jupyter==0.7.5 and idom-jupyter==0.7.6 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
Contents of Pipfile
:
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
simpy = "*"
ipykernel = "*"
pandas = "*"
numpy = "*"
matplotlib = "*"
numba = "*"
pyyaml = "*"
bokeh = "*"
voila = "*"
[dev-packages]
[requires]
python_version = "3.6"
from reactpy-jupyter.
[requires]
python_version = "3.6"
IDOM requires Python >=3.7, so that's one issue.
Let's try fixing that first to see what will happen.
from reactpy-jupyter.
Related Issues (13)
- Remove Extra JS
- Log idom_jupyter version to console
- Planned Breaking Changes in IDOM
- Different version of React used with installed modules HOT 1
- Add license to setup.py and LICENSE file HOT 3
- Widgets not displaying HOT 3
- Importing JS Libraries is Broken
- Latest IDOM is missing a file extension in an import
- Model class 'IdomModel' from module 'idom-client-jupyter' is loaded but can not be instantiated HOT 15
- binder example broken HOT 1
- Add type annotations
- Doesn't Work In JupyterLab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactpy-jupyter.