Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Use virtual environement to run a python script with tSystem

I'm trying to execute a python script using tSystem. I use an anaconda virtual environment for python, so I have all modules installed in that environment. How can I use this environment to execute the script?

 

I tried to activate the environment by adding

conda activate myenv

in the shell script for linux (under Project Settings), but it didn't work.

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I used the absolute path to specify which python to use and it worked.

/home/siva227/anaconda3/envs/py3/bin/python myscript.py

View solution in original post

1 Reply
Anonymous
Not applicable
Author

I used the absolute path to specify which python to use and it worked.

/home/siva227/anaconda3/envs/py3/bin/python myscript.py