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.

pybulletをインストールするときのエラーと対処法

Posted at

pybulletをインストールする機会があり、その際のエラーの対処法をメモしておく。
#環境

  • macOS Big Sur バージョン11.6
  • Python 3.8

#やったこと

###pipでインストール

pip install pybullet

するとエラーと同時にこんな表記が

You have not agreed to the Xcode license agreements, please run 'sudo xcodebuild -license' from within a Terminal window to review and agree to the Xcode license agreements.

どうやらターミナルから規約に同意してくださいということらしい。

###Xcode licenseに同意する

User$ sudo xcodebuild -license

すると

You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.

Press the 'return' key to view the license agreements at '/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf'

エンターキーを押すと規約が表示されるのでスペースキーで最後まで移動。最後に同意を求められるのでagreeと入力する。

もう一度 pip install pybulletでインストール完了。

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?