Python Forum
Adding to python environment in pyenv virtual project
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding to python environment in pyenv virtual project
#1
I have a virtual environment that uses pyenv python 3.10.4.

Gnu radio is installed in /usr/.../gnuradio

Normally, you would export the PYTHONPATH environment variable in .bashrc to point to the gnuradio library.

However, the only version of python 3.10.4 that I have on my system is located in the .pyenv directory, so I don't think that will work in this instance, and (if possible) I'd like to make gnuradio visible to this project alone.

How can I make gnuradio visible to python only for the pyenv project virtual environment?

Worst case (I guess), is to copy the gnuradio files to the project (rather not do that as it's kludgy).

Any help appreciated.
Reply


Messages In This Thread
Adding to python environment in pyenv virtual project - by Larz60+ - Jun-23-2022, 07:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Building Mapnik for a pyenv python. Larz60+ 0 1,854 Jul-07-2021, 11:29 PM
Last Post: Larz60+
  Add package to pyenv base interpreter Larz60+ 1 1,904 Sep-11-2020, 11:58 AM
Last Post: mlieqo
  setting up the VS Code to work with Python - virtual environment-configuration apollo 2 5,407 Sep-28-2019, 06:28 PM
Last Post: snippsat
  How to update pyenv pip version so that new virtualenv will use it Larz60+ 4 8,350 Aug-19-2018, 08:39 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020