[Tutor] Question regarding import

Alan Gauld alan.gauld at yahoo.co.uk
Wed Feb 12 05:53:29 EST 2020


On 12/02/2020 02:17, Phua KT via Tutor wrote:
> Hi Sir,
> I was trying to work on a tutorial that requires to import time_series module. 

That's not part of the standard library so you need to install it.
It might be part of a bigger package such as numpy, but you need to
install something beyond the basic standard library.

Please post the full error trace BTW as it holds a lot of useful
details that might help diagnose the issue.

> But I have the error message 'ModuleNotFoundError' generated when i run my scripts. 

It says it can't find the module, possibly because it is not installed?

I did a quick Google search for time_series but it came up blank.
Does your tutorial provide the code? If so you may have to
manually install the module somewhere that python can see
it - somewhere in your sys.path or PYTHONPATH settings.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list