Sorry if this issue was clarified in other topic but I’ve been stuck trying to turn my Notebook into a Real App for more than a week already, I haven’t been able to find a solution here or anywhere else on the internet.
My environment:
MacOS Catalina 10.15.7
Paperspaces-Gradient Free GPU-1 (M4000)
The history:
I saved a copy of all notebooks and other files in fastbook/clean to storage/mynotebooks
I’m working now in 02_prodcution. ipynb
I run all cells without problems until the last one; the Voila installation.
Despite the error message, I have Voila installed (there is a Voila icon in the top menu), but when I try to run the notebook in Voila, I receive an error message:
ERROR: Voila 0.2.4 requires nbconvert<7, >=6, but you have nbconvert 6.0.7 which is incompatible.
Therefore, I’m in a situation where Voila requires nbconvert >=6 while at the same time nbdev requires the same nbconvert to be <6.
I hope any of you can help me to identify what I’m doing wrong, and more importantly, how to fix it!
Ok, after 4 days without any response to my problem, I guess there is not an easy answer to my question.
Then, could any of the experts or moderators at least indicate which other sources could I consult in search for an answer, (other than fastai, voila and nbdev or nbconvert or stackoverrflow)?
@owura_Coder, good luck to you!
I recognise I’m new to this, but still I spent a week checking the documentation and the web and couldn’t find a solution.
After that I put the question here, in the fastai forum, but after a month I haven’t got any answer yet.
Not even from the moderators to let me know they looked into the issue and couldn’t find how to fix it; or at least to indicate where I could look for more info.
So, I decided to move forward and come back and try again from scratch once I finished with the whole book. Hopefully at that time I’ll be better prepared and able to find the solution by myself.
Disappointed with the support from the forum, but I guess it’s part of the challenge.
If you have any luck, please let me know.
Good coding,
Luis
I am having similar error message when i try to use binder to convert the github repository of the notebook into a web app. I hope to find a solution soon. it seems hard to find similar problem on the internet with a solution.
Yes, it’s hard to find a solution even in this fastai forum.
I saw people working in the same environment (Paperspace Gradient) with the same notebook found at least a way around the Voila issue, but not even that worked for me.
I’ll keep searching and let’s get in touch if we find a fix!
I see you gave up on Binder and changed to heroku.
It takes some time to load, (maybe because it was the first time), but it works beautifully.
The problem with mine is that it works well in the notebook but gives the error message when I try to launch it with Voila. So I won’t be able to run it in Heroku either.
Thanks again for your help, and by the way, Merry Christmas!
I ended up here because I had the same issues you were having and now mine is working just fine in Binder. I used the work Richard did to solve most of my problems including how to trim down my notebook and what to include in requirements.txt. Here’s my github - https://github.com/j-alex-larrimore/ClassifierTest/tree/main
not sure if this helps, but a
fter trawling through the fastai forums, I realised that I did not need to execute the commands to install Voila and connect to a server, as described in the book.
All I needed to do was to follow the instructions to upload a minimal version of a notebook to Github, and then follow the instructions to set up on Binder. Crucially you need to provide a requirements.txt file on your Github repo that specifies Voila and the fastai version, Binder will set up an appropriate environment using that information. Binder also provides you with some markdown text that you can add into your readme.md file, that renders as a binder badge that can be used to launch your application from the repo.