ThomasHickman / python-docs-opener

VS code extension to open documentation for the current symbol under the cursor in the default web browser
MIT License
0 stars 0 forks source link

looks useful but virtualenv won't run after installing it #2

Open tobidelbruck opened 1 month ago

tobidelbruck commented 1 month ago

Virtualenv installed Screenshot from 2024-10-17 11-10-19

Still get this Screenshot from 2024-10-17 11-09-43

I don't have time to look further now, thanks anyhow for this extension, would be useful

ShaiAvr commented 1 month ago

I have a similar issue. The extension can't find python at all:

Screenshot 2024-10-19 101327 I certainly have python on my path, and every other python functionality in VSCode works fine.

ThomasHickman commented 2 weeks ago

@tobidelbruck Thanks for the report! I've pushed 1.1.2 which may fix the problem you're having (this constructs virtual environments using virtualenv as well as python -m virtualenv )

ThomasHickman commented 2 weeks ago

@ShaiAvr Thanks also for your report! I can't see how this would be generated if python3 is on the path - this error should only get emitted if python3 -c 'import sys; assert sys.version_info[0] == 3' results in a non-zero exit code. I've pushed 1.1.3 of the extension though, which should give the stderr message of python3 -c 'import sys; assert sys.version_info[0] == 3' in the error message for better debugging.