[OS X TeX] where is asymptote binary?

Herbert Schulz herbs at wideopenwest.com
Thu Dec 3 12:28:21 EST 2020


> On Dec 3, 2020, at 11:19 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
> 
> The binary is asy and is either the rest of the TeX Live binaries. 
> 
> Good Luck,
> Herb Schulz
> 
> 
>> On Dec 3, 2020, at 11:08 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>> Somewhere in TeXLive 2020 docs I read that a binary of asymptote is included. Where is it?
>> 
>> I did try executing the command...
>> 
>> 	python /usr/local/texlive/2020/texmf-dist/asymptote/GUI/xasy.py
>> 
>> ...but get a bunch of errors:
>> 
>> Traceback (most recent call last):
>>   File "/opt/anaconda3/lib/python3.8/site-packages/numpy/core/__init__.py", line 22, in <module>
>>     from . import multiarray
>>   File "/opt/anaconda3/lib/python3.8/site-packages/numpy/core/multiarray.py", line 12, in <module>
>>     from . import overrides
>>   File "/opt/anaconda3/lib/python3.8/site-packages/numpy/core/overrides.py", line 7, in <module>
>>     from numpy.core._multiarray_umath import (
>> ImportError: dlopen(/opt/anaconda3/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so, 2): Library not loaded: @rpath/libopenblas.dylib
>>   Referenced from: /opt/anaconda3/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so
>>   Reason: image not found
>> 
>> During handling of the above exception, another exception occurred:
>> 
>> Traceback (most recent call last):
>>   File "/usr/local/texlive/2020/texmf-dist/asymptote/GUI/xasy.py", line 6, in <module>
>>     from Window1 import MainWindow1
>>   File "/usr/local/texlive/2020/texmf-dist/asymptote/GUI/Window1.py", line 10, in <module>
>>     import numpy as np
>>   File "/opt/anaconda3/lib/python3.8/site-packages/numpy/__init__.py", line 140, in <module>
>>     from . import core
>>   File "/opt/anaconda3/lib/python3.8/site-packages/numpy/core/__init__.py", line 48, in <module>
>>     raise ImportError(msg)
>> ImportError: 
>> 
>> IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
>> 
>> Importing the numpy C-extensions failed. This error can happen for
>> many reasons, often due to issues with your setup or how NumPy was
>> installed.
>> 
>> We have compiled some common reasons and troubleshooting tips at:
>> 
>>     https://numpy.org/devdocs/user/troubleshooting-importerror.html
>> 
>> Please note and check the following:
>> 
>>   * The Python version is: Python3.8 from "/opt/anaconda3/bin/python"
>>   * The NumPy version is: "1.19.2"
>> 
>> and make sure that they are the versions you expect.
>> Please carefully study the documentation linked above for further help.
>> 
>> Original error was: dlopen(/opt/anaconda3/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so, 2): Library not loaded: @rpath/libopenblas.dylib
>>   Referenced from: /opt/anaconda3/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so
>>   Reason: image not found
>> 
>> ---
>> Murray Eisenberg			murrayeisenberg at gmail.com
>> 503 King Farm Blvd #101	
>> Rockville, MD 20850-6667	Mobile (413)-427-5334
>> 

Howdy,

PS: just run it as asy. Enclosed is a platexmkrc file that takes care of the processing so you can use any of the (pdf/xe/lua)latexmk engines:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: platexmkrc
Type: application/octet-stream
Size: 2961 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20201203/63709889/attachment.obj>
-------------- next part --------------

Good Luck,

Herb Schulz
herbs at wideopenwest.com




More information about the MacOSX-TeX mailing list