microsoft / pylance-release

Documentation and issues for Pylance
Creative Commons Attribution 4.0 International
1.72k stars 766 forks source link

Autocomplete suggestions not working for OpenCV built from source #1609

Closed mosdeo closed 2 years ago

mosdeo commented 3 years ago

Environment data

VS Code version: 1.58.2 Extension version (available under the Extensions sidebar): v2021.7.5 OS: Darwin arm64 20.6.0 Python version (& distribution if applicable, e.g. Anaconda): 3.9.2 Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda Relevant/affected Python packages and their versions: OpenCV 4.5.3 Value of the python.languageServer setting: Pylance

OpenCV 4.5.3 built from source and non-free packages, installed in:

/Library/OpenCV/opencv-4.5.3/build/lib/python3
/usr/local/lib/python3.9/site-packages/cv2/python-3.9

Both paths is added to "python.analysis.extraPaths"

"python.analysis.extraPaths": [
        "/Library/OpenCV/opencv-4.5.3/build/lib/python3",
        "/usr/local/lib/python3.9/site-packages/cv2/python-3.9"
    ],

Expected behavior

Autocomplete suggestions for module cv2 are expected. Autocomplete works in python.languageServer==Microsoft , so that proves nothing wrong with my installation of OpenCV.

Actual behavior

Autocomplete suggestions working fine with the Python default method.

image

But, not working with the OpenCV built from source

image

bschnurr commented 3 years ago

Could you try copying your built version to inside your interpreter's installed library folder, and see if that works?

mosdeo commented 3 years ago

Could you try copying your built version to inside your interpreter's installed library folder, and see if that works?

Already has soft-link after built:

cd /Users/<myusername>/miniforge3/lib/python3.9/site-packages
ln -s /Library/OpenCV/opencv-4.5.3/build/lib/python3/cv2.cpython-39-darwin.so cv2.so
jakebailey commented 3 years ago

Pylance does not inspect .so files, except to detect that import should resolve. The old language server would actually execute the library to inspect it, which we do not do.

Can you provide some logs so we can see what is being resolved and what your final paths are? We bundle a stub for cv2, but perhaps it's not being applied with this dev setup.

https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue

mosdeo commented 3 years ago

Pylance does not inspect .so files, except to detect that import should resolve. The old language server would actually execute the library to inspect it, which we do not do.

Can you provide some logs so we can see what is being resolved and what your final paths are? We bundle a stub for cv2, but perhaps it's not being applied with this dev setup.

https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue

Pylance language server output

[Info  - 9:35:05 AM] Pylance language server 2021.7.5 (pyright 06d75c6c) starting
[Info  - 9:35:05 AM] Server root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist
[Info  - 9:35:05 AM] No configuration file found.
[Info  - 9:35:05 AM] No pyproject.toml file found.
[Info  - 9:35:05 AM] Setting pythonPath for service "extract_old_roof": "/Users/lky/miniforge3/bin/python"
[Warn  - 9:35:05 AM] stubPath /Users/lky/code_repos/extract_old_roof/typings is not a valid directory.
[Info  - 9:35:05 AM] Assuming Python version 3.9
[Info  - 9:35:05 AM] Assuming Python platform Darwin
Search paths for /Users/lky/code_repos/extract_old_roof
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib
  /Users/lky/code_repos/extract_old_roof
  /Users/lky/code_repos/extract_old_roof/ls /usr/local/lib/python3.9/site-packages/cv2/python-3.9
  /Users/lky/code_repos/extract_old_roof/typings
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stubs/...
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/stubs
  /Users/lky/miniforge3/lib/python3.9
  /Users/lky/miniforge3/lib/python3.9/lib-dynload
  /Users/lky/miniforge3/lib/python3.9/site-packages
