fastai / fastprogress

Simple and flexible progress bar for Jupyter Notebook and console
Apache License 2.0
1.08k stars 105 forks source link

UserWarning: Couldn't import ipywidgets properly, progress bar will use console behavior #91

Open Neural-Net-Ninja opened 2 years ago

Neural-Net-Ninja commented 2 years ago

/data/private/custom_environment/pointcnn/lib/python3.8/site-packages/fastprogress/fastprogress.py:102: UserWarning: Couldn't import ipywidgets properly, progress bar will use console behavior warn("Couldn't import ipywidgets properly, progress bar will use console behavior")


NameError Traceback (most recent call last) /tmp/ipykernel_1885/2333630497.py in ----> 1 export_point_dataset(path,output_path, 2 block_size = 100.0, 3 max_points = 8192)

/data/private/custom_environment/pointcnn/lib/python3.8/site-packages/arcgis/learn/init.py in export_point_dataset(data_path, output_path, block_size, max_points, extra_features, kwargs) 1553 1554 from ._utils.pointcloud_data import prepare_las_data -> 1555 prepare_las_data(data_path, block_size, max_points, output_path, extra_features, kwargs) 1556 1557

/data/private/custom_environment/pointcnn/lib/python3.8/site-packages/arcgis/learn/_utils/pointcloud_data.py in prepare_las_data(root, block_size, max_point_num, output_path, extra_features, grid_size, blocks_per_file, folder_names, segregate, **kwargs) 852 853 folders = [os.path.join(root, folder) for folder in folder_names] ## Folders are named train and val --> 854 mb = master_bar(range(len(folders))) 855 for itn in mb: 856 folder = folders[itn]

NameError: name 'master_bar' is not defined

Neural-Net-Ninja commented 2 years ago

Even though i have IPython and matplotlib.pyplot

jadehoyosh commented 1 year ago

Any fix for this issue?

remiDupont commented 1 year ago

Was using .ipynb in conda environement, in VScode, had the same issue. conda install -c anaconda ipywidgets inside my env fixed it.