Unable to find pip package

271 Views Asked by At

I have been using bazel build for my im2txt model from TensorFlow and it shows me

ModuleNotFoundError: No module named 'nltk'

I have installed the package nltk and tried to even create an environment and run the bazel script

Is there anyway i need to link my python to bazel for the python modules to be installed separately on an environment ?

Repo i am trying to run : im2txt

Code sample which iam running :

# Location to save the MSCOCO data.
MSCOCO_DIR="${HOME}/im2txt/data/mscoco"

# Build the preprocessing script.
cd research/im2txt
bazel build //im2txt:download_and_preprocess_mscoco

# Run the preprocessing script.
bazel-bin/im2txt/download_and_preprocess_mscoco "${MSCOCO_DIR}"   ##Error here <----
0

There are 0 best solutions below