Skip to content

[Bug Report] Pylance report many errors in vscode, but the code can run properly. #1242

@zst1406217

Description

@zst1406217

Describe the bug

Pylance reports many errors in vscode, but the code can run properly. I have done "setup_python_env" to configure vscode, but there is still the problem:
bug
When I open settings.json in .vscode folder, I find it says: "'python.analysis.extraPaths' cannot be set when a pyrightconfig.json or pyproject.toml is being used." Is this the reason and how can I deal with it?

Steps to reproduce

Install following the instruction

System Info

Describe the characteristic of your environment:

  • Commit: [e.g. 8f3b9ca]
  • Isaac Sim Version: 4.2.0
  • OS: Ubuntu 22.04
  • GPU: RTX 4090D
  • CUDA: 12.6
  • GPU Driver: 560.35.03

Additional context

None

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.

  • The way to resolve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions