I am working on Jupyter notebook and I have this issue. I would like to represent the solution of a system using a graph. Can someone help please?
ImportError: cannot import name ‘plot_lines’ from ‘utils’ (/usr/local/lib/python3.10/dist-packages/utils/init.py)
2 Likes
If you’re going to use the notebook locally, you have to download utils.py and store it in the same folder as the notebook.
To get the file
- Once the lab is open, click on ‘lab files’ on the top right of the screen.
- click on the home folder, you will see utils.py as the last file
- click the checkbox next to it, then click download on the top left of the menu
- make sure to copy the file to the directory of the notebook and you can start using the package
cheers
2 Likes