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.

automatically use right python version

See original GitHub issue

AREPL takes the python extension python path setting. The problem is the user might only define that setting for a specific folder/workspace, so if arepl is done elsewhere it won’t have that path and perhaps try to use py on windows which might point to python 2.

Also I’ve noticed recently that windows has python linked to python 2 … not sure what’s up with that, whether it’s my machine or whether a recent windows update added python 2 for some reason.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
jsollycommented, Feb 25, 2020

I ran into an issue with VSC on mac where AREPL was warning me that it did not work with Python 2. I was quite confused because VSC had Python 3 set as the default interpreter. image

I went into the settings of CSV and found that Python.pythonPath was set to ‘python’ image

I changed it to ‘python3’ and then everything was working with AREPL

0reactions
Almenoncommented, Apr 13, 2020

Sweet 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Should I Set Default Python Version In Windows?
This is if you have both the versions installed. Go to This PC → Right-click → Click on Properties → Advanced System Settings....
Read more >
Switching between versions of python installed from microsoft ...
Yes, you should be able to switch between python versions. As a standard, it is recommended to use the python3 command or python3.7...
Read more >
How to change from default to alternative Python version on ...
In this tutorial, we cover the step by step instructions to change the Python version in use on Debian Linux.
Read more >
How to install Python the smart way - InfoWorld
Python is easy to use, friendly to the beginner, and powerful enough to create robust ... Choose the right Python version and distribution....
Read more >
Python Version Configuration • reticulate
Note that if you set this environment variable, then the specified version of Python will always be used (i.e. this is prescriptive rather...
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