看板 Statistics 關於我們 聯絡資訊
[軟體程式類別]:Stata [程式問題]:Package 安裝與使用 [軟體熟悉度]:熟悉 [問題敘述]: + 問題概述:在安裝與使用synth / synth_runner 時遇到無法讀取plugin的問題 + 系統環境:macOS Big Sur Version 11.3.1 / Apple M1 Chip + Stata版本:Stata/SE 16.1 + 問題詳述:請見以下程式範例 [程式範例]: . ssc install synth ssc install: "synth" not found at SSC, type search synth 無法透過ssc intall 安裝package 所以嘗試以下方法 . net from "https://web.stanford.edu/~jhain/Synth" . net install synth, all replace force 可以順利安裝,但資料夾中並無出現 synthopt.plugin 的檔案 此時若執行 synth 指令,會出現error . sysuse smoking . tsset state year . synth cigsale beer(1984(1)1988) lnincome retprice age15to24 cigsale(1988) cigsale(1980) cigsale(1975), trunit(3) trperiod(1989) file synthopt.plugin not found 嘗試至 https://web.stanford.edu/~jhain/Synth 手動下載 synthopt.plugin 並存入與synth.ado同一個資料夾 (也嘗試過下載synthopt.mac, 或下載synthopt.mac後改副檔名為.plugin均無法解決) 再次執行 synth,一樣會出現error . synth cigsale beer(1984(1)1988) lnincome retprice age15to24 cigsale(1988) cigsale(1980) cigsale(1975), trunit(3) trperiod(1989) Could not load plugin: /Users/username/Library/Application Support/Stata/ado/ plus/s/synthopt.plugin 嘗試在其他網路論壇蒐尋類似問題,得到的建議多是嘗試重新安裝package。 但已嘗試重新安裝多次,得到的結果都是相同。 因為之前曾經在Intel晶片上的macOS,相同Stata版本與系統環境下執行過synth並無問題, 所以不確定是否是M1晶片的問題? 想詢問有經驗的前輩是否有解決方法? 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.32.158.122 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Statistics/M.1628482378.A.50A.html