orbital icon indicating copy to clipboard operation
orbital copied to clipboard

raise child_exception_type(errno_num, err_msg, err_filename) in Mac OS X (Catalina)

Open OrbitalMechanic opened this issue 5 years ago • 0 comments

I just transitioned to a Mac Pro (2019) that runs Mac OS X 10.15.3 (Catalina) using the Anaconda distribution for Python 3.7.3. In running the Hohmann Transfer example the following results occurred.

(base) Samuels-Mac-Pro:Keplerain Orbit Trajectory Plots - OrbitalPy-v0.7.0(python3) user$ python OrbitalPy_Hohmann.py Traceback (most recent call last): File "OrbitalPy_Hohmann.py", line 17, in from orbital import earth, KeplerianElements, plot, plot3d, StateVector File "/Users/user/anaconda3/lib/python3.7/site-packages/orbital/init.py", line 8, in from .plotting import * File "/Users/user/anaconda3/lib/python3.7/site-packages/orbital/plotting.py", line 12, in from matplotlib import animation File "/Users/user/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 737, in class ImageMagickWriter(ImageMagickBase, MovieWriter): File "/Users/user/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 120, in wrapper if writerClass.isAvailable(): File "/Users/user/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 730, in isAvailable return super().isAvailable() File "/Users/user/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 427, in isAvailable return shutil.which(cls.bin_path()) is not None File "/Users/user/anaconda3/lib/python3.7/site-packages/matplotlib/animation.py", line 724, in bin_path binpath = mpl._get_executable_info('magick').executable File "/Users/user/anaconda3/lib/python3.7/site-packages/matplotlib/init.py", line 385, in _get_executable_info return impl([path, "--version"], r"^Version: ImageMagick (\S*)") File "/Users/user/anaconda3/lib/python3.7/site-packages/matplotlib/init.py", line 325, in impl universal_newlines=True, errors="replace") File "/Users/user/anaconda3/lib/python3.7/subprocess.py", line 395, in check_output **kwargs).stdout File "/Users/user/anaconda3/lib/python3.7/subprocess.py", line 472, in run with Popen(*popenargs, **kwargs) as process: File "/Users/user/anaconda3/lib/python3.7/subprocess.py", line 775, in init restore_signals, start_new_session) File "/Users/user/anaconda3/lib/python3.7/subprocess.py", line 1522, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: 'convert' (base) Samuels-Mac-Pro:Keplerain Orbit Trajectory Plots - OrbitalPy-v0.7.0(python3) user$

A copy of the Python program used is attached to this post as a text file.

Please advise.

Sam Dupree.

OrbitalPy_Hohmann.py.txt

OrbitalMechanic avatar Feb 15 '20 07:02 OrbitalMechanic