Radiation-Transport / iWW-GVR

A tool to manipulate MCNP weight window (WW) and to generate Global Variance Reduction (GVR) parameters
Other
7 stars 7 forks source link

Can't find vtk on Linux (Fedora)? #9

Closed amivaleo closed 3 years ago

amivaleo commented 3 years ago

Hi!

Fedora user here. I'm trying to install iWW_GVR but I fail due to a missing requirement:

$ pip install iww_gvr-1.1.8.tar.gz --user
Processing ./iww_gvr-1.1.8.tar.gz
Requirement already satisfied: numpy>=1.14.3 in /usr/lib64/python3.9/site-packages (from iww-gvr==1.1.8) (1.20.1)
Collecting pyevtk>=1.1.1
  Using cached pyevtk-1.2.0-py3-none-any.whl (18 kB)
Requirement already satisfied: matplotlib>=2.2.2 in /usr/lib64/python3.9/site-packages (from iww-gvr==1.1.8) (3.4.2)
ERROR: Could not find a version that satisfies the requirement vtk>=8.1.2 (from iww-gvr)
ERROR: No matching distribution found for vtk>=8.1.2

I've tried to install vtk and vtk-devel. That didn't help.

What am I doing wrong? Vtk is not even mentioned as a requirement in the readme.

Radiation-Transport commented 3 years ago

I am sorry that you are having problems amivaleo. Unfortunately we have only used this code on Windows machines. The code uses the vtk module so if you already have installed it with the version 8.1.2 or higher I dont know what the problem may be.

amivaleo commented 3 years ago

I solved this.

I had to install anaconda and then I gave

pip install vtk --user

This fixed the missing vtk issue I had. So I could install iWW-GR.

Thank you! :)