Skip to content

aydin fails to install on Windows #303

@nztao

Description

@nztao

Describe the bug
Installing aydin via conda or pip on a Windows installation fails because of an incompatibility error with napari and pydantic.

To Reproduce
Steps to reproduce the behavior:

  1. Run conda installation instructions from (https://github.com/royerlab/aydin).
  2. Run aydin in the bash.

Expected behavior
A clear and concise description of what you expected to happen.
Expect aydin GUI, but instead the following error appears:

> [...]
>     raise AttributeError(f'module {module!r} has no attribute {name!r}')                                                                                                                                                                                                                                                                                  AttributeError: module 'pydantic.main' has no attribute 'ModelMetaclass'

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • Windows 10 Education Version 10.0.19045 Build 19045
  • GPU: NVIDIA GeForce RTX 2080 Super - Cuda compilation tools, release 11.4, V11.4.100 Build cuda_11.4.r11.4/compiler.30188945_0

Additional context
Add any other context about the problem here.

Running pip install napari --upgrade resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions