Skip to content

TypeError with python 3.7.6 #20

@MagnusHarthimmer

Description

@MagnusHarthimmer

Traceback (most recent call last):
File "./run_gutsmash.py", line 6, in
from antismash.main import entrypoint
File "/home/ubuntu/ubuntu-local/gutsmash/antismash/init.py", line 12, in
from antismash.main import run_antismash, get_detection_modules,
File "/home/ubuntu/ubuntu-local/gutsmash/antismash/main.py", line 43, in
from antismash.modules import (active_site_finder,
File "/home/ubuntu/ubuntu-local/gutsmash/antismash/modules/tfbs_finder/init.py", line 15, in
from .html_output import generate_html, generate_js_domains, will_handle
File "/home/ubuntu/ubuntu-local/gutsmash/antismash/modules/tfbs_finder/html_output.py", line 22, in
from .tfbs_finder import Confidence, TFBSFinderResults
File "/home/ubuntu/ubuntu-local/gutsmash/antismash/modules/tfbs_finder/tfbs_finder.py", line 21, in
from antismash.common import json as jsonlib, path
File "/home/ubuntu/ubuntu-local/gutsmash/antismash/common/json.py", line 72, in
def load(handle: IO) -> dict[str, Any]:
TypeError: 'type' object is not subscriptable

Is anyone aware of what's causing this error when running with python 3.7.12?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions