Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to clear cache of installed packages? #1940

Closed
antoniomtz opened this issue Apr 17, 2024 · 3 comments
Closed

How to clear cache of installed packages? #1940

antoniomtz opened this issue Apr 17, 2024 · 3 comments

Comments

@antoniomtz
Copy link
Contributor

Describe the bug
I have everything up and running on a windows machine.
After running some notebooks, I noticed the second time and all consecutive runs the notebook throws the same error.

I suspect the packages are not getting installed because of a caching mechanism?

Expected behavior
Able to run the notebook multiple times with the same output.

Screenshots
Screenshot 2024-04-17 134341

Installation instructions (Please mark the checkbox)
[ x ] I followed the installation guide at https://github.com/openvinotoolkit/openvino_notebooks#-installation-guide to install the notebooks.

** Environment information **
Please run python check_install.py in the openvino_notebooks directory. If the output is NOT OK for any of the checks, please follow the instructions to fix that. If that does not work, or if you still encounter the issue, please paste the output of check_install.py here.

Additional context

I restart the kernel everytime I try to run the notebook. Is there a better way to clear all jupyter notebook cache and able to run the notebook as the first time?

I tried deleting the repo and recloning it, or deleting the .jupyter folder.

@antoniomtz
Copy link
Contributor Author

I was able to solve it by following the cleanup section.

@brmarkus
Copy link

brmarkus commented Apr 19, 2024

For the records, you mean this section "https://github.com/openvinotoolkit/openvino_notebooks?tab=readme-ov-file#-cleaning-up"?

@antoniomtz
Copy link
Contributor Author

@brmarkus https://github.com/openvinotoolkit/openvino_notebooks?tab=readme-ov-file#-cleaning-up
I was using windows and this instructions helped me to start from scratch on the python venv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants