Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install instructions fail #2

Closed
mathematicalmichael opened this issue May 11, 2019 · 3 comments
Closed

pip install instructions fail #2

mathematicalmichael opened this issue May 11, 2019 · 3 comments

Comments

@mathematicalmichael
Copy link

you have an outdated dependency. references to vtki need to be changed to vista

In [1]: import tetgen
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-1bb3895953a6> in <module>
----> 1 import tetgen

~/.local/lib/python3.7/site-packages/tetgen/__init__.py in <module>
      1 from tetgen import _tetgen
----> 2 from tetgen.pytetgen import TetGen

~/.local/lib/python3.7/site-packages/tetgen/pytetgen.py in <module>
      9
     10 import numpy as np
---> 11 import vtki
     12
     13 from tetgen import _tetgen

~/.local/lib/python3.7/site-packages/vtki/__init__.py in <module>
      7 """
      8
----> 9 raise ImportError(message)
     10
     11 import warnings

ImportError:
ATTENTION: `vtki` has been renamed to `vista`. Please install `vista`:

    pip install vista

    conda install -c conda-forge vista
@akaszynski
Copy link
Member

I'm afraid that you'll have to use an older version of vtki, ideally vtki==0.18.4.

We're going to probably rename it to pyvista and I don't want to refactor twice.

@mathematicalmichael
Copy link
Author

mathematicalmichael commented May 11, 2019 via email

@akaszynski
Copy link
Member

You can now install tetgen using pip:

pip install tetgen

This module is now using pyvista.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants