Giter Club home page Giter Club logo

Comments (6)

akaszynski avatar akaszynski commented on May 18, 2024 1

The maintainers of vtk put out wheels for most Python/OS combinations, but they're missing wheels for Windows 32 bit and Python 2.7 for Win64, which is why it can't be installed using pip. They do, however, maintain conda recipes at vtk-anaconda. I'm going to add a note in the setup file about this and inform the user that if they're using Windows, they might try using conda.

from pyvista.

akaszynski avatar akaszynski commented on May 18, 2024

It’s strange that pip doesn’t see vtk. Was it installed already using pip or conda? You might try installing it first as a requirement before testing PVGeo.

I can look into making a conda recipe for vtki, but I’m on vacation right now and it might take a bit before I have time to look at it.

Appveyor worked for me for vtki. Try looking at my appveyor.ymland see if you can try implementing that on your end.

from pyvista.

akaszynski avatar akaszynski commented on May 18, 2024

Still need a conda recipe?

from pyvista.

banesullivan avatar banesullivan commented on May 18, 2024

I think it would be beneficial to make installing vtki easier. Plus I need to learn how to set them up

from pyvista.

banesullivan avatar banesullivan commented on May 18, 2024

The issue I'm running into is on Windows x86, vtki is only tested on x64. If I manually install vtki using pip and vtk using conda then all is good. But if I try a simple pip install vtki, pip cannot recognize that vtk is already installed and pip doesn't find a suitable version. This is shown in an AppVeyor build of PVGeo where I am trying to add vtki as a requirement. The full build log is here

$ pip install vtki
 Collecting vtki
 Downloading https://files.pythonhosted.org/packages/f6/a7/c723412e547b7bec79162a9341f450e2c02e764da33da83f5ac0bf5fea92/vtki-0.14.0.tar.gz (204kB)
 Requirement already satisfied: numpy in c:\miniconda36\lib\site-packages (from vtki) (1.15.4)
 Collecting imageio (from vtki)
 Downloading https://files.pythonhosted.org/packages/28/b4/cbb592964dfd71a9de6a5b08f882fd334fb99ae09ddc82081dbb2f718c81/imageio-2.4.1.tar.gz (3.3MB)
 Collecting vtk (from vtki)
 Could not find a version that satisfies the requirement vtk (from vtki) (from versions: )
 No matching distribution found for vtk (from vtki)

I'm wondering if I can just change that vtki will only add vtk to its requirements if Windows is x64 or on mac/linux

from pyvista.

banesullivan avatar banesullivan commented on May 18, 2024

See #127

from pyvista.

Related Issues (20)

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.