I solved my problem. How I did was the following:
Create the virtualenvironment
virtualenv -p python3 testenv1
Now, from inside the environment install ipykernel using pip:
pip install ipykernel 
And now install a new kernel:
ipython kernel install --user --name=projectname
At this point, you can start jupyter, create a new notebook and select the kernel that lives inside your environment.
Start jupyter with
jupyter notebook
Then if I try to run this file:

from __future__ import print_function, division 
! python --version 
! python2 --version 
! python3 --version 
import os 
import torch 
import pandas as pd 
from skimage import io, transform 
import numpy as np 
import matplotlib.pyplot as plt 
from torch.utils.data import Dataset, DataLoader 
import sys 
print(sys.version) 

I get all the errors of (module torch, pandas, skimage not found).
You can solve them by
python --m pip install torch 
python --m pip install pandas 
python --m pip install scikit-image 
I got inspired by this blog post: https://anbasile.github.io/posts/2017-06-25-jupyter-venv/ 31