From: Donald T. <do...@ti...> - 2020-05-24 23:46:29
|
Hi folks, I'm trying PyX for the first time. This is on an iMac, High Sierra, 10.13.6. The third line of the Hello World demo blows out with this error: >>> c.text(0, 0, "Hello, world!") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/anaconda3/lib/python3.7/site-packages/pyx/canvas.py", line 409, in text return self.insert(self.textengine.text(x, y, atext, *args, **kwargs)) File "/anaconda3/lib/python3.7/site-packages/pyx/text.py", line 1454, in wrapped return f(self, *args, **kwargs) File "/anaconda3/lib/python3.7/site-packages/pyx/text.py", line 1490, in text return self.instance.text(*args, **kwargs) File "/anaconda3/lib/python3.7/site-packages/pyx/text.py", line 1330, in text return self.text_pt(unit.topt(x), unit.topt(y), *args, **kwargs) File "/anaconda3/lib/python3.7/site-packages/pyx/text.py", line 1304, in text_pt left_pt, right_pt, height_pt, depth_pt = self.do_typeset(expr, self.texmessages_run_default + self.texmessages_run + texmessages) File "/anaconda3/lib/python3.7/site-packages/pyx/text.py", line 1224, in do_typeset return self._execute(expr, texmessages, STATE_TYPESET, STATE_TYPESET) File "/anaconda3/lib/python3.7/site-packages/pyx/text.py", line 1091, in _execute self.texoutput.expect("PyXInputMarker:executeid=%i:" % self.executeid) AttributeError: 'SingleTexEngine' object has no attribute 'texoutput' Perhaps there's some secret step I've missed? Thanks! >>> pyxinfo() Platform name is: posix Python executable: /anaconda3/bin/python Python version: 3.7.3 (default, Mar 27 2019, 16:54:48) [Clang 4.0.1 (tags/RELEASE_401/final)] PyX comes from: /anaconda3/lib/python3.7/site-packages/pyx/__init__.py PyX version: 0.15 pyxrc would be loaded from: /Users/till/.pyxrc pykpathsea: not available file locators in use: local, internal, pykpathsea, kpsewhich -- Don -- Donald Tillman, Palo Alto, California http://www.till.com |