I am using python 3.5 and I am taking Algorithm specialization courses on Coursera. A professor teaching this course has published a program that will help us find out the time and memory associated with running the program. It has an import resource command at the top. I tried to run this program along with programs written in python, and every time I got ImportError: No module named 'resource'
I used the same code in ubuntu and had no errors.
I followed the suggestions in stackoverflow answers and I tried to add PYTHONPATH PYTHONHOME and edit the PATH environment variable.
I do not know what else I can do here.
Is there any file that I can download and install in the lib or site-packages folder of my python installation?
source share