Reputation: 143
I receive an error when importing the mdptoolbox
module.
import mdptoolbox, mdptoolbox.example
Error logs:
ModuleNotFoundError Traceback (most recent call last) in () ----> 1 import mdptoolbox, mdptoolbox.example
ModuleNotFoundError: No module named 'mdptoolbox'
How can I resolve the error?
Upvotes: 1
Views: 4009
Reputation: 31
Those suggestions are definitely correct if OP is trying to import the pymdptoolbox
package.
However I got the same error message when trying to import the mpdtoolbox-hiive
version (https://pypi.org/project/mdptoolbox-hiive/#description). Just wanted to share the imports that worked for me:
import hiive.mdptoolbox, hiive.mdptoolbox.example
Upvotes: 3
Reputation: 151
It seems you haven't installed the mdptoolbox package :
Go through this for the complete installation and usage of the module : https://github.com/sawcordwell/pymdptoolbox
Upvotes: 2