Example notebooks will not work with the next release
See original GitHub issue- TIA Toolbox version: 1.1.x?
- Python version: Python 3.7
- Operating System: Linux
In the new version of TIAToolbox we have dropped the support for python < 3.8, while Colab uses python=3.7. I think this means that non of example notebooks will work in Colab after merging develop in master simply because users cannot install the toolbox via pip install tiatoolbox
. We didn’t see this coming when we dropped the support of python 3.7.
One (really) nasty solution is to add a cell on the top of the notebook in which we install a Python 3.8 using Conda, like this
!wget -O mini.sh https://repo.anaconda.com/miniconda/Miniconda3-py38_4.8.2-Linux-x86_64.sh
!chmod +x mini.sh
!bash ./mini.sh -b -f -p /usr/local
!conda install -q -y jupyter
!conda install -q -y google-colab -c conda-forge
!python -m ipykernel install --name "py38" --user
however, this is not idea at all because it’s not guaranteed to work all the time and there might be tons of problems with dependencies. Alternatively, we can consider having support for Python 3.7 back, if possible.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
What to do when things go wrong - The Jupyter Notebook
First, have a look at the common problems listed below. ... Check that you have the latest version of any packages that look...
Read more >Solve problems with Jupyter Notebooks - coursera.support
Your Notebook lesson item will now launch to the fresh notebook. Find missing work. If your Jupyter Notebook files have disappeared, it means ......
Read more >Example Notebooks - Amazon SageMaker
Your notebook instance contains example notebooks provided by Amazon SageMaker. The example notebooks contain code that shows how to apply machine learning ...
Read more >Fix issues when you can't sync OneNote - Microsoft Support
Notes won't sync · On the menu bar in OneNote for Mac, click Notebooks > Notebooks > Close This Notebook. · Switch back...
Read more >Work with notebooks and other files in Databricks Repos
To create a new notebook or folder in a repo, click the down arrow next to the repo name, and select Create >...
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 FreeTop 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
Top GitHub Comments
@mostafajahanifar I am adding support for Python 3.7 back for now. Once Colab starts supporting Python 3.8 we will remove Python 3.7 support.
In case it helps, I can also highly recommend https://deepnote.com/ for hosting example notebooks. When Google stopped maintaining Colab, I switched my project’s example notebooks to Deepnote and I couldn’t be happier.