Hi everyone this is my first question on StackOverflow and I hope it finds everyone well. I recently started using TMUX and I'm having a problem using it for a machine learning problem set I have.
I'm creating a program using python and I'm using the sklearn module. Basically when I run the code in the terminal out my TMUX session, everything works fine. However, when I start a TMUX session and run the code, I get the following error.
Traceback (most recent call last):
File "hw1.py", line 5, in <module>
from sklearn import svm
ImportError: No module named sklearn
For some reason, it can't find sklearn even though it is installed and it works fine outside the TMUX session. Here are my import statements.
import numpy
import scipy.io
from sklearn import svm
from random import sample
Why can't it find the module while in TMUX and how do I fix this?
pip freeze > environ.txt
at both the places(in and out of tmux session) and check if there is some difference(or may be post it if you cannot find it). – Drew