Skip to content

Pip installation conflict #10

Description

@robertoost

Installing this package using pip fails due to a dependency conflict between pyvista and vtk.

Full log below:

Installing pyiges...
Error:  An error occurred while installing pyiges!
Error text: Collecting pyiges
  Using cached pyiges-0.1.5-py3-none-any.whl (1.0 MB)
Collecting tqdm
  Using cached tqdm-4.61.0-py2.py3-none-any.whl (75 kB)
Collecting geomdl
  Using cached geomdl-5.3.1-py2.py3-none-any.whl (147 kB)
Collecting pyvista>=0.28.0
  Using cached pyvista-0.30.1-py3-none-any.whl (1.2 MB)
Collecting numpy
  Using cached numpy-1.20.3-cp39-cp39-win_amd64.whl (13.7 MB)
Collecting pillow
  Using cached Pillow-8.2.0-cp39-cp39-win_amd64.whl (2.2 MB)
Collecting transforms3d==0.3.1
  Using cached transforms3d-0.3.1.tar.gz (62 kB)
Collecting scooby>=0.5.1
  Using cached scooby-0.5.7-py3-none-any.whl (13 kB)
Collecting pyvista>=0.28.0
  Using cached pyvista-0.30.0-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.29.1-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.29.0-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.28.1-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.28.0-py3-none-any.whl (1.2 MB)
INFO: pip is looking at multiple versions of pyiges to determine which version is compatible with other requirements. This could take a while.
Collecting pyiges
  Using cached pyiges-0.1.4-py3-none-any.whl (1.0 MB)
  Using cached pyiges-0.1.3-py3-none-any.whl (14 kB)
  Using cached pyiges-0.1.2-py3-none-any.whl (12 kB)
  Using cached pyiges-0.1.1-py3-none-any.whl (12 kB)
Collecting pyvista>=0.22.0
  Using cached pyvista-0.27.4-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.27.3-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.27.2-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.27.1-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.27.0-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.26.1-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.26.0-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.25.3-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.25.2-py3-none-any.whl (1.2 MB)
  Using cached pyvista-0.25.1.tar.gz (1.2 MB)
Collecting imageio
  Using cached imageio-2.9.0-py3-none-any.whl (3.3 MB)
Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting meshio<5.0,>=4.0.3
  Using cached meshio-4.4.3-py3-none-any.whl (153 kB)
Collecting pyvista>=0.22.0
  Using cached pyvista-0.24.3.tar.gz (1.2 MB)
  Using cached pyvista-0.24.2.tar.gz (1.2 MB)
  Using cached pyvista-0.24.1.tar.gz (1.2 MB)
  Using cached pyvista-0.24.0.tar.gz (1.2 MB)
  Using cached pyvista-0.23.1.tar.gz (1.2 MB)
  Using cached pyvista-0.23.0.tar.gz (1.2 MB)
  Using cached pyvista-0.22.4.tar.gz (1.2 MB)
  Using cached pyvista-0.22.2.tar.gz (1.2 MB)
  Using cached pyvista-0.22.1.tar.gz (1.2 MB)
  Using cached pyvista-0.22.0.tar.gz (1.2 MB)

The conflict is caused by:
    pyvista 0.30.1 depends on vtk
    pyvista 0.30.0 depends on vtk
    pyvista 0.29.1 depends on vtk
    pyvista 0.29.0 depends on vtk
    pyvista 0.28.1 depends on vtk
    pyvista 0.28.0 depends on vtk
    pyvista 0.27.4 depends on vtk
    pyvista 0.27.3 depends on vtk
    pyvista 0.27.2 depends on vtk
    pyvista 0.27.1 depends on vtk
    pyvista 0.27.0 depends on vtk
    pyvista 0.26.1 depends on vtk
    pyvista 0.26.0 depends on vtk
    pyvista 0.25.3 depends on vtk
    pyvista 0.25.2 depends on vtk
    pyvista 0.25.1 depends on vtk
    pyvista 0.24.3 depends on vtk
    pyvista 0.24.2 depends on vtk
    pyvista 0.24.1 depends on vtk
    pyvista 0.24.0 depends on vtk
    pyvista 0.23.1 depends on vtk
    pyvista 0.23.0 depends on vtk
    pyvista 0.22.4 depends on vtk
    pyvista 0.22.2 depends on vtk
    pyvista 0.22.1 depends on vtk
    pyvista 0.22.0 depends on vtk

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: Cannot install pyiges because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Installation Failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions