0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

google magentaのインストール方法

Last updated at Posted at 2020-01-07

#installation

公式のInstallationを参考

基本的には pip install magentaでmagentaをInstallすれば大丈夫。

しかし

(PassInf && "Expected all immutable passes to be initialized"), function addImmutablePass, file /Users/*/*/*/*/work/lib/IR/LegacyPassManager.cpp, line 849.

とエラーが。。

どうやらpyarrowをupdateしないといけないみたい。
```pip install -U pyarrow```で解決!

# fluidsynthを最新にする

magentaはfluidsynthを使っている場合があるので、最新にする必要がある。

>```File "/*/*/*/*/python3.6/site-packages/pretty_midi/instrument.py", line 428, in fluidsynth
    fl = fluidsynth.Synth(samplerate=fs)
AttributeError: module 'fluidsynth' has no attribute 'Synth'

よくある間違い

pip install fluidsynthで解決と思いきやそうではない。
brew install fluidsynthとやる必要があります。すでにfluidsynthがある場合は、brew upgrade fluidsynthで大丈夫でした。

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?