icevision import lead to the following error "AttributeError: module 'distutils' has no attribute 'version'"
pptr3 opened this issue ยท 0 comments
pptr3 commented
๐ Bug
Bug description
The bug happens when I try to import the library using import icevision.all as iv
from a conda environment which has been created as suggested in the documentation under the section 'B- Installation using conda'.
To Reproduce
Steps to reproduce the behavior:
- Create the conda environment using:
conda create -n icevision python=3.8 anaconda
conda activate icevision
pip install icevision[all]
- Within the conda environment just created, create a python file that contains the line
import icevision.all as iv
- Run that file using
python3 file_created.py
Expected behavior
I expect the library to be imported correctly without any errors.
Desktop:
- OS: KDE neon 5.25