question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VScode portable cant show pipenv's interpreter

See original GitHub issue

Environment data

  • VS Code version: 1.29.1(installed & portable mode(have data and tmp dir))
  • Extension version (available under the Extensions sidebar): 2018.11.0
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.6.7 (64-bit)
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): pipenv

Actual behavior

a goog *.py with installed vs code ,when open with portable, only one default python interpreter could select. set "python.pythonPath": "c:\\user\\rocxer\\.virtualenvs\\pyex-efMjBuXi\\scripts\\python.exe" and nothing changed.

Expected behavior

when python: select interpreter ,show “python 3.6.7 (default)” and “python (pipenv)” as installed one.

Steps to reproduce:

open a .py with portable VScode

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
justin-xjpcommented, Dec 11, 2018

python is here : 'C:\Users\rocxer\AppData\Local\Programs\Python\Python36'

C:\Users\rocxer\AppData\Local\Programs\Python\Python36\ and C:\Users\rocxer\AppData\Local\Programs\Python\Python36\Scripts\ in Pah

PS C:\Users\rocxer> python
Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 13:35:33) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
0reactions
DonJayamannecommented, Dec 13, 2018

Dup of #3460

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - How do I change pipenv/virtualenv location to work ...
1 Answer 1 · Click " select Python Interpreter " in the lower left corner to select the " . · VSCode has...
Read more >
Selecting a pipenv environment not working? #1639 - GitHub
I'm just wondering if there is a way to configure VSCode to do this itself? I presume it's not this, and I can't...
Read more >
Advanced Visual Studio Code for Python Developers
If you already have a virtual environment, run Python: Select Interpreter from the Command Palette to select the Python interpreter virtual environment. If...
Read more >
Visual Studio Code (Windows) - Setting up a ... - YouTube
In this Python Programming Tutorial, we will be learning how to set up a Python development environment in VSCode on Windows.
Read more >
Choose a Python environment - Visual Studio (Windows)
Use virtual environments; View installed packages; See also. Applies to: yes Visual Studio no Visual Studio for Mac no Visual Studio Code.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found