Jetson Nano 2GB 运行命令 sudo pip install Jetson.GPIO

  • 1 replies
  • 667 views
Jetson Nano 2GB 运行命令 sudo pip install Jetson.GPIO
« 于: 一月 30, 2021, 04:21:36 pm »
我要按照教程尝试安装Jetson.GPIO,但是运行命令后没有安装,却显示以下文字:
The directory '/home/tang/.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/tang/.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: Jetson.GPIO in /usr/lib/python2.7/dist-packages
————————分割线————————
我英语不是很好,请问解决办法是?谢谢。

*

sisiy

  • *****
  • 234
    • 查看个人资料
Re: Jetson Nano 2GB 运行命令 sudo pip install Jetson.GPIO
« 回复 #1 于: 二月 01, 2021, 08:51:26 pm »
1. 那个信息是”警告“不是错误
2. 完整的指令请修改为 sudo -H pip3 install Jetson.GPIO