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 installation ended with error #20

Closed
DKreuter opened this issue Mar 26, 2021 · 4 comments
Closed

pip installation ended with error #20

DKreuter opened this issue Mar 26, 2021 · 4 comments

Comments

@DKreuter
Copy link

Hi, I have some problems installing pymapdl-reader using pip.
I use a plain environment (only python, pip and numpy, cython installed) and try to install pymapdl-reader.

But that ends up with the following error:

`
ERROR: Cannot install ansys-mapdl-reader because these package versions have conflicting dependencies.

The conflict is caused by:
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
`

I tried several ways of installing the pymapdl-reader (installing pyvista before and so on), but no chance to get it.
It would be great to have a pip-ready version that handles this problems.

@akaszynski
Copy link
Collaborator

I'm guessing you're using Python 3.9 or some other python env that doesn't have a VTK wheel available.

VTK doesn't have a Python 3.9 solution (yet). If you're working on a conda environment you can install the package as they have wheel for 3.9, but if outside of conda, use Python 3.8 for now until they have a wheel.

I'm working on implementing a Conda package for this module so these issues will be at least partially solved.

@DKreuter
Copy link
Author

Great, thanks for the info. With python 3.8 everything works. Really great enhancements so far in the pymapdl-reader.

@akaszynski
Copy link
Collaborator

I'm keeping this open to remind myself to add a minimum version to the python_requires for now. You can get around this with anaconda's VTK, so I may alternatively have to check if VTK is available for the platform/python version and then proceed with an install.

@akaszynski
Copy link
Collaborator

Resolved in #44

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