I have a following problem. I have installed packages into my venv. Now I would like run my python script from terminal in Ubuntu. But I got an error
from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
I have found that I shoud use shebag
. So I put the path to my venv on the first line in my script.py like this: #!/home/vojta/Desktop/my_file/venv/bin python
. But I still got the same error. How can I fix it please?