when running Pytest
test through ssh
I get "no module named pandas
" although module is installed both on vritual environment and locally.
Can somebody point out where else should I install it?
I access my server:
ssh user@server.com
enter password
run the following command: "py.test -s -v jupyter_test.py
". It runs tests, and as test result I get above mentioned error.
When I do test on server, without ssh
, it works perfectly. But I need to do it through ssh.
the reason was that on remote machine there was installed old version of Python, when I converted script to Python 3 it worked just fine.
command I used to convert script is: