[英]Trying to install a Python package from Github
Trying to run the following: 尝试运行以下命令:
(venv)MacBook-Pro:my_project_folder gbha$ sudo install git://github.com/venthur/python-ardrone.git
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
I keep getting this message and am pretty sure it's stopping python-ardrone library from installing since I can't import the appropriate class from the file afterwards. 我一直收到此消息,并且非常确定它会阻止python-ardrone库的安装,因为此后我无法从文件中导入适当的类。
you are using install
command which is not a command used for installing python packages. 您正在使用install
命令,该命令不是用于安装python软件包的命令。
you should use pip install git+https://github.com/venthur/python-ardrone
你应该使用pip install git+https://github.com/venthur/python-ardrone
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.