No module name nltk?

I feel like I’m going around in circles with getting my imports to work.

I keep getting issues with imports, I had it working fine with jupyter notebook.

ModuleNotFoundError: No module named ‘nltk’

My requirements and imports are below:

Requirements:

gradio==3.1

nltk==3.6.7

scikit-learn==0.24.2

pandas==1.3.3

numpy==1.21.2

torch==1.9.1

mosestokenizer==1.1.0

import gradio as gr
import pickle
import nltk
import pandas as pd
import numpy as np
import sklearn as sk
import torch
from mosestokenizer import *
from nltk.tokenize import word_tokenize, TreebankWordTokenizer, sent_tokenize
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.model_selection import GridSearchCV, RandomizedSearchCV
from scipy.stats import randint