forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Support egg/zip files for IntelliSense #2532
Copy link
Copy link
Closed
Labels
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Metadata
Metadata
Assignees
Labels
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Environment data
conda install pytorch torchvision -c pytorch)Expected behavior
Expect autocompletion in a buffer after
Actual behavior
Only generic suggestions with the 'abc' icon are listed.
It seems intellisense isn't finding the torchvision package. It looks like torchvision configures itself via a
.pthfile:which results in the following
sys.pathfrom a Python session (note the special entry for 'torchvision-0.2.1-py3.6.egg'Perhaps VSCode isn't accounting for the
pthfile modifyingsys.pathwhen it searches for torchvision?