fastai / nbdev1

nbdev v1 (old version)
https://nbdev1.fast.ai/
Apache License 2.0
1 stars 2 forks source link

nbdev_new not working with fastcore>=1.5.0 #1

Open mpacadi opened 2 years ago

mpacadi commented 2 years ago

Hello, I have a problem when trying to create a new nbdev project using nbdev_new command. I have created new docker image based on continuumio/miniconda3 and through pip I have installed latest nbdev. nbdev==1.2.11 fastcore==1.5.6

In this enviroment when running nbdev_new I got error NameError: name 'urljson' is not defined The same behaviour is present also on Windows system. Installation of nbdev was done with pip with python 3.10.0

To test where something gone wrong i used oldest docker image based on pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime with nbdev==1.2.8 fastcore==1.4.3

I have manualy upgraded fastcore to 1.4.5 and 1.5.0. Version 1.4.5 worked fine but on version 1.5.0 I've got the same error mention before. See output of test in images belove. Thank you. v 1 4 5

v1 5 0