2017-10-04 31 views
1

jupyter-notebookはmacOS High Sierraにアップグレードするまで正常に動作していました。誰でも "osacript:デフォルトのスクリプトコンポーネントを開くことができません"という問題を解決する方法を知っていますか?このサイトとGoogleを検索しても回答は得られませんでした。私はアナコンダにいる4.3.24。ありがとう。JupyterノートブックとmacOS High Sierra: "osascript:デフォルトのスクリプトコンポーネントを開くことができません"

$ jupyter notebook 
[I 08:12:13.340 NotebookApp] The port 8888 is already in use, trying another port. 
[I 08:12:13.360 NotebookApp] Serving notebooks from local directory: /Users/Greenhorn/Local/projects 
[I 08:12:13.360 NotebookApp] 0 active kernels 
[I 08:12:13.360 NotebookApp] The Jupyter Notebook is running at: http://localhost:8889/?token=9d8bde3a675f28b3cbc4c87b7eb0c36788b4d28260d9ed39 
[I 08:12:13.360 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). 
[C 08:12:13.361 NotebookApp] 

    Copy/paste this URL into your browser when you connect for the first time, 
    to login with a token: 
     http://localhost:8889/?token=9d8bde3a675f28b3cbc4c87b7eb0c36788b4d28260d9ed39 
osascript: can't open default scripting component. 
+0

High SierraでAnacondaを実行することによって、私は正確な問題を抱えています。あなたはすでに問題を解決しましたか? – constra

答えて

1

私は(Emacsがdo-applescript: OSA language not availableとしてエラーを報告しますが、さらにデバッグがosascriptとそのcan't open default scripting componentに私を導いた)のEmacsのAppleScriptの統合の問題を診断しながらosascriptと全く同じ問題に遭遇しました。私は最近またHigh Sierraにアップグレードしました。

オンラインでは、残念なことに、OSXの再インストールが必要であるとのアドバイスが多すぎます。

私の場合は、再起動して問題を解決しました。あなたは、テストコマンドを実行して診断することができます

:再起動後

osascript -e 'tell app "Finder" to display dialog "Hello, World!"'

を、これは "こんにちは、World!" というポップアップ必要がありますダイアログ。

関連する問題