Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 2

ModuleNotFoundError when installing adaptnlp

I am trying to install adaptnlp in python and the whole process seems to work until I want to import the module, it returns 

ModuleNotFoundError: No module named 'adaptnlp'

 

I am using "pip install adaptnlp" to install the module. I already tried updating pip and following a number of other posts on the topic but I can't get it to work and I don't know how to tackle the problem. I am not an expert.

 

I am on MacOS High Sierra and have already been using python with different packages.

 

Thank you for your help!

1 Reply
Highlighted
Commander Lvl 2
Message 2 of 2

Re: ModuleNotFoundError when installing adaptnlp

You'll want to open a terminal window and verify the value of your PYTHONPATH setting:

echo $PYTHONPATH

You need to see that the path to adaptnlp is part of the setting - which means you'll need to find where adaptnlp is installed.

 

Python 2 or Python 3? 

 

Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!