* [gentoo-user] vtk python USE flag question
@ 2020-12-18 21:31 Valmor F. de Almeida
2020-12-19 12:44 ` Aisha Tammy
0 siblings, 1 reply; 2+ messages in thread
From: Valmor F. de Almeida @ 2020-12-18 21:31 UTC (permalink / raw
To: gentoo-user
Hello,
I emerged vtk with the python USE flag on.
Next I started a python interactive session and tried to import vtk:
-> python
Python 3.8.6 (default, Nov 21 2020, 00:26:41)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
but vtk can't be found.
Are the bindings for python supposed to work this way?
Thanks,
--
Valmor
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] vtk python USE flag question
2020-12-18 21:31 [gentoo-user] vtk python USE flag question Valmor F. de Almeida
@ 2020-12-19 12:44 ` Aisha Tammy
0 siblings, 0 replies; 2+ messages in thread
From: Aisha Tammy @ 2020-12-19 12:44 UTC (permalink / raw
To: gentoo-user
On 12/18/20 4:31 PM, Valmor F. de Almeida wrote:
> Hello,
>
> I emerged vtk with the python USE flag on.
> Next I started a python interactive session and tried to import vtk:
>
> -> python
> Python 3.8.6 (default, Nov 21 2020, 00:26:41)
> [GCC 9.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import vtk
>
> but vtk can't be found.
>
> Are the bindings for python supposed to work this way?
>
> Thanks,
> --
> Valmor
>
Check what version of python_single_target vtk was merged for.
Most likely, it was merged for 3.7, in which case you need
to do an upgrade.
Recently the python targets were changed from 3.7 to 3.8
so its good idea to remerge the whole tree to upgrade all
packages to 3.8
Aisha
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-19 12:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-18 21:31 [gentoo-user] vtk python USE flag question Valmor F. de Almeida
2020-12-19 12:44 ` Aisha Tammy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox