airctic/icevision

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:

  1. Create the conda environment using:
    • conda create -n icevision python=3.8 anaconda
    • conda activate icevision
    • pip install icevision[all]
  2. Within the conda environment just created, create a python file that contains the line import icevision.all as iv
  3. Run that file using python3 file_created.py

Expected behavior
I expect the library to be imported correctly without any errors.

Screenshots
Screenshot_20220827_154848

Desktop:

  • OS: KDE neon 5.25