Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 757
    • Issues 757
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 205
    • Merge requests 205
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #17363
Closed
Open
Created Jul 26, 2018 by David Gobbi@dgobbiDeveloper

Python 3.7 has changed initialization, causing vtkpython to fail

Running vtkpython fails with the following error when it calls Py_Main():

Fatal Python error: _Py_InitializeCore: main interpreter already initialized

This error occurs because Py_InitializeEx() was called before Py_Main(), which is not allowed in Python 3.7.0 (but will be allowed in 3.7.1).

The following Python bug report states that it is a regression in 3.7.0 that was not caught prior to release:

https://bugs.python.org/issue34008

Edited Jul 26, 2018 by David Gobbi
Assignee
Assign to
Time tracking