2021年1月26日星期二

What should my path if I am using python venv?

I use python 3.6.9 and asterisk 16.16.0 in Ubuntu 18.04. If you know about AGI then you probably know about this line #!/usr/bin/python or this #!/usr/bin/env python if not then don't worry its tells the system to run this script in the Python interpreter.

So as far you know what I can do. but now my question is if I am use virtual environment for python using help of venv package and want defines path of that python environment in my AGI then what should I define.

My virtual environment store in following directory: /home/test/Documents/environments/test_env.

https://stackoverflow.com/questions/65912719/what-should-my-path-if-i-am-using-python-venv January 27, 2021 at 12:00PM

没有评论:

发表评论