Skip to content

No module named pytest #21504

@lramos15

Description

@lramos15

Testing #21495

I created a venv with Python 3.8.13 and followed the instructions.

I receive the following error

2023-06-27 08:01:53.504 [error] pytest test discovery error
 n [Error]: /Users/lramos15/test/endgame/inc_dec_example_repo/.venv/bin/python: No module named pytest

    at ChildProcess.<anonymous> (/Users/lramos15/.vscode-insiders/extensions/ms-python.python-2023.11.11781018/out/client/extension.js:2:241817)
    at Object.onceWrapper (node:events:628:26)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1121:16)
    at Socket.<anonymous> (node:internal/child_process:479:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:757:14)

If this is a required thing to have should we better prompt the user to install it?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions