#15650 closed defect (fixed)

ChimeraX 1.7 PyPy package import error: ModuleNotFoundError: No module named 'chimerax.graphics'

Reported by: Tom Goddard Owned by: Zach Pearson
Priority: moderate Milestone:
Component: Platform Version:
Keywords: Cc: chimerax-programmers
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

After installing the missing tinyarray package (ticket #15649) the ChimeraX 1.7 PyPi package fails to import because missing chimerax.graphics.

Did the ChimeraX PyPi package ever get tested?

(base) $ python3.11
python3.11
Python 3.11.6 (main, Oct 2 2023, 13:45:54) [Clang 15.0.0 (clang-1500.0.40.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import chimerax

import chimerax
Traceback (most recent call last):

File "<stdin>", line 1, in <module>
File "/opt/homebrew/lib/python3.11/site-packages/chimerax/init.py", line 10, in <module>

from . import chem_group #noqa

File "/opt/homebrew/lib/python3.11/site-packages/chimerax/chem_group/init.py", line 25, in <module>

from .chem_group import find_group

File "/opt/homebrew/lib/python3.11/site-packages/chimerax/chem_group/chem_group.py", line 29, in <module>

from chimerax.atomic.idatm import type_info, tetrahedral, planar, linear, single

File "/opt/homebrew/lib/python3.11/site-packages/chimerax/atomic/init.py", line 33, in <module>

from .molobject import Atom, Bond, Chain, CoordSet, Element, Pseudobond, Residue, Sequence, \

File "/opt/homebrew/lib/python3.11/site-packages/chimerax/atomic/molobject.py", line 2393, in <module>

from .pbgroup import PseudobondGroup

File "/opt/homebrew/lib/python3.11/site-packages/chimerax/atomic/pbgroup.py", line 26, in <module>

from chimerax.core.models import Model

File "/opt/homebrew/lib/python3.11/site-packages/chimerax/core/models.py", line 54, in <module>

from chimerax.graphics import Drawing, Pick, PickedTriangle

ModuleNotFoundError: No module named 'chimerax.graphics'

Change History (3)

comment:1 by Tom Goddard, 15 months ago

The ChimeraX 0.1.6 PyPi package does not have this problem, only the 0.1.71 package seems to be missing the chimerax.graphics module.

comment:2 by Tom Goddard, 15 months ago

A user reported this on ChimeraX Github issues

https://github.com/RBVI/ChimeraX/issues/43

comment:3 by Zach Pearson, 13 months ago

Resolution: fixed
Status: assignedclosed

A new PyPi package went up some time ago.

Note: See TracTickets for help on using tickets.