Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Background python parser crashes importing sklearn.cluster in VS2017 #1197

Closed
@jaybo

Description

@jaybo

Environment data

  • PTVSD version: 4.2.0 and 4.2.4
  • OS and version: Windows 10, 1607, 14393.2670
  • Python version (& distribution if applicable, e.g. Anaconda): Anaconda 3.6.8
  • Using VS Code or Visual Studio: VS2017, 15.9.7

Actual behavior

Background code parser crashes importing sklearn.cluster.

Expected behavior

The background code parser should never crash. On PTVSD 4.2.0 If I dismiss the crash dialog, it will reappear after about one minute, presumably when the background parser is auto-restarted.

Steps to reproduce:

  1. pip install scikit-learn

  2. Load a python script which can be as simple as:

from sklearn.cluster import KMeans
  1. Wait a moment, then:
    image

  2. The program will run successfully.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions