I have my script written in python3, but when I share the script with other users and the user has python2 environment my script won't run. Is there a way to make my py3 script run regardless of what python environment the user has? is there a way to unset their current python and set to python3(assuming I know the py3 location)?.
If I have a bash wrapper, I can export both PYTHON and PYTHONPATH variables but not sure how to do this in python. Thanks.