[Info  - 9:35:05 AM] Searching for source files
[Info  - 9:35:05 AM] Found 10 source files
[FG] parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (12ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (52ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/builtins.pyi (22ms)
[FG] binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
[Info  - 9:35:05 AM] Background analysis(1) root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist
[Info  - 9:35:05 AM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: setFileOpened
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (12ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 1ms] (51ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (18ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/typing.pyi (6ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/__init__.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/_base.py [fs read 0ms] (25ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/_base.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py [fs read 0ms] (36ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py (4ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/externals/_pilutil.py [fs read 0ms] (8ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/externals/_pilutil.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py [fs read 0ms] (8ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.py [fs read 0ms] (10ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.py ...
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.py [fs read 0ms] (23ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.py ...
[BG(1)]         parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/umath.py [fs read 0ms] (2ms)
[BG(1)]         binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/umath.py ...
[BG(1)]           parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/native-stubs/numpy/core/_multiarray_umath.pyi [fs read 1ms] (44ms)
[BG(1)]           binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/native-stubs/numpy/core/_multiarray_umath.pyi (10ms)
[BG(1)]         binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/umath.py (54ms)
[BG(1)]         parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.py [fs read 0ms] (7ms)
[BG(1)]         binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.py (1ms)
[BG(1)]         parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.py [fs read 0ms] (12ms)
[BG(1)]         binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.py (2ms)
[BG(1)]         parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/arrayprint.py [fs read 0ms] (8ms)
[BG(1)]         binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/arrayprint.py (4ms)
[BG(1)]         parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.py [fs read 1ms] (1ms)
[BG(1)]         binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.py (0ms)
[BG(1)]         parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.py [fs read 0ms] (2ms)
[BG(1)]         binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.py (1ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.py (101ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/records.py [fs read 0ms] (4ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/records.py (2ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/memmap.py [fs read 0ms] (4ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/memmap.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.py [fs read 0ms] (6ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/machar.py [fs read 0ms] (3ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/machar.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/getlimits.py [fs read 0ms] (6ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/getlimits.py (2ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.py [fs read 1ms] (7ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.py [fs read 0ms] (8ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.py (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.py (177ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.py [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.py ...
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.py [fs read 0ms] (3ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.py [fs read 0ms] (5ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.py (2ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.py [fs read 1ms] (20ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.py (9ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.py [fs read 0ms] (7ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.py (2ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.py [fs read 0ms] (4ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.py (2ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.py [fs read 0ms] (1ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.py [fs read 0ms] (2ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.py [fs read 0ms] (1ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.py (0ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/histograms.py [fs read 0ms] (3ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/histograms.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.py [fs read 1ms] (6ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.py (4ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.py [fs read 0ms] (7ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.py (3ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.py [fs read 0ms] (2ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.py [fs read 0ms] (15ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.py (5ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/financial.py [fs read 0ms] (3ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/financial.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.py [fs read 0ms] (2ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.py (3ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/_version.py [fs read 0ms] (1ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/_version.py (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.py (121ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.py [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.py ...
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/defmatrix.py [fs read 0ms] (5ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/defmatrix.py (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.py (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py (317ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py [fs read 0ms] (10ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/__init__.pyi [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/__init__.pyi (3ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/io.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/io.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/path.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/path.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/posixpath.pyi [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/posixpath.pyi (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/path.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/posix.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/posix.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stubs/Pillow/PIL/__init__.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stubs/Pillow/PIL/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/pathlib.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/pathlib.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/types.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/types.pyi (1ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (604ms)
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_inference.py ...
[BG(1)]   parsing: /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_inference.py (4ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_inference.py ...
[BG(1)]     parsing: /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_common.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_common.py (0ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_inference.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/datetime.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/datetime.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/genericpath.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/genericpath.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/feature/__init__.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/feature/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/feature/texture.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/feature/texture.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/pickle.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/pickle.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/__init__.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/_classes.py [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/_classes.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/linear_model/_base.py [fs read 0ms] (10ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/linear_model/_base.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/base.py [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/base.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/_base.py [fs read 0ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/_base.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/deprecation.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/deprecation.py (0ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/validation.pyi [fs read 1ms] (4ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/validation.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/_shared/utils.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/_shared/utils.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/functools.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/functools.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/overrides.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/overrides.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/ast.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/ast.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/_ast.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/_ast.pyi (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/ast.pyi (5ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/compat/_inspect.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/compat/_inspect.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/testing/__init__.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/testing/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/testing/_private/utils.py [fs read 0ms] (12ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/testing/_private/utils.py (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/testing/__init__.py (16ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/testing/_private/nosetester.py [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/testing/_private/nosetester.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/sys.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/sys.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/_globals.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/_globals.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/operator.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/operator.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/warnings.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/warnings.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/math.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/math.pyi (1ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_inference.py (263ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_inference.py ...
[BG(1)]   checking: /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_inference.py (31ms)
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/GLCM/GLCM_inference.py (31ms)
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   checking: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
Background analysis message: resumeAnalysis
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/typing.pyi [fs read 4ms] (55ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/typing.pyi (6ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 1ms] (10ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (3ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/__init__.py [fs read 1ms] (4ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/__init__.py (1ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/_base.py [fs read 0ms] (32ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/_base.py (3ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py [fs read 1ms] (42ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py (3ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/externals/_pilutil.py [fs read 0ms] (10ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/externals/_pilutil.py (1ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py [fs read 0ms] (8ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py ...
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.py [fs read 0ms] (11ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.py ...
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.py [fs read 1ms] (26ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.py ...
[FG]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/umath.py [fs read 1ms] (3ms)
[FG]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/umath.py ...
[FG]         parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/native-stubs/numpy/core/_multiarray_umath.pyi [fs read 1ms] (45ms)
[FG]         binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/native-stubs/numpy/core/_multiarray_umath.pyi (11ms)
[FG]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/umath.py (57ms)
[FG]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.py [fs read 1ms] (8ms)
[FG]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.py (2ms)
[FG]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.py [fs read 1ms] (17ms)
[FG]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.py (4ms)
[FG]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/arrayprint.py [fs read 1ms] (21ms)
[FG]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/arrayprint.py (6ms)
[FG]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.py [fs read 1ms] (2ms)
[FG]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.py (0ms)
[FG]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.py [fs read 1ms] (3ms)
[FG]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.py (0ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.py (126ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/records.py [fs read 0ms] (8ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/records.py (3ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/memmap.py [fs read 0ms] (3ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/memmap.py (1ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.py [fs read 1ms] (7ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.py (1ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/machar.py [fs read 1ms] (4ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/machar.py (1ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/getlimits.py [fs read 0ms] (6ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/getlimits.py (2ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.py [fs read 1ms] (7ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.py (2ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.py [fs read 0ms] (9ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.py (3ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.py (212ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.py [fs read 0ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.py ...
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.py [fs read 0ms] (3ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.py (2ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.py [fs read 0ms] (6ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.py (1ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.py [fs read 1ms] (22ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.py (10ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.py [fs read 0ms] (7ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.py (2ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.py [fs read 1ms] (5ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.py (2ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.py [fs read 1ms] (2ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.py (0ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.py [fs read 1ms] (3ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.py (1ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.py [fs read 0ms] (1ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.py (1ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/histograms.py [fs read 0ms] (3ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/histograms.py (1ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.py [fs read 1ms] (7ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.py (4ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.py [fs read 1ms] (8ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.py (3ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.py [fs read 0ms] (3ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.py (1ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.py [fs read 0ms] (15ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.py (6ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/financial.py [fs read 1ms] (3ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/financial.py (1ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.py [fs read 1ms] (3ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.py (3ms)
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/_version.py [fs read 0ms] (1ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/_version.py (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.py (130ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.py [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.py ...
[FG]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/defmatrix.py [fs read 1ms] (4ms)
[FG]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/defmatrix.py (3ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.py (7ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py (364ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py [fs read 1ms] (11ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/__init__.pyi [fs read 1ms] (6ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/__init__.pyi (3ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/abc.pyi [fs read 1ms] (1ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/io.pyi [fs read 1ms] (2ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/io.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/path.pyi [fs read 0ms] (1ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/path.pyi ...
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/posixpath.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/posixpath.pyi (0ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/os/path.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/posix.pyi [fs read 0ms] (1ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/posix.pyi (0ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stubs/Pillow/PIL/__init__.pyi [fs read 0ms] (0ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stubs/Pillow/PIL/__init__.pyi (0ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi [fs read 0ms] (2ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/pathlib.pyi [fs read 1ms] (2ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/pathlib.pyi (0ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/types.pyi [fs read 1ms] (3ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/typeshed-fallback/stdlib/types.pyi (1ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (4ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
[BG(1)]   checking: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (49ms)
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (54ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1627522505337 at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (2ms)
Background analysis message: resumeAnalysis
[FG] parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (2ms)
[FG] binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (2ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
[FG] completion at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py:12:11 ...
[FG]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (2ms)
[FG]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
[FG] completion at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py:12:11 [found 197 items] (52ms)
[BG(1)]   checking: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (12ms)
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (14ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1627522747578 at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1627522747578 at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (25ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   checking: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
Background analysis message: resumeAnalysis
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py:12:12 ...
[FG]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (3ms)
[FG]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
[FG] completion at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py:12:12 [found 0 items] (32ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py:12:13 ...
[FG]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
[FG]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
[FG] completion at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py:12:13 [found 0 items] (20ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1627522748045 at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1627522748045 at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (54ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   checking: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1627522751090 at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (2ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1627522751090 at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (42ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (2ms)
[FG] binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1627522752245 at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   parsing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (2ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1627522752245 at /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (43ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py ...
[BG(1)]   checking: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/other/opencl_test.py (1ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: markFilesDirty
Background analysis message: analyze

environment.yml

name: base
channels:
  - apple
  - conda-forge
dependencies:
  - absl-py=0.10.0=pyhd8ed1ab_1
  - appdirs=1.4.4=pyh9f0ad1d_0
  - astunparse=1.6.3=pyhd8ed1ab_0
  - blosc=1.21.0=h9f76cd9_0
  - brotli=1.0.9=h3422bc3_5
  - brotli-bin=1.0.9=h3422bc3_5
  - brotlipy=0.7.0=py39h5161555_1001
  - brunsli=0.1=h9f76cd9_0
  - bzip2=1.0.8=h3422bc3_4
  - c-ares=1.17.1=h27ca646_1
  - ca-certificates=2021.5.30=h4653dfc_0
  - cached-property=1.5.2=hd8ed1ab_1
  - cached_property=1.5.2=pyha770c72_1
  - certifi=2021.5.30=py39h2804cbe_0
  - cffi=1.14.6=py39hda8b47f_0
  - cfitsio=3.470=ha83d327_7
  - chardet=4.0.0=py39h2804cbe_1
  - charls=2.2.0=h9f76cd9_0
  - charset-normalizer=2.0.0=pyhd8ed1ab_0
  - cloudpickle=1.6.0=py_0
  - conda=4.10.3=py39h2804cbe_0
  - conda-package-handling=1.7.3=py39h5161555_0
  - cryptography=3.4.7=py39h73257c9_0
  - cycler=0.10.0=py_2
  - cytoolz=0.11.0=py39h5161555_3
  - dask-core=2021.7.1=pyhd8ed1ab_0
  - decorator=5.0.9=pyhd8ed1ab_0
  - freetype=2.10.4=h17b34a0_1
  - fsspec=2021.7.0=pyhd8ed1ab_0
  - gast=0.4.0=pyh9f0ad1d_0
  - giflib=5.2.1=h27ca646_2
  - google-pasta=0.2.0=pyh8c360ce_0
  - grpcio=1.34.1=py39h1eaaf2b_0
  - h5py=3.1.0=nompi_py39h99babb8_100
  - hdf5=1.10.6=nompi_h0fc092c_1114
  - idna=3.1=pyhd3deb0d_0
  - imagecodecs=2021.6.8=py39ha35f355_0
  - imageio=2.9.0=py_0
  - jbig=2.1=h3422bc3_2003
  - joblib=1.0.1=pyhd8ed1ab_0
  - jpeg=9d=h27ca646_0
  - jxrlib=1.1=h27ca646_2
  - keras-preprocessing=1.1.2=pyhd8ed1ab_0
  - kiwisolver=1.3.1=py39h4d2d688_1
  - kmodes=0.11.0=pyh44b312d_1
  - krb5=1.19.1=hd92b7a7_0
  - lcms2=2.12=had6a04f_0
  - lerc=2.2.1=h9f76cd9_0
  - libaec=1.0.5=hbdafb3b_0
  - libblas=3.9.0=9_openblas
  - libbrotlicommon=1.0.9=h3422bc3_5
  - libbrotlidec=1.0.9=h3422bc3_5
  - libbrotlienc=1.0.9=h3422bc3_5
  - libcblas=3.9.0=9_openblas
  - libcurl=7.77.0=h8fe1914_0
  - libcxx=12.0.1=h168391b_0
  - libdeflate=1.7=h27ca646_5
  - libedit=3.1.20191231=hc8eb9b7_2
  - libev=4.33=h642e427_1
  - libffi=3.3=h9f76cd9_2
  - libgfortran=5.0.0.dev0=11_0_1_hf114ba7_22
  - libgfortran5=11.0.1.dev0=hf114ba7_22
  - liblapack=3.9.0=9_openblas
  - libnghttp2=1.43.0=hf3018f0_0
  - libopenblas=0.3.15=openmp_hf330de4_1
  - libpng=1.6.37=hf7e6567_2
  - libprotobuf=3.16.0=hccf11d3_0
  - libssh2=1.9.0=hb80f160_6
  - libtiff=4.3.0=hc6122e1_1
  - libwebp-base=1.2.0=h27ca646_2
  - libzopfli=1.0.3=h9f76cd9_0
  - llvm-openmp=12.0.1=hf3c4609_0
  - locket=0.2.0=py_2
  - lz4-c=1.9.3=h9f76cd9_0
  - matplotlib=3.4.2=py39hdf13c20_0
  - matplotlib-base=3.4.2=py39h5aa4fe7_0
  - ncurses=6.2=h9aa5885_4
  - networkx=2.3=py_0
  - numpy=1.19.5=py39h1f3b974_2
  - olefile=0.46=pyh9f0ad1d_1
  - onnx=1.9.0=py39h3d51e7f_1
  - onnxruntime=1.7.2=py39h803dda9_3
  - openjpeg=2.4.0=h062765e_1
  - openssl=1.1.1k=h27ca646_0
  - opt_einsum=3.3.0=pyhd8ed1ab_1
  - packaging=21.0=pyhd8ed1ab_0
  - pandas=1.3.0=py39h7f752ed_0
  - partd=1.2.0=pyhd8ed1ab_0
  - pillow=8.3.1=py39ha74c66e_0
  - pip=21.1.3=pyhd8ed1ab_0
  - pooch=1.4.0=pyhd8ed1ab_0
  - protobuf=3.16.0=py39hfb83b0d_0
  - pycosat=0.6.3=py39h5161555_1006
  - pycparser=2.20=pyh9f0ad1d_2
  - pyopenssl=20.0.1=pyhd8ed1ab_0
  - pyparsing=2.4.7=pyh9f0ad1d_0
  - pysocks=1.7.1=py39h2804cbe_3
  - python=3.9.6=h54d631c_1_cpython
  - python-dateutil=2.8.2=pyhd8ed1ab_0
  - python_abi=3.9=2_cp39
  - pytz=2021.1=pyhd8ed1ab_0
  - pywavelets=1.1.1=py39h038c1d3_3
  - pyyaml=5.4.1=py39h46acfd9_0
  - re2=2021.06.01=hbdafb3b_0
  - readline=8.1=hedafd6a_0
  - requests=2.26.0=pyhd8ed1ab_0
  - ruamel_yaml=0.15.80=py39h5161555_1004
  - scikit-image=0.18.2=py39h7f752ed_0
  - scikit-learn=0.24.2=py39hab69601_1
  - scipy=1.7.0=py39h5060c3b_0
  - setuptools=49.6.0=py39h2804cbe_3
  - six=1.15.0=pyh9f0ad1d_0
  - snappy=1.1.8=hc88da5d_3
  - sqlite=3.36.0=h72a2b83_0
  - tensorflow-deps=2.5.0=1
  - termcolor=1.1.0=py_2
  - threadpoolctl=2.2.0=pyh8a188c0_0
  - tifffile=2021.7.2=pyhd8ed1ab_0
  - tk=8.6.10=hf7e6567_1
  - toolz=0.11.1=py_0
  - tornado=6.1=py39h5161555_1
  - tqdm=4.61.2=pyhd8ed1ab_1
  - typing-extensions=3.7.4.3=0
  - typing_extensions=3.7.4.3=py_0
  - tzdata=2021a=he74cb21_1
  - urllib3=1.26.6=pyhd8ed1ab_0
  - wheel=0.35.1=pyh9f0ad1d_0
  - wrapt=1.12.1=py39h5161555_3
  - xz=5.2.5=h642e427_1
  - yaml=0.2.5=h642e427_0
  - zfp=0.5.5=hbdafb3b_5
  - zlib=1.2.11=h31e879b_1009
  - zstd=1.5.0=h861e0a7_0
  - pip:
    - attrs==21.2.0
    - cachetools==4.2.2
    - dill==0.3.4
    - flatbuffers==1.12
    - future==0.18.2
    - google-auth==1.33.1
    - google-auth-oauthlib==0.4.4
    - googleapis-common-protos==1.53.0
    - keras-nightly==2.5.0.dev2021032900
    - markdown==3.3.4
    - oauthlib==3.1.1
    - promise==2.3
    - pyasn1==0.4.8
    - pyasn1-modules==0.2.8
    - requests-oauthlib==1.3.0
    - rsa==4.7.2
    - tensorboard==2.5.0
    - tensorboard-data-server==0.6.1
    - tensorboard-plugin-wit==1.8.0
    - tensorflow-datasets==4.3.0
    - tensorflow-estimator==2.5.0
    - tensorflow-macos==2.5.0
    - tensorflow-metadata==1.1.0
    - tensorflow-metal==0.1.1
    - werkzeug==2.0.1
jakebailey commented 3 years ago

This line is suspicious:

/Users/lky/code_repos/extract_old_roof/ls /usr/local/lib/python3.9/site-packages/cv2/python-3.9

This to me looks like a symlink error or something.

I'm also not seeing /Library/OpenCV/opencv-4.5.3/build/lib/python3 show up; can you undo the symlinking and show logs for your original case?

mosdeo commented 3 years ago

/Library/OpenCV/opencv-4.5.3/build/lib/python3

Sorry, I put the error path in local settings carelessness. I deleted it and run a new Pylance language server output. Screen Shot 2021-07-30 at 09 56 49


Following is the new Pylance language server output, has「/Library/OpenCV/opencv-4.5.3/build/lib/python3」. Autocomplete suggestions still not working.

[Info  - 9:52:18 AM] Pylance language server 2021.7.7 (pyright fa453b2e) starting
[Info  - 9:52:18 AM] Server root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist
[Info  - 9:52:18 AM] Background analysis(1) root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist
[Info  - 9:52:18 AM] Background analysis(1) started
[Info  - 9:52:20 AM] No configuration file found.
[Info  - 9:52:20 AM] No pyproject.toml file found.
[Info  - 9:52:20 AM] Setting pythonPath for service "text_block_detect": "/Users/lky/miniforge3/bin/python"
[Warn  - 9:52:20 AM] stubPath /Users/lky/code_repos/text_block_detect/typings is not a valid directory.
[Info  - 9:52:20 AM] Assuming Python version 3.9
[Info  - 9:52:20 AM] Assuming Python platform Darwin
Search paths for /Users/lky/code_repos/text_block_detect
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib
  /Users/lky/code_repos/text_block_detect
  /Library/OpenCV/opencv-4.5.3/build/lib/python3
  /usr/local/lib/python3.9/site-packages/cv2/python-3.9
  /Users/lky/code_repos/text_block_detect/typings
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stubs/...
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs
  /Users/lky/miniforge3/lib/python3.9
  /Users/lky/miniforge3/lib/python3.9/lib-dynload
  /Users/lky/miniforge3/lib/python3.9/site-packages
[Info  - 9:52:20 AM] Searching for source files
[Info  - 9:52:20 AM] Found 2 source files
Background analysis message: setConfigOptions
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: setFileOpened
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/text_block_detect/swt.py ...
[BG(1)]   parsing: /Users/lky/code_repos/text_block_detect/swt.py (17ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (49ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[BG(1)]   binding: /Users/lky/code_repos/text_block_detect/swt.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (17ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing.pyi (6ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/__init__.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/swtlocalizer.py [fs read 1ms] (24ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/swtlocalizer.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi [fs read 0ms] (71ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi (24ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/__init__.pyi [fs read 1ms] (8ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/__init__.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/posix.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/posix.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/path.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/path.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/posixpath.pyi [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/posixpath.pyi (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/path.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/genericpath.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/genericpath.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/pyplot.pyi [fs read 1ms] (35ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/pyplot.pyi (5ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/figure.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/figure.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/artist.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/artist.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/text.pyi [fs read 1ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/text.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/_typing.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/_typing.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi [fs read 1ms] (7ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/cm.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/cm.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/colors.pyi [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/colors.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/image.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/image.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/imutils/__init__.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/imutils/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/axes/__init__.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/axes/__init__.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/axes/_subplots.pyi [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/axes/_subplots.pyi (0ms)
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/axes/_axes.pyi [fs read 0ms] (11ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/axes/_axes.pyi (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/axes/__init__.pyi (15ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/axes/_base.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/axes/_base.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/warnings.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/warnings.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/time.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/time.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/swt.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/swt.py (0ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/text_block_detect/swt.py (406ms)
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py ...
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/subprocess.pyi [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/subprocess.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/multiprocessing/__init__.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/multiprocessing/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/multiprocessing/process.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/multiprocessing/process.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/sys.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/sys.pyi (4ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/mpl_toolkits/axes_grid1/__init__.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/mpl_toolkits/axes_grid1/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/mpl_toolkits/axes_grid1/axes_grid.py [fs read 0ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/mpl_toolkits/axes_grid1/axes_grid.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/imutils/convenience.py [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/imutils/convenience.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_generic_alias.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_generic_alias.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_scalars.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_scalars.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/__init__.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/matplotlib/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/mpl_toolkits/axes_grid1/axes_divider.py [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/mpl_toolkits/axes_grid1/axes_divider.py (3ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/functools.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/functools.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi [fs read 1ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi (0ms)
[BG(1)] getSemanticTokens full at /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (136ms)
Background analysis message: getSemanticTokens range
[BG(1)] getSemanticTokens range 0:0 - 40:101 at /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (3ms)
Background analysis message: getSemanticTokens range
[BG(1)] getSemanticTokens range 0:0 - 34:49 at /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (2ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/text_block_detect/swt.py ...
[BG(1)]   checking: /Users/lky/code_repos/text_block_detect/swt.py (1ms)
[BG(1)] analyzing: /Users/lky/code_repos/text_block_detect/swt.py (2ms)
[BG(1)] analyzing: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py ...
[BG(1)]   checking: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (14ms)
[BG(1)] analyzing: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (14ms)
Background analysis message: resumeAnalysis
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (46ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 1ms] (47ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (2ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (14ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (2ms)
Background analysis message: setFileClosed
[FG] parsing: /Users/lky/code_repos/text_block_detect/swt.py (2ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 0ms] (25ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi (17ms)
[FG] binding: /Users/lky/code_repos/text_block_detect/swt.py (0ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/text_block_detect/swt.py ...
[BG(1)]   checking: /Users/lky/code_repos/text_block_detect/swt.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py [fs read 1ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/swtloc/utils.py (2ms)
[BG(1)]   checking: /Users/lky/code_repos/text_block_detect/swt.py (32ms)
[BG(1)] analyzing: /Users/lky/code_repos/text_block_detect/swt.py (32ms)
Background analysis message: resumeAnalysis
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing.pyi [fs read 2ms] (52ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing.pyi (7ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 1ms] (6ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 1ms] (3ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/path.pyi [fs read 1ms] (3ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/path.pyi ...
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/posixpath.pyi [fs read 0ms] (3ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/posixpath.pyi (0ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/path.pyi (3ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/genericpath.pyi [fs read 1ms] (2ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/genericpath.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/__init__.pyi [fs read 1ms] (15ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/__init__.pyi (8ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/posix.pyi [fs read 1ms] (3ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/posix.pyi (0ms)
[FG] parsing: /var/folders/78/3ftbhf_j3hd21g41q84v914h0000gn/T/pyright-60178-PWXDEyGKlyJP/builtins-60178-RqkRtwx8mFL3-.py [fs read 0ms] (50ms)
[FG] binding: /var/folders/78/3ftbhf_j3hd21g41q84v914h0000gn/T/pyright-60178-PWXDEyGKlyJP/builtins-60178-RqkRtwx8mFL3-.py (18ms)
Background analysis message: setFileOpened
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/text_block_detect/scenery2doc.py (6ms)
[FG] binding: /Users/lky/code_repos/text_block_detect/scenery2doc.py (1ms)
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/text_block_detect/scenery2doc.py ...
[BG(1)]   parsing: /Users/lky/code_repos/text_block_detect/scenery2doc.py (5ms)
[BG(1)]   binding: /Users/lky/code_repos/text_block_detect/scenery2doc.py (1ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/text_block_detect/scenery2doc.py (28ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/text_block_detect/scenery2doc.py ...
[BG(1)]   checking: /Users/lky/code_repos/text_block_detect/scenery2doc.py (1ms)
[BG(1)] analyzing: /Users/lky/code_repos/text_block_detect/scenery2doc.py (1ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/functools.pyi [fs read 1ms] (7ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/functools.pyi (2ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/functools.py [fs read 2ms] (35ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/functools.py (7ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
jakebailey commented 3 years ago

Can you show the output of:

$ ls -l /Library/OpenCV/opencv-4.5.3/build/lib/python3
$ ls -l /usr/local/lib/python3.9/site-packages/cv2/python-3.9

Just to see the structure?

mosdeo commented 3 years ago

ls -l /usr/local/lib/python3.9/site-packages/cv2/python-3.9

(base) ➜  ~ ls -l /Library/OpenCV/opencv-4.5.3/build/lib/python3
total 15704
-rwxr-xr-x  1 lky  wheel  8038517 Jul 28 14:47 cv2.cpython-39-darwin.so

(base) ➜  ~ ls -l /usr/local/lib/python3.9/site-packages/cv2/python-3.9
total 15704
-rwxr-xr-x  1 root  wheel  8038520 Jul 25 00:55 cv2.cpython-39-darwin.so
jakebailey commented 3 years ago

Thanks. What might be happening in this case is that your own setup differs from what is normally shipped on PyPI; I think that our current stub is for cv2.cv2 with the expectation that there's an __init__.py that is reexporting attributes, not that the module itself is compiled (but I'd need to check).

mosdeo commented 3 years ago

Thanks. What might be happening in this case is that your own setup differs from what is normally shipped on PyPI; I think that our current stub is for cv2.cv2 with the expectation that there's an __init__.py that is reexporting attributes, not that the module itself is compiled (but I'd need to check).

mdfind __init__.py | grep cv2                                       
/Library/OpenCV/opencv-4.5.3/modules/python/package/cv2/_extra_py_code/__init__.py
/Library/OpenCV/opencv-4.5.3/modules/python/package/cv2/__init__.py
/usr/local/lib/python3.9/site-packages/cv2/__init__.py
/usr/local/lib/python3.9/site-packages/cv2/_extra_py_code/__init__.py
/usr/local/lib/python3.9/site-packages/cv2/_extra_py_code/gapi/__init__.py
/Library/OpenCV/opencv-4.5.3/build/python_loader/cv2/__init__.py
/Library/OpenCV/opencv-4.5.3/build/python_loader/cv2/_extra_py_code/__init__.py
/Library/OpenCV/opencv-4.5.3/build/python_loader/cv2/_extra_py_code/gapi/__init__.py

I must build the OpenCV itself, because my platform is Apple Silicon, install from PyPl is not compatible currently.

This is my build & setup process.

How to improve that to solve Autocomplete suggestions not working under Pylance?

bschnurr commented 3 years ago

try renaming /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/stubs/cv2/cv2.pyi to /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/stubs/cv2/__init__.pyi

mosdeo commented 3 years ago

try renaming /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/stubs/cv2/cv2.pyi to /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/stubs/cv2/__init__.pyi

I have no file /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.5/dist/bundled/stubs/cv2/cv2.pyi

(base) ➜  ~ ls /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/       
django            jmespath          openpyxl          pythonwin-stubs   sklearn-stubs     sympy-stubs       win32comext-stubs
gym-stubs         matplotlib        pandas            scipy-stubs       sqlalchemy        win32-stubs

And no any result mdfind .pyi | grep cv

How to produce the cv2.pyi ?

bschnurr commented 3 years ago

sorry. i think its under /bundled/native-stubs/cv2

mosdeo commented 3 years ago

Yes, I have /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/native-stubs/cv2/cv2.py. I rename that to /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/native-stubs/cv2/__init__.pyi And Restart Pylance language server(following output), but autocomplete suggestions still not working.

[Info  - 9:15:51 AM] Pylance language server 2021.7.7 (pyright fa453b2e) starting
[Info  - 9:15:51 AM] Server root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist
[Info  - 9:15:52 AM] Background analysis(1) root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist
[Info  - 9:15:52 AM] Background analysis(1) started
[Info  - 9:15:53 AM] No configuration file found.
[Info  - 9:15:53 AM] No pyproject.toml file found.
[Info  - 9:15:53 AM] Setting pythonPath for service "extract_old_roof": "/Users/lky/miniforge3/bin/python"
[Warn  - 9:15:53 AM] stubPath /Users/lky/code_repos/extract_old_roof/typings is not a valid directory.
[Info  - 9:15:53 AM] Assuming Python version 3.9
[Info  - 9:15:53 AM] Assuming Python platform Darwin
Search paths for /Users/lky/code_repos/extract_old_roof
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib
  /Users/lky/code_repos/extract_old_roof
  /Library/OpenCV/opencv-4.5.3/build/lib/python3
  /usr/local/lib/python3.9/site-packages/cv2/python-3.9
  /Users/lky/code_repos/extract_old_roof/typings
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stubs/...
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs
  /Users/lky/miniforge3/lib/python3.9
  /Users/lky/miniforge3/lib/python3.9/lib-dynload
  /Users/lky/miniforge3/lib/python3.9/site-packages
[Info  - 9:15:53 AM] Searching for source files
[Info  - 9:15:53 AM] Found 11 source files
[FG] parsing: /Users/lky/code_repos/extract_old_roof/GLCM/extract_old_roof_GLCM_deploy.py (27ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (45ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[FG] binding: /Users/lky/code_repos/extract_old_roof/GLCM/extract_old_roof_GLCM_deploy.py (2ms)
Background analysis message: setConfigOptions
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/extract_old_roof/GLCM/extract_old_roof_GLCM_deploy.py ...
[BG(1)]   parsing: /Users/lky/code_repos/extract_old_roof/GLCM/extract_old_roof_GLCM_deploy.py (30ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (47ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[BG(1)]   binding: /Users/lky/code_repos/extract_old_roof/GLCM/extract_old_roof_GLCM_deploy.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing.pyi [fs read 0ms] (17ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing.pyi (6ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/datetime.pyi [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/datetime.pyi (3ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/json/__init__.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/json/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/pickle.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/pickle.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/functools.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/functools.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi [fs read 1ms] (58ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi (21ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/feature/__init__.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/feature/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/feature/texture.py [fs read 0ms] (9ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/feature/texture.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/__init__.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_kmeans.py [fs read 0ms] (33ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_kmeans.py (4ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/base.py [fs read 2ms] (18ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/base.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/_classes.py [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/_classes.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/_base.py [fs read 1ms] (11ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/svm/_base.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/deprecation.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/deprecation.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/abc.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/validation.pyi [fs read 0ms] (8ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/validation.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/linear_model/_base.py [fs read 1ms] (10ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/linear_model/_base.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/warnings.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/warnings.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/__init__.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/base.py [fs read 1ms] (9ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/base.py (4ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csr.py [fs read 0ms] (4ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csr.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csc.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csc.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/lil.py [fs read 0ms] (4ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/lil.py (3ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dok.py [fs read 0ms] (4ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dok.py (4ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/coo.py [fs read 0ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/coo.py (4ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dia.py [fs read 0ms] (4ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dia.py (2ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/bsr.py [fs read 0ms] (5ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/bsr.py (3ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/construct.py [fs read 0ms] (4ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/construct.py (2ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/extract.py [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/extract.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_matrix_io.py [fs read 1ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_matrix_io.py (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/__init__.py (67ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/threadpoolctl.py [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/threadpoolctl.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/extmath.py [fs read 1ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/extmath.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/__init__.py [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py [fs read 0ms] (10ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/__init__.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/api.pyi [fs read 0ms] (19ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/api.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/frame.pyi [fs read 1ms] (19ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/frame.pyi (9ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/generic.pyi [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/generic.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/base.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/base.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/accessor.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/accessor.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/indexing.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/pandas/core/indexing.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/compressed.py [fs read 0ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/compressed.py (7ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/data.py [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/data.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_index.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_index.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/random/__init__.pyi [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/random/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/random/mtrand.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/random/mtrand.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/sparsefuncs.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/sparsefuncs.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/inspect.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/inspect.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/pairwise.py [fs read 1ms] (15ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/pairwise.py (5ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/struct.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/struct.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/platform.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/platform.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/_lib/_util.py [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/_lib/_util.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/sputils.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/sputils.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/_warnings.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/_warnings.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/operator.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/operator.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_char_codes.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_char_codes.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_nbit.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_nbit.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_scalars.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_scalars.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/json/encoder.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/json/encoder.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/_shared/utils.py [fs read 1ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/skimage/_shared/utils.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_generic_alias.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_generic_alias.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/__init__.pyi [fs read 1ms] (6ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/os/__init__.pyi (5ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/io.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/io.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/types.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/typeshed-fallback/stdlib/types.pyi (1ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/extract_old_roof/GLCM/extract_old_roof_GLCM_deploy.py (952ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/GLCM/extract_old_roof_GLCM_deploy.py ...
[BG(1)]   checking: /Users/lky/code_repos/extract_old_roof/GLCM/extract_old_roof_GLCM_deploy.py (27ms)
[BG(1)] analyzing: /Users/lky/code_repos/extract_old_roof/GLCM/extract_old_roof_GLCM_deploy.py (27ms)
Background analysis message: resumeAnalysis
bschnurr commented 3 years ago

can you try one more change?

/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/native-stubs/cv2/cv2.pyi

move to /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/native-stubs/cv2.pyi

mosdeo commented 3 years ago

/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/native-stubs/cv2.pyi

  1. I tried the following command, runs normally.

    (base) ➜  ~ mv /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/native-stubs/cv2/cv2.pyi /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/native-stubs/cv2.pyi
  2. And Restart Pylance language server(following output).

  3. And typing "cv.xxx" trying to trigger autocomplete suggestions(already import cv2 as cv), but it still not working. image

  4. Pylance working fine with skleran. image

[Info  - 10:34:36 AM] Pylance language server 2021.8.0 (pyright dfb796d8) starting
[Info  - 10:34:36 AM] Server root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist
[Info  - 10:34:36 AM] No configuration file found.
[Info  - 10:34:36 AM] No pyproject.toml file found.
[Info  - 10:34:36 AM] Setting pythonPath for service "building_vector_cluster": "/Users/lky/miniforge3/bin/python"
[Warn  - 10:34:36 AM] stubPath /Users/lky/code_repos/building_vector_cluster/typings is not a valid directory.
[Info  - 10:34:36 AM] Assuming Python version 3.9
[Info  - 10:34:36 AM] Assuming Python platform Darwin
Search paths for /Users/lky/code_repos/building_vector_cluster
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib
  /Users/lky/code_repos/building_vector_cluster
  /Library/OpenCV/opencv-4.5.3/build/lib/python3
  /usr/local/lib/python3.9/site-packages/cv2/python-3.9
  /Users/lky/code_repos/building_vector_cluster/typings
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stubs/...
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs
  /Users/lky/miniforge3/lib/python3.9
  /Users/lky/miniforge3/lib/python3.9/lib-dynload
  /Users/lky/miniforge3/lib/python3.9/site-packages
[Info  - 10:34:36 AM] Searching for source files
[Info  - 10:34:36 AM] Found 4 source files
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (25ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 3ms] (50ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/common.py [fs read 0ms] (4ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/common.py (1ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (6ms)
[Info  - 10:34:36 AM] Background analysis(1) root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist
[Info  - 10:34:36 AM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: setFileOpened
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (18ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (49ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/builtins.pyi (19ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]     parsing: /Users/lky/code_repos/building_vector_cluster/common.py [fs read 0ms] (4ms)
[BG(1)]     binding: /Users/lky/code_repos/building_vector_cluster/common.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (6ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/typing.pyi [fs read 0ms] (12ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/typing.pyi (5ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi [fs read 1ms] (61ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi (19ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/__init__.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_kmeans.py [fs read 0ms] (35ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_kmeans.py (4ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/base.py [fs read 1ms] (20ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/base.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_dbscan.py [fs read 1ms] (5ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_dbscan.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/pairwise.py [fs read 1ms] (22ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/pairwise.py (3ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/abc.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (316ms)
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/building_vector_cluster/mix_all.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/mix_all.py (5ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/mix_all.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/time.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/time.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/warnings.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/warnings.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/matplotlib/pyplot.pyi [fs read 1ms] (26ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/matplotlib/pyplot.pyi (5ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/__init__.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/__init__.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/_graph.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/_graph.py (1ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/validation.pyi [fs read 0ms] (8ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/validation.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/preprocessing/__init__.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/preprocessing/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/preprocessing/_data.py [fs read 1ms] (15ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/preprocessing/_data.py (5ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/itertools.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/itertools.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/random/__init__.pyi [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/random/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/random/mtrand.pyi [fs read 1ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/random/mtrand.pyi (4ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/mixture/__init__.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/mixture/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/_unsupervised.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/_unsupervised.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/_base.py [fs read 1ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/_base.py (4ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/deprecation.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/deprecation.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/types.pyi [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/types.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/datasets/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_mean_shift.py [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_mean_shift.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py [fs read 0ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/struct.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/struct.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/platform.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/platform.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/__init__.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/api.pyi [fs read 0ms] (17ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/api.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/frame.pyi [fs read 1ms] (14ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/frame.pyi (9ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/generic.pyi [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/generic.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/base.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/base.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/accessor.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/accessor.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/indexing.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/bundled/stubs/pandas/core/indexing.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/base.py [fs read 0ms] (6ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/base.py (3ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csr.py [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csr.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csc.py [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csc.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/lil.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/lil.py (2ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dok.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dok.py (2ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/coo.py [fs read 0ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/coo.py (3ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dia.py [fs read 0ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dia.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/bsr.py [fs read 1ms] (4ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/bsr.py (2ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/construct.py [fs read 1ms] (4ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/construct.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/extract.py [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/extract.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_matrix_io.py [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_matrix_io.py (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/__init__.py (49ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/compressed.py [fs read 0ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/compressed.py (7ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/data.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/data.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_index.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_index.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_nbit.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_nbit.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/parallel.py [fs read 1ms] (5ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/parallel.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/__init__.py [fs read 1ms] (5ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/functools.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/functools.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/fixes.py [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/fixes.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/logger.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/logger.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_multiprocessing_helpers.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_multiprocessing_helpers.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/os/__init__.pyi [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/os/__init__.pyi (4ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/threading.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/threading.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/distutils/version.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/distutils/version.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/numbers.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/numbers.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_generic_alias.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_generic_alias.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_scalars.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_scalars.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_parallel_backends.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_parallel_backends.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/contextlib.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/contextlib.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/_config.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/_config.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/kdtree.py [fs read 1ms] (5ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/kdtree.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/ckdtree.pyi [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/ckdtree.pyi (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/qhull.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/qhull.pyi (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/_plotutils.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/_plotutils.py (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/__init__.py (10ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/distance.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/distance.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/disk.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/disk.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/uuid.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/uuid.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/queue.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/queue.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/sys.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/sys.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/multiclass.py [fs read 1ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/multiclass.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/inspect.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/inspect.pyi (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/_lib/_util.py [fs read 1ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/_lib/_util.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/sputils.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/sputils.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/_warnings.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/_warnings.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/operator.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/operator.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi [fs read 1ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_agglomerative.py [fs read 1ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_agglomerative.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_spectral.py [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_spectral.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_optics.py [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_optics.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_affinity_propagation.py [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_affinity_propagation.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_birch.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_birch.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/mixture/_gaussian_mixture.py [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/mixture/_gaussian_mixture.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/mixture/_base.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/mixture/_base.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/extmath.py [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/extmath.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/__init__.py [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/threadpoolctl.py [fs read 0ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/threadpoolctl.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/sparsefuncs.py [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/sparsefuncs.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/collections/__init__.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/collections/__init__.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/_collections_abc.pyi [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/_collections_abc.pyi (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/collections/__init__.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/manifold/__init__.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/manifold/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/manifold/_spectral_embedding.py [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/manifold/_spectral_embedding.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/__init__.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/misc.py [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/misc.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/basic.py [fs read 1ms] (7ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/basic.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp.py [fs read 1ms] (5ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp.py (3ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_lu.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_lu.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_ldl.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_ldl.py (2ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_cholesky.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_cholesky.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_qr.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_qr.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_qz.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_qz.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_svd.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_svd.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_schur.py [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/decomp_schur.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_polar.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_polar.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/matfuncs.py [fs read 0ms] (4ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/matfuncs.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/blas.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/blas.py ...
[BG(1)]       parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_fblas.pyi [fs read 0ms] (7ms)
[BG(1)]       binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_fblas.pyi (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/blas.py (9ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/lapack.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/lapack.py ...
[BG(1)]       parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_flapack.pyi [fs read 1ms] (19ms)
[BG(1)]       binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_flapack.pyi (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/lapack.py (23ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/special_matrices.py [fs read 1ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/special_matrices.py (2ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_solvers.py [fs read 1ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_solvers.py (2ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_procrustes.py [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_procrustes.py (0ms)
[BG(1)]     parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_update.pyi [fs read 1ms] (1ms)
[BG(1)]     binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_update.pyi (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_sketches.py [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_sketches.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_cossin.py [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/_decomp_cossin.py (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/linalg/__init__.py (91ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/re.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/re.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/enum.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/enum.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/__init__.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/isolve/__init__.py [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/isolve/__init__.py ...
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/isolve/iterative.py [fs read 0ms] (3ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/isolve/iterative.py (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/isolve/__init__.py (5ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/dsolve/__init__.py [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/dsolve/__init__.py ...
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/dsolve/linsolve.py [fs read 1ms] (4ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/dsolve/linsolve.py (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/dsolve/__init__.py (5ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/interface.py [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/interface.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/__init__.py [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/__init__.py ...
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/arpack/__init__.py [fs read 0ms] (1ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/arpack/__init__.py ...
[BG(1)]         parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/arpack/arpack.py [fs read 0ms] (4ms)
[BG(1)]         binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/arpack/arpack.py (4ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/arpack/__init__.py (8ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/lobpcg/__init__.py [fs read 0ms] (0ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/lobpcg/__init__.py ...
[BG(1)]         parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/lobpcg/lobpcg.py [fs read 0ms] (3ms)
[BG(1)]         binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/lobpcg/lobpcg.py (1ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/lobpcg/__init__.py (5ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/eigen/__init__.py (14ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/matfuncs.py [fs read 0ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/matfuncs.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/_onenormest.py [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/_onenormest.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/_norm.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/_norm.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/_expm_multiply.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/_expm_multiply.py (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/linalg/__init__.py (38ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/_arpack.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/_arpack.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/__init__.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_laplacian.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_laplacian.py (1ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_traversal.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_traversal.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/externals/_lobpcg.py [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/externals/_lobpcg.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/heapq.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/heapq.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/memory.py [fs read 1ms] (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/memory.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/weakref.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/weakref.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/__init__.py [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/_ufuncs.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/_ufuncs.pyi (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/_basic.py [fs read 0ms] (5ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/_basic.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/orthogonal.pyi [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/orthogonal.pyi (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/__init__.py (9ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/_logsumexp.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/special/_logsumexp.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_char_codes.py [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_char_codes.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/datetime.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/datetime.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/gaussian_process/kernels.py [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/gaussian_process/kernels.py (3ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/ma/__init__.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/ma/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/ma/core.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/ma/core.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/linalg/__init__.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/linalg/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/pydoc.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/pydoc.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/func_inspect.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/func_inspect.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/collections/abc.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/collections/abc.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/os/path.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/os/path.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/posixpath.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/posixpath.pyi (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/os/path.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/pathlib.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/pathlib.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_store_backends.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_store_backends.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/__init__.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/hierarchy.py [fs read 1ms] (8ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/hierarchy.py (5ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/_optimal_leaf_ordering.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/_optimal_leaf_ordering.pyi (0ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/_hierarchy.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/_hierarchy.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.pyi (0ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_min_spanning_tree.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_min_spanning_tree.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/hashing.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/hashing.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/pickle.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/pickle.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/pprint.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/pprint.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/logging/__init__.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/logging/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/tokenize.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/tokenize.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/token.pyi [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/token.pyi (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/tokenize.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/traceback.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/traceback.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle_compat.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle_compat.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle_utils.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle_utils.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/io.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/io.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/compressor.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/compressor.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/zlib.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/zlib.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/hashlib.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/hashlib.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/array.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/array.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/mmap.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/mmap.pyi (1ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/building_vector_cluster/mix_all.py (2281ms)
[Info  - 10:34:38 AM] [BG(1)] Long operation: getSemanticTokens full at /Users/lky/code_repos/building_vector_cluster/mix_all.py (2281ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/mix_all.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/mix_all.py (2ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/mix_all.py (2ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/typing.pyi [fs read 0ms] (15ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/typing.pyi (7ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (5ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (2ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (2ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (7ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (12ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (20ms)
Background analysis message: resumeAnalysis
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562876370 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562906090 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (4ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1628562906090 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (20ms)
Background analysis message: setFileOpened
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:15 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/__init__.py [fs read 0ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/__init__.py (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_kmeans.py [fs read 0ms] (46ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_kmeans.py (5ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_dbscan.py [fs read 0ms] (5ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_dbscan.py (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/pairwise.py [fs read 1ms] (33ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/pairwise.py (4ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/functools.pyi [fs read 1ms] (3ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.0/dist/typeshed-fallback/stdlib/functools.pyi (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:15 [found 210 items] (116ms)
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562906661 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1628562906661 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (13ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (7ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (7ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:16 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:16 [found 0 items] (9ms)
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:17 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:17 [found 0 items] (13ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562907213 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (4ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1628562907213 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (17ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (9ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (9ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:18 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:18 [found 0 items] (12ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562910141 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1628562910141 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (15ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (7ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (7ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562913689 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1628562913689 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (12ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (9ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (9ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562921863 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1628562921863 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (19ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (5ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (5ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:16 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:16 [found 0 items] (12ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:17 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:17 [found 0 items] (11ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562923025 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1628562923025 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (23ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (8ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (8ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562924474 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1628562924474 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (14ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (7ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (8ms)
Background analysis message: resumeAnalysis
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:16 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (4ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:11:16 [found 0 items] (13ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (14ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (17ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1628562925645 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
bschnurr commented 3 years ago

so I have opencv building now in linux

one slight difference is my opencv went to dist-packages yours /usr/local/lib/python3.9/site-packages/cv2/python-3.9 mine /usr/local/lib/python3.9/dist-packages/cv2/python-3.9

does you code actually run successfully?

Mine wouldn't when I had a plain venv as my selected interpreter and just added extra paths to to my built opencv. I did run if I select the /usr/bin/python3 interpreter, which has my built version of opencv

here was the code i was trying to run

import cv2
print(cv2.__file__)

if you code does run what location does print(cv2.__file__) say?

I dont have path like /Library/OpenCV/opencv-4.5.3/build/lib/python3 in my Search paths so i'm wondering if another version of opencv is there.

Initially I had an extra version of opencv installed under home\bschnurr\.local\lib\python3.8\site-packages by mistake.

bschnurr commented 3 years ago

Ok. I think if we create a partial stub for cv2 it will find the

create cv2 folder under bunlded/stubs /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/cv2-stubs

copy and rename /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/native-stubs/cv2/cv2.pyi to /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/cv2-stubs/__init__.pyi

create a new py.typed file with the word'partial' in it. /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/cv2-stubs/py.typed

ie. py.typed

partial

then reload the window

mosdeo commented 3 years ago

so I have opencv building now in linux

one slight difference is my opencv went to dist-packages yours /usr/local/lib/python3.9/site-packages/cv2/python-3.9 mine /usr/local/lib/python3.9/dist-packages/cv2/python-3.9

does you code actually run successfully?

Mine wouldn't when I had a plain venv as my selected interpreter and just added extra paths to to my built opencv. I did run if I select the /usr/bin/python3 interpreter, which has my built version of opencv

here was the code i was trying to run

import cv2
print(cv2.__file__)

if you code does run what location does print(cv2.__file__) say?

I dont have path like /Library/OpenCV/opencv-4.5.3/build/lib/python3 in my Search paths so i'm wondering if another version of opencv is there.

Initially I had an extra version of opencv installed under home\bschnurr\.local\lib\python3.8\site-packages by mistake.

Yes, actually run successfully. image

Put built OpenCV under /Library is selected by myself, I don't know which are batter paths in macOS? image

mosdeo commented 3 years ago

Ok. I think if we create a partial stub for cv2 it will find the

create cv2 folder under bunlded/stubs /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/cv2-stubs

copy and rename /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/native-stubs/cv2/cv2.pyi to /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/cv2/__init__.pyi

create a new py.typed file with the word'partial' in it. /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.7.7/dist/bundled/stubs/cv2/py.typed

ie. py.typed

partial

then reload the window

I ran following command

mkdir /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs
mv /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/native-stubs/cv2/cv2.pyi /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2/__init__.pyi
echo "partial" > /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2/py.typed

But I can't successfully, no folder /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2

(base) ➜  ~ ls /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/  
cv2-stubs          jmespath           pandas             sklearn-stubs      transformers-stubs
django             matplotlib         pythonwin-stubs    sqlalchemy         win32-stubs
gym-stubs          openpyxl           scipy-stubs        sympy-stubs        win32comext-stubs
(base) ➜  ~ 
bschnurr commented 3 years ago

sorry i had a typo in the stub folder name stubs/cv2-stubs not stubs/cv2/

i'll update my previous comment paths

bschnurr commented 3 years ago

the next release will include these partial stubs for opencv

mosdeo commented 3 years ago

sorry i had a typo in the stub folder name stubs/cv2-stubs not stubs/cv2/

i'll update my previous comment paths

But I have no file in /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/native-stubs/cv2/cv2.pyi, so can't successfully copy and rename. Same path folder /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/native-stubs/cv2 is empty.

bschnurr commented 3 years ago

I'm guessing you already move it some where else.

try uninstall and reinstall pylance

mosdeo commented 3 years ago

I'm guessing you already move it some where else.

try uninstall and reinstall pylance

I tried to ...

  1. Uninstall and reinstall Pylance v2021.8.1105858891
  2. Ran the following command
    mkdir /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs
    mv /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/native-stubs/cv2/cv2.pyi /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2/__init__.pyi
    echo "partial" > /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2/py.typed
  3. Confirm settings.json have following settings
    "python.analysis.extraPaths": [
            "/Library/OpenCV/opencv-4.5.3/build/lib/python3",
            "/usr/local/lib/python3.9/site-packages/cv2/python-3.9"
        ],
  4. Restart VSCode, restart Pylance language server. But autocomplete suggestions still not working at "cv.xxx", (OpenCV working fine the following screenshot, and working fine in VSCode) image

And Pylance working fine at Numpy. image

bschnurr commented 3 years ago

new folder is cv2-stubs

mkdir /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs
mv /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/native-stubs/cv2/cv2.pyi /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs/__init__.pyi
echo "partial" > /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs/py.typed
mosdeo commented 3 years ago

new folder is cv2-stubs

mkdir /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs
mv /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/native-stubs/cv2/cv2.pyi /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs/__init__.pyi
echo "partial" > /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs/py.typed

I executed the following step:

  1. Uninstall Pylance
  2. rm -rf /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1
  3. Install Pylance
  4. Run the following command successfully
    mkdir /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs
    mv /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/native-stubs/cv2/cv2.pyi /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs/__init__.pyi
    echo "partial" > /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/cv2-stubs/py.typed
  5. Autocomplete suggestions still not working at "cv.xxx", but working fine at Numpy and else.
  6. Confirm settings.json existed following settings
    "python.analysis.extraPaths": [
          "/Library/OpenCV/opencv-4.5.3/build/lib/python3",
          "/usr/local/lib/python3.9/site-packages/cv2/python-3.9"
      ],
  7. Restart Pylance language server
  8. Autocomplete suggestions still not working at "cv.xxx", but still working fine at Numpy and else.

Following is the Pylance language server output at Step 7.

[Info  - 10:50:48 AM] Pylance language server 2021.8.1 (pyright abd41b72) starting
[Info  - 10:50:48 AM] Server root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist
[Info  - 10:50:48 AM] No configuration file found.
[Info  - 10:50:48 AM] No pyproject.toml file found.
[Info  - 10:50:48 AM] Setting pythonPath for service "building_vector_cluster": "/Users/lky/miniforge3/bin/python"
[Warn  - 10:50:48 AM] stubPath /Users/lky/code_repos/building_vector_cluster/typings is not a valid directory.
[Info  - 10:50:48 AM] Assuming Python version 3.9
[Info  - 10:50:48 AM] Assuming Python platform Darwin
Search paths for /Users/lky/code_repos/building_vector_cluster
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib
  /Users/lky/code_repos/building_vector_cluster
  /Library/OpenCV/opencv-4.5.3/build/lib/python3
  /usr/local/lib/python3.9/site-packages/cv2/python-3.9
  /Users/lky/code_repos/building_vector_cluster/typings
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stubs/...
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs
  /Users/lky/miniforge3/lib/python3.9
  /Users/lky/miniforge3/lib/python3.9/lib-dynload
  /Users/lky/miniforge3/lib/python3.9/site-packages
[Info  - 10:50:48 AM] Searching for source files
[Info  - 10:50:48 AM] Found 8 source files
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (27ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (49ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi (16ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/common.py [fs read 1ms] (5ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/common.py (1ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (9ms)
[Info  - 10:50:48 AM] Background analysis(1) root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist
[Info  - 10:50:48 AM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: setImportResolver
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (28ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (45ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]     parsing: /Users/lky/code_repos/building_vector_cluster/common.py [fs read 1ms] (5ms)
[BG(1)]     binding: /Users/lky/code_repos/building_vector_cluster/common.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (9ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi [fs read 0ms] (10ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi (6ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/heapq.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/heapq.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi [fs read 1ms] (56ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi (21ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/sys.pyi [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/sys.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/__init__.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/hierarchy.py [fs read 1ms] (44ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/hierarchy.py (5ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_agglomerative.py [fs read 0ms] (18ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/cluster/_agglomerative.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/base.py [fs read 0ms] (10ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/base.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/datetime.pyi [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/datetime.pyi (3ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_generic_alias.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_generic_alias.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/functools.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/functools.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/linalg/__init__.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/linalg/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi (0ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/validation.pyi [fs read 0ms] (7ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/validation.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py [fs read 0ms] (7ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/__init__.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/__init__.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/api.pyi [fs read 0ms] (16ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/api.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/frame.pyi [fs read 1ms] (20ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/frame.pyi (8ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/generic.pyi [fs read 2ms] (5ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/generic.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/base.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/base.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/accessor.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/accessor.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/indexing.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/pandas/core/indexing.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/base.py [fs read 0ms] (5ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/base.py (3ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csr.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csr.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csc.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csc.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/lil.py [fs read 0ms] (4ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/lil.py (2ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dok.py [fs read 0ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dok.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/coo.py [fs read 1ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/coo.py (4ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dia.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/dia.py (3ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/bsr.py [fs read 0ms] (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/bsr.py (3ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/construct.py [fs read 0ms] (7ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/construct.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/extract.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/extract.py (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_matrix_io.py [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_matrix_io.py (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/__init__.py (52ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/compressed.py [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/compressed.py (6ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/data.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/data.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_index.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/_index.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/__init__.py [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/__init__.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/memory.py [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/memory.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/logger.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/logger.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/weakref.pyi [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/weakref.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/inspect.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/inspect.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/re.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/re.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/enum.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/enum.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/pydoc.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/pydoc.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/types.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/types.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/time.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/time.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/os/__init__.pyi [fs read 0ms] (5ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/os/__init__.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/func_inspect.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/func_inspect.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/collections/abc.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/collections/abc.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_collections_abc.pyi [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_collections_abc.pyi (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/collections/abc.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/warnings.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/warnings.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/os/path.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/os/path.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/posixpath.pyi [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/posixpath.pyi (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/os/path.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/pathlib.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/pathlib.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_store_backends.py [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_store_backends.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/collections/__init__.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/collections/__init__.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/__init__.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/__init__.py (0ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/_optimal_leaf_ordering.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/_optimal_leaf_ordering.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/distance.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/distance.pyi (1ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/_hierarchy.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/cluster/_hierarchy.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/__init__.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/__init__.py (0ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_traversal.pyi [fs read 0ms] (6ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_traversal.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/__init__.py [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/__init__.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/pairwise.py [fs read 0ms] (9ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/metrics/pairwise.py (4ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/kdtree.py [fs read 0ms] (2ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/kdtree.py (1ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/ckdtree.pyi [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/ckdtree.pyi (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/qhull.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/qhull.pyi (0ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/_plotutils.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/_plotutils.py (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/spatial/__init__.py (6ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/parallel.py [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/parallel.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/fixes.py [fs read 1ms] (5ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/utils/fixes.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/distutils/version.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/distutils/version.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/struct.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/struct.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/platform.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/platform.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_multiprocessing_helpers.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/_multiprocessing_helpers.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/threading.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/threading.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_nbit.py [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_nbit.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/sputils.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/sputils.py (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/operator.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/operator.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/_lib/_util.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/_lib/_util.py (3ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_scalars.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_scalars.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/__init__.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/sklearn/neighbors/__init__.py (0ms)
[BG(1)]   parsing: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_min_spanning_tree.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: [virtual] /Users/lky/miniforge3/lib/python3.9/site-packages/scipy/sparse/csgraph/_min_spanning_tree.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/hashing.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/hashing.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/pickle.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/pickle.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/pprint.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/pprint.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/logging/__init__.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/logging/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/tokenize.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/tokenize.pyi ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/token.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/token.pyi (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/tokenize.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/traceback.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/traceback.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle.py [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle_compat.py [fs read 1ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle_compat.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle_utils.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/numpy_pickle_utils.py (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/io.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/io.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/contextlib.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/contextlib.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/compressor.py [fs read 0ms] (4ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/joblib/compressor.py (3ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/zlib.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/zlib.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/hashlib.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/hashlib.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/array.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/array.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/mmap.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/mmap.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi (0ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (998ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/pyplot.pyi [fs read 0ms] (15ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/pyplot.pyi (3ms)
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (43ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (43ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629341449054 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (4ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (6ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629341449054 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (278ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (4ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (194ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (198ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629341454700 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (8ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:3 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (14ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi (7ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (4ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:3 [found 0 items] (45ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629341455408 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:4 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (4ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:4 [found 0 items] (13ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:5 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:5 [found 0 items] (6ms)
[BG(1)] getSemanticTokens delta previousResultId:1629341455408 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (169ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629341455778 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629341455778 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (154ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (28ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (28ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:6 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (14ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:6 [found 0 items] (22ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:7 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (11ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:7 [found 0 items] (17ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629341456086 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (4ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:8 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (5ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:8 [found 0 items] (8ms)
[BG(1)] getSemanticTokens delta previousResultId:1629341456086 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (162ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:9 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (12ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:12:9 [found 0 items] (19ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629341458760 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629341458760 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (131ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (20ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (20ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: markFilesDirty
Background analysis message: analyze
bschnurr commented 3 years ago

if you remove the python.analysis.extraPaths and change your python interpreter to /usr/bin/python3 does that work?

mosdeo commented 3 years ago

if you remove the python.analysis.extraPaths and change your python interpreter to /usr/bin/python3 does that work?

I do it and Restart Pylance language server, but still does not work. Following is the Pylance language server output.

[Info  - 2:20:11 PM] Pylance language server 2021.8.1 (pyright abd41b72) starting
[Info  - 2:20:11 PM] Server root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist
[Info  - 2:20:11 PM] No configuration file found.
[Info  - 2:20:11 PM] No pyproject.toml file found.
[Info  - 2:20:11 PM] Setting pythonPath for service "building_vector_cluster": "/usr/bin/python3"
[Warn  - 2:20:11 PM] stubPath /Users/lky/code_repos/building_vector_cluster/typings is not a valid directory.
[Info  - 2:20:11 PM] Assuming Python version 3.8
[Info  - 2:20:11 PM] Assuming Python platform Darwin
Search paths for /Users/lky/code_repos/building_vector_cluster
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib
  /Users/lky/code_repos/building_vector_cluster
  /Users/lky/code_repos/building_vector_cluster/typings
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stubs/...
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs
  /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8
  /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/lib-dynload
  /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages
[Info  - 2:20:11 PM] Searching for source files
[Info  - 2:20:11 PM] Found 8 source files
[FG] parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (22ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (51ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi (17ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/common.py [fs read 0ms] (5ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/common.py (1ms)
[FG] binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (8ms)
[Info  - 2:20:12 PM] Background analysis(1) root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist
[Info  - 2:20:12 PM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: setImportResolver
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (24ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (46ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]     parsing: /Users/lky/code_repos/building_vector_cluster/common.py [fs read 0ms] (5ms)
[BG(1)]     binding: /Users/lky/code_repos/building_vector_cluster/common.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (8ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (10ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi (5ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/heapq.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/heapq.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/sys.pyi [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/sys.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/__init__.pyi [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/__init__.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/datetime.pyi [fs read 0ms] (6ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/datetime.pyi (2ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/functools.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/functools.pyi (1ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (239ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/pyplot.pyi [fs read 0ms] (24ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/pyplot.pyi (5ms)
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (57ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (57ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:1 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (4ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/heapq.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/heapq.pyi (0ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/__init__.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs/matplotlib/__init__.pyi (0ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/functools.pyi [fs read 1ms] (4ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/functools.pyi (2ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:1 [found 71 items] (21ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (13ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing.pyi (11ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (3ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (1ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (0ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/datetime.pyi [fs read 0ms] (5ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib/datetime.pyi (2ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:2 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:2 [found 2 items] (4ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629354012100 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:3 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (3ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:3 [found 0 items] (9ms)
[BG(1)] getSemanticTokens delta previousResultId:1629354012100 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (78ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629354018046 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (6ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[BG(1)] getSemanticTokens delta previousResultId:1629354018046 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (91ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (44ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (44ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:4 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (11ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:4 [found 0 items] (21ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:5 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (8ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:5 [found 0 items] (17ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629354018409 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (16ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629354018409 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (110ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (42ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (42ms)
Background analysis message: resumeAnalysis
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:6 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (13ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:6 [found 0 items] (26ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:7 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (12ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:7 [found 0 items] (23ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629354021300 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (15ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629354021300 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (93ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (33ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (33ms)
Background analysis message: resumeAnalysis
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:7 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (7ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:7 [found 0 items] (17ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629354022290 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (6ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629354022290 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (51ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:8 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (6ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (1ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:8 [found 0 items] (11ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629354023313 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (12ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (5ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:9 ...
[FG]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (7ms)
[FG]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (4ms)
[FG] completion at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py:29:9 [found 0 items] (18ms)
[BG(1)] getSemanticTokens delta previousResultId:1629354023313 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (92ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629354023748 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   parsing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (14ms)
[BG(1)]   binding: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (2ms)
[BG(1)] getSemanticTokens delta previousResultId:1629354023748 at /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (75ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py ...
[BG(1)]   checking: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (18ms)
[BG(1)] analyzing: /Users/lky/code_repos/building_vector_cluster/agglomerative_hierarchical_clustering.py (18ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
jakebailey commented 3 years ago

The next release includes the stub changes, so I think we can see what happens then, as we think it will be fixed.

heejaechang commented 3 years ago

it should be fixed in 2021.8.2 released today (2021.8.19)

bschnurr commented 3 years ago

do you have a cv2 folder like this? home\lky\.local\lib\python3.9\site-packages\cv2

or this usr\local\lib\python3.9\dist-packages\cv2\python-3.9

mosdeo commented 3 years ago

usr\local\lib\python3.9\dist-packages\cv2\python-3.9

(base) ➜  ~ ls /usr/local/lib/python3.9/site-packages/cv2/python-3.9
cv2.cpython-39-darwin.so
jakebailey commented 3 years ago

Have you tried this with the latest version Pylance (2021.8.2)? This issue should be fixed, and import cv2; cv2. should operate as expected.

mosdeo commented 3 years ago

Have you tried this with the latest version Pylance (2021.8.2)? This issue should be fixed, and import cv2; cv2. should operate as expected.

Actually, still not working for my OpenCV built from source after update to v2021.8.2. I try to find the cause from the previous discussion.

bschnurr commented 3 years ago

hmm. your log with 'usr/bin/python3' interpreter shows python3.8 but your opencv build is for python3.9

bschnurr commented 3 years ago

when choosing an interpreter what are your choices? do you see alternative python3.9 ones? can you try making a virtual environment of your python3.9?

bschnurr commented 3 years ago

also forgot.. Are you seeing the import statement of cv2 succeed?

what happens when you right click and go to definition on "import cv2" what happens when you right click and go to declaration on "import cv2"

thank you

mosdeo commented 3 years ago

when choosing an interpreter what are your choices? do you see alternative python3.9 ones? can you try making a virtual environment of your python3.9?

I switch to 'usr/bin/python3'(python3.8) just a moment, my work under「Python 3.9.6 | packaged by conda-forge」, so must in virtual environment.

jakebailey commented 3 years ago

The reason we're asking is that your most recent logs:

  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stdlib
  /Users/lky/code_repos/building_vector_cluster
  /Users/lky/code_repos/building_vector_cluster/typings
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/typeshed-fallback/stubs/...
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.1/dist/bundled/stubs
  /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8
  /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/lib-dynload
  /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages

do not list that OpenCV folder as a search path, so things probably aren't resolving. You had previous logs where OpenCV paths were in our logs, and that's what would need to be tested.

mosdeo commented 3 years ago

also forgot.. Are you seeing the import statement of cv2 succeed?

what happens when you right click and go to definition on "import cv2" what happens when you right click and go to declaration on "import cv2"

thank you

Shown「No definition found for 'cv2'」 Shown「No declaration found for 'cv2'」

Following is the Pylance language server output after restart, shown OpenCV path /Library/OpenCV/opencv-4.5.3/build/lib/python3 /usr/local/lib/python3.9/site-packages/cv2/python-3.9 under search paths.

[Info  - 10:19:28 AM] Pylance language server 2021.8.2 (pyright f462f5bb) starting
[Info  - 10:19:28 AM] Server root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist
[Info  - 10:19:28 AM] No configuration file found.
[Info  - 10:19:28 AM] No pyproject.toml file found.
[Info  - 10:19:28 AM] Setting pythonPath for service "detect_by_text": "/Users/lky/miniforge3/bin/python"
[Warn  - 10:19:28 AM] stubPath /Users/lky/code_repos/detect_by_text/typings is not a valid directory.
[Info  - 10:19:28 AM] Assuming Python version 3.9
[Info  - 10:19:28 AM] Assuming Python platform Darwin
Search paths for /Users/lky/code_repos/detect_by_text
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib
  /Users/lky/code_repos/detect_by_text
  /Library/OpenCV/opencv-4.5.3/build/lib/python3
  /usr/local/lib/python3.9/site-packages/cv2/python-3.9
  /Users/lky/code_repos/detect_by_text/typings
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stubs/...
  /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/bundled/stubs
  /Users/lky/miniforge3/lib/python3.9
  /Users/lky/miniforge3/lib/python3.9/lib-dynload
  /Users/lky/miniforge3/lib/python3.9/site-packages
[Info  - 10:19:28 AM] Searching for source files
[Info  - 10:19:28 AM] Found 2 source files
[FG] parsing: /Users/lky/code_repos/detect_by_text/train.py (23ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (49ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[FG] binding: /Users/lky/code_repos/detect_by_text/train.py ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/model.py (4ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/model.py (1ms)
[FG] binding: /Users/lky/code_repos/detect_by_text/train.py (6ms)
[Info  - 10:19:28 AM] Background analysis(1) root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist
[Info  - 10:19:28 AM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: setImportResolver
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: setFileOpened
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (16ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (46ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]     parsing: /Users/lky/code_repos/detect_by_text/model.py (3ms)
[BG(1)]     binding: /Users/lky/code_repos/detect_by_text/model.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (4ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (13ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/typing.pyi (5ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 1ms] (4ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi [fs read 1ms] (64ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi (16ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/os/__init__.pyi [fs read 0ms] (9ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/os/__init__.pyi (4ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/io.pyi [fs read 1ms] (3ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/io.pyi (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/__init__.py [fs read 0ms] (1ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/__init__.py ...
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/__init__.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/__init__.py ...
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/compression_based.py [fs read 0ms] (4ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/compression_based.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/edit_based.py [fs read 0ms] (11ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/edit_based.py (3ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/phonetic.py [fs read 0ms] (2ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/phonetic.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/sequence_based.py [fs read 1ms] (2ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/sequence_based.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/simple.py [fs read 0ms] (1ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/simple.py (1ms)
[BG(1)]       parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/token_based.py [fs read 0ms] (3ms)
[BG(1)]       binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/token_based.py (3ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/__init__.py (34ms)
[BG(1)]     parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/utils.py [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/utils.py (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/__init__.py (36ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/detect_by_text/train.py (298ms)
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/detect_by_text/model.py ...
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/base.py [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/textdistance/algorithms/base.py (0ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/detect_by_text/model.py (10ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/model.py ...
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/model.py (3ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/model.py (3ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (3ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (3ms)
Background analysis message: resumeAnalysis
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:1 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:1 [found 61 items] (5ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:2 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:2 [found 1 items] (3ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:3 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (21ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/typing.pyi (6ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (4ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (2ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:3 [found 0 items] (49ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771568764 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771568764 at /Users/lky/code_repos/detect_by_text/train.py (31ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (12ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (12ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:4 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:4 [found 0 items] (11ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (66ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (69ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771571995 at /Users/lky/code_repos/detect_by_text/train.py (2ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771573181 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771573181 at /Users/lky/code_repos/detect_by_text/train.py (57ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG] binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (14ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (14ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:3 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (3ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:3 [found 0 items] (6ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:4 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:4 [found 0 items] (5ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771574473 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771574473 at /Users/lky/code_repos/detect_by_text/train.py (49ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (8ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (8ms)
Background analysis message: resumeAnalysis
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771575774 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771575774 at /Users/lky/code_repos/detect_by_text/train.py (53ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG] binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:3 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (4ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:3 [found 0 items] (15ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:4 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:4 [found 0 items] (9ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771576785 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771576785 at /Users/lky/code_repos/detect_by_text/train.py (40ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:5 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:5 [found 0 items] (6ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771577505 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (6ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771577505 at /Users/lky/code_repos/detect_by_text/train.py (65ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (5ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (5ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771577914 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (6ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771577914 at /Users/lky/code_repos/detect_by_text/train.py (59ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771579615 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (5ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771579615 at /Users/lky/code_repos/detect_by_text/train.py (52ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG] binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (4ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (47ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (52ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771579992 at /Users/lky/code_repos/detect_by_text/train.py (2ms)
Background analysis message: resumeAnalysis
[FG] parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG] binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:1 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:1 [found 88 items] (4ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (6ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (47ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (53ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:2 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (2ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:2 [found 15 items] (4ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771580677 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi [fs read 1ms] (85ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi (21ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py [fs read 1ms] (12ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py ...
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.pyi [fs read 0ms] (3ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.pyi [fs read 1ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.pyi (0ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py (6ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771580677 at /Users/lky/code_repos/detect_by_text/train.py (30ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:3 ...
[FG]   parsing: /Users/lky/code_repos/detect_by_text/train.py (3ms)
[FG]   binding: /Users/lky/code_repos/detect_by_text/train.py (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_extended_precision.py [fs read 1ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_extended_precision.py (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.pyi [fs read 1ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi [fs read 1ms] (10ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi (2ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_type_aliases.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_type_aliases.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/arrayprint.pyi [fs read 1ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/arrayprint.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.pyi [fs read 1ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.pyi (2ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi [fs read 1ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.pyi [fs read 0ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi [fs read 1ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arrayterator.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arrayterator.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi [fs read 0ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py [fs read 1ms] (18ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py ...
[FG]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/bundled/native-stubs/numpy/core/_multiarray_umath.pyi [fs read 2ms] (35ms)
[FG]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.2/dist/bundled/native-stubs/numpy/core/_multiarray_umath.pyi (9ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py (46ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.pyi [fs read 1ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.pyi (0ms)
[FG] completion at /Users/lky/code_repos/detect_by_text/train.py:4:3 [found 583 items] (133ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py [fs read 0ms] (2ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py (0ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi [fs read 1ms] (4ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi (1ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771581108 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (3ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771581108 at /Users/lky/code_repos/detect_by_text/train.py (27ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (5ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (5ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[FG] binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629771581936 at /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   parsing: /Users/lky/code_repos/detect_by_text/train.py (5ms)
[BG(1)]   binding: /Users/lky/code_repos/detect_by_text/train.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py [fs read 1ms] (21ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi [fs read 0ms] (17ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi (2ms)
[BG(1)] getSemanticTokens delta previousResultId:1629771581936 at /Users/lky/code_repos/detect_by_text/train.py (74ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py ...
[BG(1)]   checking: /Users/lky/code_repos/detect_by_text/train.py (6ms)
[BG(1)] analyzing: /Users/lky/code_repos/detect_by_text/train.py (6ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
jakebailey commented 3 years ago

Okay, /usr/local/lib/python3.9/site-packages/cv2/python-3.9 is there now, and if it still contains cv2.cpython-39-darwin.so per https://github.com/microsoft/pylance-release/issues/1609#issuecomment-902365058 then there's something weird going on here. It's a search path, but not coming up at all.

Can you make a pyrightconfig.json in your workspace root containing:

{
    "verboseOutput": true
}

Then, only open a file that is just import cv2, and provide the logs? They will be large, but should contain information about how we are failing to resolve the import.

mosdeo commented 3 years ago
{
    "verboseOutput": true
}

Create a new workspace.

image

And restart the Pylance language server, in the workspace, try typing "cv2.xxx", but still does not work, and works fine with NumPy.

[Info  - 1:56:28 PM] Pylance language server 2021.8.3 (pyright fa4194fd) starting
[Info  - 1:56:28 PM] Server root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist
[Info  - 1:56:28 PM] Setting pythonPath for service "test_pylance": "/Users/lky/miniforge3/bin/python"
[Info  - 1:56:28 PM] Loading configuration file at /Users/lky/code_repos/test_pylance/pyrightconfig.json
[Info  - 1:56:28 PM] Assuming Python version 3.9
[Info  - 1:56:28 PM] Assuming Python platform Darwin
[Info  - 1:56:28 PM] No include entries specified; assuming /Users/lky/code_repos/test_pylance
[Info  - 1:56:28 PM] Auto-excluding **/node_modules
[Info  - 1:56:28 PM] Auto-excluding **/__pycache__
[Info  - 1:56:28 PM] Auto-excluding .git
[Warn  - 1:56:28 PM] stubPath /Users/lky/code_repos/test_pylance/typings is not a valid directory.
[Info  - 1:56:28 PM] Search paths for /Users/lky/code_repos/test_pylance
[Info  - 1:56:28 PM]   /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib
[Info  - 1:56:28 PM]   /Users/lky/code_repos/test_pylance
[Info  - 1:56:28 PM]   /Library/OpenCV/opencv-4.5.3/build/lib/python3
[Info  - 1:56:28 PM]   /Users/lky/code_repos/test_pylance/typings
[Info  - 1:56:28 PM]   /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stubs/...
[Info  - 1:56:28 PM]   /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs
[Info  - 1:56:28 PM]   /Users/lky/miniforge3/lib/python3.9
[Info  - 1:56:28 PM]   /Users/lky/miniforge3/lib/python3.9/lib-dynload
[Info  - 1:56:28 PM]   /Users/lky/miniforge3/lib/python3.9/site-packages
[Info  - 1:56:28 PM] Adding fs watcher for library directories:
 /Users/lky/miniforge3/lib/python3.9
/Users/lky/miniforge3/lib/python3.9/lib-dynload
/Users/lky/miniforge3/lib/python3.9/site-packages
[Info  - 1:56:28 PM] Adding fs watcher for directories:
 /Users/lky/code_repos/test_pylance
[Info  - 1:56:28 PM] Searching for source files
[Info  - 1:56:28 PM] Found 1 source file
[FG] parsing: /Users/lky/code_repos/test_pylance/main.py (13ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (49ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/builtins.pyi (18ms)
[FG] binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[Info  - 1:56:28 PM] Background analysis(1) root directory: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist
[Info  - 1:56:28 PM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: setImportResolver
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (9ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (48ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/builtins.pyi (19ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens full at /Users/lky/code_repos/test_pylance/main.py (77ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/typing.pyi [fs read 2ms] (21ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/typing.pyi (6ms)
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (4ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (46ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (46ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:1 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:1 [found 56 items] (7ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957388438 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957388438 at /Users/lky/code_repos/test_pylance/main.py (6ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:2 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:2 [found 1 items] (1ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:3 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:3 [found 1 items] (3ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957394119 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957394119 at /Users/lky/code_repos/test_pylance/main.py (1ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (15ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (15ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:4 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (1ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/typing.pyi [fs read 0ms] (38ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/typing.pyi (10ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (4ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[FG]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (2ms)
[FG]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/typing_extensions.pyi (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:4 [found 0 items] (75ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957394455 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957394455 at /Users/lky/code_repos/test_pylance/main.py (2ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (13ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (13ms)
Background analysis message: resumeAnalysis
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:5 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:5 [found 0 items] (10ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:6 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:6 [found 0 items] (9ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957395189 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957395189 at /Users/lky/code_repos/test_pylance/main.py (14ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (0ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (11ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (13ms)
Background analysis message: resumeAnalysis
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957395959 at /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[FG] binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:1 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:1 [found 101 items] (4ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:2 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:2 [found 14 items] (2ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957398735 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957398735 at /Users/lky/code_repos/test_pylance/main.py (14ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:3 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:3 [found 6 items] (2ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957399204 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957399204 at /Users/lky/code_repos/test_pylance/main.py (8ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (4ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (5ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957399579 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957399579 at /Users/lky/code_repos/test_pylance/main.py (1ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (15ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (15ms)
Background analysis message: resumeAnalysis
[FG] parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] binding: /Users/lky/code_repos/test_pylance/main.py (1ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:8 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (3ms)
[Info  - 1:56:40 PM] Could not import 'n' in file '/Users/lky/code_repos/test_pylance/main.py'
[Info  - 1:56:40 PM]   Looking for typeshed stdlib path
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib'
[Info  - 1:56:40 PM]   Typeshed path not found
[Info  - 1:56:40 PM]   Looking in stubPath '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Looking in root directory of execution environment '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Looking in extraPath '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Looking in bundled stubs path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Looking for typeshed path
[Info  - 1:56:40 PM]   Looking for typeshed stubs path
[Info  - 1:56:40 PM]   Typeshed path not found
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:8 [found 81 items] (6ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:9 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (3ms)
[Info  - 1:56:40 PM] Could not import 'nu' in file '/Users/lky/code_repos/test_pylance/main.py'
[Info  - 1:56:40 PM]   Looking for typeshed stdlib path
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib'
[Info  - 1:56:40 PM]   Typeshed path not found
[Info  - 1:56:40 PM]   Looking in stubPath '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Looking in root directory of execution environment '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Looking in extraPath '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Looking in bundled stubs path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Looking for typeshed path
[Info  - 1:56:40 PM]   Looking for typeshed stubs path
[Info  - 1:56:40 PM]   Typeshed path not found
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:9 [found 8 items] (6ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957400076 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (3ms)
[Info  - 1:56:40 PM] Could not import 'nu' in file '/Users/lky/code_repos/test_pylance/main.py'
[Info  - 1:56:40 PM]   Looking for typeshed stdlib path
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib'
[Info  - 1:56:40 PM]   Typeshed path not found
[Info  - 1:56:40 PM]   Looking in stubPath '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Looking in root directory of execution environment '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Looking in extraPath '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Looking in bundled stubs path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Looking for typeshed path
[Info  - 1:56:40 PM]   Looking for typeshed stubs path
[Info  - 1:56:40 PM]   Typeshed path not found
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957400076 at /Users/lky/code_repos/test_pylance/main.py (4ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:10 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (3ms)
[Info  - 1:56:40 PM] Could not import 'num' in file '/Users/lky/code_repos/test_pylance/main.py'
[Info  - 1:56:40 PM]   Looking for typeshed stdlib path
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib'
[Info  - 1:56:40 PM]   Typeshed path not found
[Info  - 1:56:40 PM]   Looking in stubPath '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:40 PM]   Looking in root directory of execution environment '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:40 PM]   Looking in extraPath '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:40 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:40 PM]   Looking in bundled stubs path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Attempting to resolve stub package using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:40 PM]   Looking for typeshed path
[Info  - 1:56:40 PM]   Looking for typeshed stubs path
[Info  - 1:56:40 PM]   Typeshed path not found
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:10 [found 4 items] (6ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957400723 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (3ms)
[Info  - 1:56:41 PM] Could not import 'num' in file '/Users/lky/code_repos/test_pylance/main.py'
[Info  - 1:56:41 PM]   Looking for typeshed stdlib path
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib'
[Info  - 1:56:41 PM]   Typeshed path not found
[Info  - 1:56:41 PM]   Looking in stubPath '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:41 PM]   Looking in root directory of execution environment '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:41 PM]   Looking in extraPath '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:41 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:41 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:41 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:41 PM]   Looking in bundled stubs path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:41 PM]   Looking for typeshed path
[Info  - 1:56:41 PM]   Looking for typeshed stubs path
[Info  - 1:56:41 PM]   Typeshed path not found
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957400723 at /Users/lky/code_repos/test_pylance/main.py (4ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/test_pylance/main.py (5ms)
[Info  - 1:56:41 PM] Could not import 'nump' in file '/Users/lky/code_repos/test_pylance/main.py'
[Info  - 1:56:41 PM]   Looking for typeshed stdlib path
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib'
[Info  - 1:56:41 PM]   Typeshed path not found
[Info  - 1:56:41 PM]   Looking in stubPath '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:41 PM]   Looking in root directory of execution environment '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:41 PM]   Looking in extraPath '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:41 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:41 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:41 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:41 PM]   Looking in bundled stubs path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:41 PM]   Looking for typeshed path
[Info  - 1:56:41 PM]   Looking for typeshed stubs path
[Info  - 1:56:41 PM]   Typeshed path not found
[FG] binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957401095 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (3ms)
[Info  - 1:56:41 PM] Could not import 'nump' in file '/Users/lky/code_repos/test_pylance/main.py'
[Info  - 1:56:41 PM]   Looking for typeshed stdlib path
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib'
[Info  - 1:56:41 PM]   Typeshed path not found
[Info  - 1:56:41 PM]   Looking in stubPath '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance/typings'
[Info  - 1:56:41 PM]   Looking in root directory of execution environment '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/code_repos/test_pylance'
[Info  - 1:56:41 PM]   Looking in extraPath '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Library/OpenCV/opencv-4.5.3/build/lib/python3'
[Info  - 1:56:41 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9'
[Info  - 1:56:41 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/lib-dynload'
[Info  - 1:56:41 PM]   Looking in python search path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/miniforge3/lib/python3.9/site-packages'
[Info  - 1:56:41 PM]   Looking in bundled stubs path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:41 PM]   Attempting to resolve stub package using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:41 PM]   Attempting to resolve using root path '/Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/stubs'
[Info  - 1:56:41 PM]   Looking for typeshed path
[Info  - 1:56:41 PM]   Looking for typeshed stubs path
[Info  - 1:56:41 PM]   Typeshed path not found
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957401095 at /Users/lky/code_repos/test_pylance/main.py (4ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/lky/code_repos/test_pylance/main.py (7ms)
[FG] binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957401510 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (9ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi [fs read 2ms] (109ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi (25ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957401510 at /Users/lky/code_repos/test_pylance/main.py (152ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:14 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:14 [found 88 items] (2ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:15 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:15 [found null items] (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957401856 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (5ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957401856 at /Users/lky/code_repos/test_pylance/main.py (10ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (10ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (11ms)
Background analysis message: resumeAnalysis
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957402258 at /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[FG] binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:17 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:17 [found null items] (1ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:18 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:1:18 [found null items] (1ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957402758 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957402758 at /Users/lky/code_repos/test_pylance/main.py (9ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (1ms)
Background analysis message: resumeAnalysis
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (8ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (9ms)
Background analysis message: resumeAnalysis
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957403214 at /Users/lky/code_repos/test_pylance/main.py (0ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:1 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:1 [found 83 items] (2ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:2 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:2 [found 14 items] (4ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi [fs read 1ms] (101ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.pyi (23ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py [fs read 1ms] (13ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py ...
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.pyi [fs read 1ms] (4ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.pyi (0ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/__init__.py (7ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957404199 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957404199 at /Users/lky/code_repos/test_pylance/main.py (3ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:3 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_extended_precision.py [fs read 1ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_extended_precision.py (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi [fs read 0ms] (7ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.pyi (2ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi [fs read 1ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_asarray.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_type_aliases.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_type_aliases.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.pyi [fs read 1ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/_ufunc_config.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/arrayprint.pyi [fs read 0ms] (3ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/arrayprint.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi [fs read 0ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.pyi (2ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.pyi [fs read 0ms] (3ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numerictypes.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.pyi [fs read 1ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.pyi [fs read 1ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arrayterator.pyi [fs read 0ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arrayterator.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi [fs read 0ms] (2ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py [fs read 0ms] (13ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py ...
[FG]     parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/native-stubs/numpy/core/_multiarray_umath.pyi [fs read 1ms] (43ms)
[FG]     binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/bundled/native-stubs/numpy/core/_multiarray_umath.pyi (10ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/multiarray.py (56ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.pyi [fs read 1ms] (3ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.pyi (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.pyi [fs read 1ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.pyi (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:3 [found 583 items] (132ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py [fs read 1ms] (2ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py (1ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi [fs read 0ms] (4ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_ufunc.pyi (1ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:4 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:4 [found 279 items] (7ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957404603 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957404603 at /Users/lky/code_repos/test_pylance/main.py (6ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (0ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:5 ...
[FG]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] completion at /Users/lky/code_repos/test_pylance/main.py:2:5 [found 92 items] (14ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.py [fs read 2ms] (21ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.py ...
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/records.py [fs read 0ms] (9ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/records.py (3ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/memmap.py [fs read 1ms] (4ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/memmap.py (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/machar.py [fs read 0ms] (5ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/machar.py (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/getlimits.py [fs read 1ms] (7ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/getlimits.py (2ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/__init__.py (33ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.py [fs read 0ms] (12ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.py ...
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/umath.py [fs read 0ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/umath.py (0ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/numeric.py (5ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.py [fs read 1ms] (11ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/fromnumeric.py (3ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.py [fs read 1ms] (4ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/function_base.py (0ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.py [fs read 1ms] (5ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/shape_base.py (2ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.py [fs read 1ms] (10ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/core/einsumfunc.py (4ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.py [fs read 1ms] (2ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.py ...
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/histograms.pyi [fs read 1ms] (1ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/histograms.pyi (0ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/financial.py [fs read 0ms] (3ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/financial.py (1ms)
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/_version.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/_version.pyi (0ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/__init__.py (8ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.py [fs read 0ms] (2ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/type_check.py (2ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.py [fs read 0ms] (4ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/index_tricks.py (4ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.py [fs read 1ms] (19ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/function_base.py (8ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.py [fs read 1ms] (6ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/nanfunctions.py (2ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.py [fs read 1ms] (8ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/shape_base.py (1ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.py [fs read 0ms] (1ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/stride_tricks.py (1ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.py [fs read 0ms] (4ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/twodim_base.py (1ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.py [fs read 0ms] (1ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/ufunclike.py (1ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/histograms.py [fs read 0ms] (4ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/histograms.py (4ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.py [fs read 0ms] (9ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/polynomial.py (3ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.py [fs read 0ms] (6ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/utils.py (3ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.py [fs read 1ms] (2ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraysetops.py (3ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.py [fs read 1ms] (14ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/npyio.py (7ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.py [fs read 1ms] (3ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/arraypad.py (2ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/_version.py [fs read 0ms] (1ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/lib/_version.py (0ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.py [fs read 0ms] (0ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.py ...
[FG]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/defmatrix.py [fs read 1ms] (6ms)
[FG]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/defmatrix.py (1ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/matrixlib/__init__.py (7ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py [fs read 0ms] (1ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py (0ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py [fs read 0ms] (0ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py (0ms)
[FG] parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/abc.pyi [fs read 1ms] (1ms)
[FG] binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
[FG] parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py [fs read 0ms] (1ms)
[FG] binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py (0ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (2ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (2ms)
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: resumeAnalysis
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957405031 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957405031 at /Users/lky/code_repos/test_pylance/main.py (3ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (1ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
[FG] parsing: /Users/lky/code_repos/test_pylance/main.py (0ms)
[FG] binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1629957405565 at /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   parsing: /Users/lky/code_repos/test_pylance/main.py (1ms)
[BG(1)]   binding: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py [fs read 0ms] (16ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/__init__.py (2ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py [fs read 0ms] (3ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_dtype_like.py (1ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py [fs read 0ms] (0ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_shape.py (0ms)
[BG(1)]   parsing: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/abc.pyi [fs read 1ms] (1ms)
[BG(1)]   binding: /Users/lky/.vscode/extensions/ms-python.vscode-pylance-2021.8.3/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
[BG(1)]   parsing: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py [fs read 0ms] (2ms)
[BG(1)]   binding: /Users/lky/miniforge3/lib/python3.9/site-packages/numpy/typing/_array_like.py (1ms)
[BG(1)] getSemanticTokens delta previousResultId:1629957405565 at /Users/lky/code_repos/test_pylance/main.py (56ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py ...
[BG(1)]   checking: /Users/lky/code_repos/test_pylance/main.py (0ms)
[BG(1)] analyzing: /Users/lky/code_repos/test_pylance/main.py (1ms)
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[Info  - 1:56:48 PM] SourceFile: Received fs event 'change' for path '/Users/lky/code_repos/test_pylance/main.py'
Background analysis message: markFilesDirty
Background analysis message: analyze
bschnurr commented 3 years ago

It appears you are using a conda environment.. I'm guess your built opencv is in a different python3.9 environment. can you try selecting a global python3.9 environment?

jakebailey commented 3 years ago

Does the trace above include you trying to do cv2. to check for a completion?

The screenshot doesn't show that cv2 is unresolved, only unused. We won't actually do any work to analyze an imported library until you try and use it, and just having it in the file doesn't count as using it.

Can you try showing in the trace what happens if you do a completion or a hover with cv2?

mosdeo commented 3 years ago

It appears you are using a conda environment.. I'm guess your built opencv is in a different python3.9 environment. can you try selecting a global python3.9 environment?

This is the record I wrote, install python 3.9 and build OpenCV for Apple Silicon. https://zhuanlan.zhihu.com/p/394141304

I have been used conda-forge/miniforge Python 3.9 since I buy it the computer, and ONLY created a virtual environment named "base", no global Python 3.9 on my computer.

(base) ➜  ~ conda env list
# conda environments:
#
base                  *  /Users/lky/miniforge3

image

mosdeo commented 3 years ago

Does the trace above include you trying to do cv2. to check for a completion?

The screenshot doesn't show that cv2 is unresolved, only unused. We won't actually do any work to analyze an imported library until you try and use it, and just having it in the file doesn't count as using it.

Can you try showing in the trace what happens if you do a completion or a hover with cv2?

image

erictraut commented 3 years ago

@jakebailey, @heejaechang - I think this is a (recent?) regression. Pylance isn't properly resolving any bundled stubs that are in directories that end in -stubs. There appears to be a bad interaction between the import resolver and the virtual file system. When the import resolver enumerates the directories within the bundled/stubs directory, the readdirEntriesSync method in pyrightFileSystem.ts is filtering out all of the directories that end in -stubs.

jakebailey commented 3 years ago

The code that is ignoring those stubs folders has been around for about 5 months, it seems; I'm not sure what would have changed to ignore those.

Does this happen in pyright too, or is this just a Pylance thing and something we've done recently broke it?

erictraut commented 3 years ago

Pyright doesn't know anything about the bundled directory (since that's specific to pylance), and it doesn't implement the resolveImportEx method. The bug is in that code path.