0
ROSとガゼボのインタフェースにはthis tutorialに従っています。pythonパッケージ "toml"をインストールできない
私は
メイクposix_sitl_defaultガゼボ
[ 0%] Built target git_driverframework
[ 0%] Built target git_gps_devices
[ 0%] Built target uorb_headers
[ 2%] Built target df_driver_framework
[ 3%] Built target git_mavlink2
[ 3%] Built target git_mavlink
[ 3%] Built target git_ecl
[ 3%] Built target mixer_gen_legacy
[ 4%] Generating mixer_multirotor_6dof.generated.h
[ 4%] Generating mixer_multirotor_normalized.generated.h
[ 4%] Generating mixer_multirotor.generated.h
[ 5%] Built target ver_gen
('python import error: ', ImportError('No module named toml',))
('python import error: ', ImportError('No module named toml',))
Required python packages not installed.
On a GNU/Linux or MacOS system please run:
sudo pip install numpy toml
On Windows please run:
easy_install numpy toml
Required python packages not installed.
On a GNU/Linux or MacOS system please run:
sudo pip install numpy toml
On Windows please run:
easy_install numpy toml
を実行すると、私はUbuntuの16.04を使用していますので、私はsudoのピップnumpyのtomlをインストールするが、使用します。私はどうやら
The directory '/home/nando/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/nando/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: numpy in /opt/anaconda/lib/python2.7/site-packages
Requirement already satisfied: toml in /opt/anaconda/lib/python2.7/site-packages
既に要件を満たしていますが、私は同じエラーメッセージwhを受け取り続けます最初のコマンドを実行します。 これを修正するにはどうすればよいですか?
のためにこれを解決
は、rootユーザーでそれを実行しているか、使用してみましたsudo? – planet260
私はちょうどそれをやったが、まったく同じエラーが表示されます。 –
'sudoでpipを実行している場合、sudoの-Hフラグ'が必要な場合があります。あなたもそれを試しましたか? –