Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icevision import lead to the following error "AttributeError: module 'distutils' has no attribute 'version'" #1139

Open
pptr3 opened this issue Aug 27, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@pptr3
Copy link

pptr3 commented Aug 27, 2022

🐛 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
@pptr3 pptr3 added the bug Something isn't working label Aug 27, 2022
pptr3 added a commit to pptr3/icevision that referenced this issue Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant