Bad CPU type in executable: 'CLUMPP' problem in macOS catalina

19 views
Skip to first unread message

Safiqul Islam

unread,
Feb 12, 2020, 10:08:49 AM2/12/20
to Project Jupyter
I am macOS cataline user i am facing this following problem, any suggestion 

k = 3
table = struct.get_clumpp_table(k)


k = 3
table = struct.get_clum---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-34-466182637728> in <module>
      1 k = 3
----> 2 table = struct.get_clumpp_table(k)

~/opt/miniconda3/envs/treemix/lib/python3.6/site-packages/ipyrad/analysis/structure.py in get_clumpp_table(self, kvalues, max_var_multiple, quiet)
    519 
    520         if isinstance(kvalues, int):
--> 521             return _get_clumpp_table(self, kvalues, max_var_multiple, quiet)
    522         else:
    523             tabledict = {}

~/opt/miniconda3/envs/treemix/lib/python3.6/site-packages/ipyrad/analysis/structure.py in _get_clumpp_table(self, kpop, max_var_multiple, quiet)
    809 
    810     # call clumpp
--> 811     proc = sps.Popen(cmd, stderr=sps.STDOUT, stdout=sps.PIPE)
    812     comm = proc.communicate()
    813 

~/opt/miniconda3/envs/treemix/lib/python3.6/subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors)
    707                                 c2pread, c2pwrite,
    708                                 errread, errwrite,
--> 709                                 restore_signals, start_new_session)
    710         except:
    711             # Cleanup if the child failed starting.

~/opt/miniconda3/envs/treemix/lib/python3.6/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session)
   1342                         if errno_num == errno.ENOENT:
   1343                             err_msg += ': ' + repr(err_filename)
-> 1344                     raise child_exception_type(errno_num, err_msg, err_filename)
   1345                 raise child_exception_type(err_msg)
   1346 

OSError: [Errno 86] Bad CPU type in executable: 'CLUMPP'
Reply all
Reply to author
Forward
0 new messages