Giter VIP home page Giter VIP logo

Comments (6)

ScissorHill avatar ScissorHill commented on August 15, 2024 1

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.

rmorshea avatar rmorshea commented on August 15, 2024

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.

rmorshea avatar rmorshea commented on August 15, 2024

@Archmonger could you confirm this one?

from reactpy-jupyter.

Archmonger avatar Archmonger commented on August 15, 2024

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.

ScissorHill avatar ScissorHill commented on August 15, 2024

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.

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.

Archmonger avatar Archmonger commented on August 15, 2024
[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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.