Error when trying to run notebook all of a sudden
See original GitHub issue---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
[<ipython-input-12-55b102f3c5f0>](https://localhost:8080/#) in <module>
44 if Use_Gradio_Server:
45 share='--share'
---> 46 for line in fileinput.input('/usr/local/lib/python3.7/dist-packages/gradio/blocks.py', inplace=True):
47 if line.strip().startswith('self.server_name ='):
48 line = ' self.server_name = server_name\n'
1 frames
[/usr/lib/python3.8/fileinput.py](https://localhost:8080/#) in _readline(self)
340 pass
341 # The next few lines may raise OSError
--> 342 os.rename(self._filename, self._backupfilename)
343 self._file = open(self._backupfilename, self._mode)
344 try:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/gradio/blocks.py' -> '/usr/local/lib/python3.7/dist-packages/gradio/blocks.py.bak'
Happens every single time now. Was working an hour ago…
Issue Analytics
- State:
- Created 10 months ago
- Comments:35 (5 by maintainers)
Top Results From Across the Web
What to do when things go wrong - The Jupyter Notebook
If Jupyter gives an error that it can't find notebook , check with pip or conda that the notebook package ... Try running...
Read more >Fatal Error when starting jupyter notebook - Stack Overflow
I tried doing so, it works OK but I need to run this command every time I try to launch Jupyter. Also, I...
Read more >How to Fix Kernel Error in Jupyter Notebook
When the system encounters difficulties locating the path which certain programs will run, this error is known as a kernel error in Jupyter...
Read more >My notebook(.ipynb) won't open! · Issue #10941 - GitHub
I was working on my notebook getting through some tests, using a bunch of while cycles, and all of a sudden the whole...
Read more >Error Messages Display on a Blue Screen (Windows 10)
1. In Windows, search for and open View advanced system settings. 2. In the Startup and Recovery section, click Settings. 3. Remove the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
colab switched to python 3.8, I’m waiting for a confirmation from multiple users to adjust the colabs
So I think I got it running by
python3.7
withpython3.8
It needs a high system RAM runtime in colab but now it runs fine.