![]() It looks like PyBOMBS did not install its own python interpreter into my prefix directory. python.pythonPath is the path to the python interpreter used for debugging or running the code, while $PYTHONPATH is the environment variable which python uses to search for modules. ![]() I've been trying to understand the selection of python interpreters, workspaces, and environments for VSCode.Īs far as I understand it, the VSCode workspace setting python.pythonPath is not to be confused with the environment variable $PYTHONPATH. I want to write, run, and debug python scripts for the new version of GNURadio in the VisualStudio Code. Without modifying the $PYTHONPATH python - naturally - imports the older version of GNURadio. Type "help", "copyright", "credits" or "license" for more information. ![]() I can use the newer version of GNURadio version only after I run the setup_env.sh script (which - among other things - adds /home/tejul/Documents/gr13/default/lib/python2.7/dist-packages to $PYTHONPATH) and then start python in the terminal lsīin etc include lib libexec setup_env.sh share source python ![]() GNURadio version 3.7.13.4 installed by PyBOMBS in /home/tejul/Documents/gr13/default/lib/python2.7/dist-packages/gnuradio (my prefix directory is ~/Documents/gr13/default) GNURadio version 3.7.11 installed by the Linux Mint package manager in /usr/lib/python2.7/dist-packages/gnuradio ![]() I have installed two versions of GNURadio: How do I correctly set up the $PYTHONPATH variable for my workspace in VisualStudio Code? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |