1 |
On 12/18/20 4:31 PM, Valmor F. de Almeida wrote: |
2 |
> Hello, |
3 |
> |
4 |
> I emerged vtk with the python USE flag on. |
5 |
> Next I started a python interactive session and tried to import vtk: |
6 |
> |
7 |
> -> python |
8 |
> Python 3.8.6 (default, Nov 21 2020, 00:26:41) |
9 |
> [GCC 9.3.0] on linux |
10 |
> Type "help", "copyright", "credits" or "license" for more information. |
11 |
>>>> import vtk |
12 |
> |
13 |
> but vtk can't be found. |
14 |
> |
15 |
> Are the bindings for python supposed to work this way? |
16 |
> |
17 |
> Thanks, |
18 |
> -- |
19 |
> Valmor |
20 |
> |
21 |
|
22 |
Check what version of python_single_target vtk was merged for. |
23 |
Most likely, it was merged for 3.7, in which case you need |
24 |
to do an upgrade. |
25 |
Recently the python targets were changed from 3.7 to 3.8 |
26 |
so its good idea to remerge the whole tree to upgrade all |
27 |
packages to 3.8 |
28 |
|
29 |
Aisha |