You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extension version (available under the Extensions sidebar): Python v2021.5.842923320
OS and version: OS X 11.3.1
Python version (& distribution if applicable, e.g. Anaconda): 3.6.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): poetry created
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: none
Value of the python.languageServer setting: Default
Expected behaviour
I've set my default terminal to zsh. When opening a Terminal, it should source the activate script, but instead sources activate.csh. Not sure how to fix this.
Actual behaviour
source /home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh
▶ source /home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:11: command not found: deactivate
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:13: command not found: setenv
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:16: command not found: setenv
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:32: parse error near `else'
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Create a virtual env in a poetry project, v1.1.6. It should create files such as activate, activate.csh, activate.fish, activate.xsh, etc.
Set workspace's Python to that virtualenv's bin/python3 file.
Set terminal's default shell to zsh, (or others).
Start a new shell.
The text was updated successfully, but these errors were encountered:
Environment data
python.languageServer
setting: DefaultExpected behaviour
I've set my default terminal to zsh. When opening a Terminal, it should source the
activate
script, but instead sources activate.csh. Not sure how to fix this.Actual behaviour
source /home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh
▶ source /home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:11: command not found: deactivate
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:13: command not found: setenv
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:16: command not found: setenv
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:32: parse error near `else'
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
The text was updated successfully, but these errors were encountered: