Incompatible Python environment could be auto-activated in ROS terminal
See original GitHub issueI have ms-python.python
extension installed and it by default will automatically launch a Python environment for every terminal open in VSCode, and which results in unexpected behaviors. Any thought?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
geometry2 / tf2_py incompatible with python 3.6 and 3.7 #411
I am using Python 3.6 and can import tf2_ros or tf2_py without any problems. Maybe it's somehow related to Anaconda? What about just...
Read more >Conflict anaconda vs ROS, catking_pkg not found
The problem I think it is that it is getting anaconda python path. I have tried: sudo apt-get install --reinstall python-rospkg python-rosdep ......
Read more >python - Conda install and update do not work also solving ...
1) I cannot use conda install for any package. It will give me the error in solving environment list this: failed with initial...
Read more >vocab.pubmed.txt - UCI Machine Learning Repository
... 3-sulfate 3t 3-t 3t3-f442a 3tc 3'-terminal 3'-termini 3'-terminus 3-tesla ... aboh abo-incompatible abolish abolished abolishes abolishing abolishment ...
Read more >Landscape of the p53 transcriptome and clinical implications ...
The C-terminal domain (CTD) of p53 is important for protein-protein interactions ... Cells may be stressed in a variety of ways including DNA...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sourcing
c:\opt\ros\melodic\x64\setup.bat
does the trick to makec:\opt\python27amd64\python.exe
on the list. And I need to manually switch to it once to make the change happen in workspacesettings.json
.I think this might be the reason, as the Python extension detects that the interpreter is from venv, it will attempt to activate the environment in the terminal
Yes, I think so. our (ros) python install path needs to be in the environment so that the extension can pick it up. Maybe you could also try typing that in manually, I think that would also work.
I am guessing it’s because I have gone through this earlier, so when I launch a vscode instance without sourcing
setup.bat
first, I can still see the (ros) python: