Skip to content

Errors running MCMD with Python 3.6. Documentation to be updated to require a newer version? #225

@colthom

Description

@colthom

How to Reproduce

Install molgenis-commander with python 3.6

$ docker run --rm -it python:3.6 bash
root@xxx:/# pip3 install molgenis-commander -qqq
root@xxx:/# pip3 install --upgrade molgenis-commander -qqq
root@xxx:/# mcmd

Expected behavior

ℹ Looks like this is your first time running Molgenis Commander!
  Let's take a moment to set things up. It's OK to leave some fields empty, you can always change them later.
? Enter the absolute path to your Molgenis git folder (e.g. /Users/me/git/molgenis/)

Observed behavior

Traceback (most recent call last):
  File "/usr/local/bin/mcmd", line 5, in <module>
    from mcmd.__main__ import main
  File "/usr/local/lib/python3.6/site-packages/mcmd/__main__.py", line 17, in <module>
    from mcmd.core import update_checker, store
  File "/usr/local/lib/python3.6/site-packages/mcmd/core/update_checker.py", line 10, in <module>
    from mcmd.core import store
  File "/usr/local/lib/python3.6/site-packages/mcmd/core/store.py", line 11, in <module>
    from mcmd.core.context import context
  File "/usr/local/lib/python3.6/site-packages/mcmd/core/context/__init__.py", line 9, in <module>
    from mcmd.core.context import _context_holder
  File "/usr/local/lib/python3.6/site-packages/mcmd/core/context/_context_holder.py", line 3, in <module>
    from mcmd.core.context.base_context import Context
  File "/usr/local/lib/python3.6/site-packages/mcmd/core/context/base_context.py", line 68, in <module>
    import mcmd.core.context._context_holder as context_holder
AttributeError: module 'mcmd.core' has no attribute 'context'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions