I want to run my lab, C1_W2_Lab04_FeatEng_PolyReg_Soln.ipynb, on my local computer jupyrter-lab but kept getting error. Please advise how to run it. Thanks
you need “lab_utils_multi.py” file, and it should be saved in the same directory/folder where you saved “C1_W2_Lab04_FeatEng_PolyReg_Soln.ipynb” file
Thanks for tip! Where can i get this file,lab_utils_multi.py?
Hi Jason,
Did you download the zip file containing all of the lab files? There is a “Lab Files” button at the top of the screen when you open the lab in browser, and then you can click “download all files”. Now when you open the downloaded folder, navigate to the “work” directory which contains all of the lab files, and you should see “lab_utils_multi.py” there.
I hope that helps!
Alex
The “lab_utils_multi.py” file is in the lab files directory.
If you only want the file: open the “C1_W2_Lab04_FeatEng_PolyReg_Soln.ipynb” notebook from within Coursera optional lab. After opening the lab, you will see a “Lab files” tab on the top left corner, browse through the directory to find all the relevant files.
My suggestions would be to download the folder completely, then open the “C1_W2_Lab04_FeatEng_PolyReg_Soln.ipynb” file on your local computer. That way, you will not miss any files/functions and will have a complete working script.
Hello @Jasongb555
You can see the below post to download lab_utils_multi.py
Hi, Jason I experienced this error before and what I did is just ipympl
package.
which is done by
$ pip install ipympl
alembic==1.4.2
async-generator==1.10
attrs==19.3.0
backcall==0.1.0
beautifulsoup4==4.9.0
bleach==3.1.4
blinker==1.4
bokeh==2.0.1
bottleneck==1.3.2
brotlipy==0.7.0
certifi==2020.4.5.1
certipy==0.1.3
cffi==1.14.0
chardet==3.0.4
click==7.1.2
cloudpickle==1.4.1
conda-package-handling==1.6.0
conda==4.8.2
cryptography==2.9.2
cycler==0.10.0
cython==0.29.17
cytoolz==0.10.1
dask==2.15.0
decorator==4.4.2
defusedxml==0.6.0
dill==0.3.1.1
distributed==2.15.2
dlai-tools==0.3.2
entrypoints==0.3
fastcache==1.1.0
fsspec==0.7.3
gmpy2==2.1.0b1
h5py==2.10.0
heapdict==1.0.1
idna==2.9
imageio==2.8.0
importlib-metadata==1.6.0
ipykernel==5.2.1
ipympl==0.5.6
ipython-genutils==0.2.0
ipython==7.14.0
ipywidgets==7.5.1
jedi==0.17.0
jinja2==2.11.2
joblib==0.14.1
json5==0.9.0
jsonschema==3.2.0
jupyter-client==6.1.3
jupyter-core==4.6.3
jupyter-telemetry==0.0.5
jupyterhub==1.1.0
jupyterlab-server==1.1.1
jupyterlab==2.1.1
kiwisolver==1.2.0
llvmlite==0.31.0
locket==0.2.0
mako==1.1.0
markupsafe==1.1.1
matplotlib==3.2.1
mistune==0.8.4
mock==4.0.2
mpmath==1.1.0
msgpack==1.0.0
nbconvert==5.6.1
nbformat==5.0.6
networkx==2.4
notebook==6.0.3
numba==0.48.0
numexpr==2.7.1
numpy==1.18.4
oauthlib==3.0.1
olefile==0.46
packaging==20.1
pamela==1.0.0
pandas==1.0.3
pandocfilters==1.4.2
parso==0.7.0
partd==1.1.0
patsy==0.5.1
pexpect==4.8.0
pickleshare==0.7.5
pillow==7.1.2
pip==21.1.3
prometheus-client==0.7.1
prompt-toolkit==3.0.5
protobuf==3.11.4
psutil==5.7.0
ptyprocess==0.6.0
pycosat==0.6.3
pycparser==2.20
pycurl==7.43.0.5
pygments==2.6.1
pyjwt==1.7.1
pyopenssl==19.1.0
pyparsing==2.4.7
pyrsistent==0.16.0
pysocks==1.7.1
python-dateutil==2.8.1
python-editor==1.0.4
python-json-logger==0.1.11
pytz==2020.1
pywavelets==1.1.1
pyyaml==5.3.1
pyzmq==19.0.0
requests==2.23.0
ruamel-yaml==0.15.80
ruamel.yaml.clib==0.2.0
ruamel.yaml==0.16.6
scikit-image==0.16.2
scikit-learn==0.22.2.post1
scipy==1.4.1
seaborn==0.10.1
send2trash==1.5.0
setuptools==46.1.3.post20200325
six==1.14.0
sortedcontainers==2.1.0
soupsieve==1.9.4
sqlalchemy==1.3.16
statsmodels==0.11.1
sympy==1.5.1
tables==3.6.1
tblib==1.6.0
terminado==0.8.3
testpath==0.4.4
toolz==0.10.0
tornado==6.0.4
tqdm==4.45.0
traitlets==4.3.3
typing-extensions==3.7.4.2
urllib3==1.25.9
vincent==0.4.4
wcwidth==0.1.9
webencodings==0.5.1
wheel==0.34.2
widgetsnbextension==3.5.1
xlrd==1.2.0
zict==2.0.0
zipp==3.1.0