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 pyvista fail #144

Closed
gregnordin opened this issue Oct 6, 2023 · 3 comments
Closed

pip install pyvista fail #144

gregnordin opened this issue Oct 6, 2023 · 3 comments

Comments

@gregnordin
Copy link

gregnordin commented Oct 6, 2023

The docker image apparently starts without the pyvista package installed and I can't seem to pip install it after starting the docker container. Here is how I start it:

docker run --init -p 8888:8888 -v "$(pwd)":/root/shared -w /root/shared ghcr.io/jorgensd/dolfinx-tutorial:v0.6.0

A url is provided from which I get a Jupyter Lab session served by the container. I've attached a zip file containing the notebook I created and from which I try to install pyvista. The errors are quite long so I thought it better to attach the file rather than paste the message here. From #130 it looks like pyvista should be installable. Perhaps I am missing something basic, but I'm stumped so am looking for clues how to fix the problem.

Test_tutorial_docker_version.ipynb.zip

@jorgensd
Copy link
Owner

jorgensd commented Oct 6, 2023

As you can see by the output, the issue is that VTK does not supply binaries on modern macs (ref: KitwareMedical/VTKPythonPackage#42).
@finsberg has made a mac-binary of VTK, which can be installed as described in: KitwareMedical/VTKPythonPackage#42 (comment)

@gregnordin
Copy link
Author

Thank you very much! Installing the mac-binary of VTK by @finsberg takes care of the problem. I did not know what that error meant so am very appreciative of your help.

Would you like me to submit a small pull request to put this in the documentation so future mac users don't run into the same problem as I did?

@jorgensd
Copy link
Owner

jorgensd commented Oct 6, 2023

Sure! Make sure you make a pull request against the release branch, as I plan to release a 0.7.0 compatible version soon.

@jorgensd jorgensd closed this as completed Dec 6, 2023
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