当我在我的 Git 存储库之一中执行 运行 'ls' 命令时出现无法解释的条目
unexplained entry appears when i run 'ls' command in one of my Git repositories
当我从终端 'cd' 进入我的一个 GIT 存储库和 运行 ls 命令时,我可以看到两个条目。我希望看到其中一个,因为它是我创建的 python 文件,但我也看到了一个条目“=3.4.0”。这是什么条目?似乎是某种版本号。有人可以阐明这一点吗?
看起来你 运行 命令行中的内容类似于以下内容
$ pip install protobuf>=3.4.0
但是 shell 中的 >
字符是输出重定向运算符,因此您的 shell 将其读作 "run pip install protobuf
and pipe its standard output to a file named =3.4.0
"
将来,当尝试使用某些版本说明符 pip 安装包时,我建议将其放在引号中以防止出现类似这样的问题:
$ pip install 'protobuf>=3.4.0'
当我从终端 'cd' 进入我的一个 GIT 存储库和 运行 ls 命令时,我可以看到两个条目。我希望看到其中一个,因为它是我创建的 python 文件,但我也看到了一个条目“=3.4.0”。这是什么条目?似乎是某种版本号。有人可以阐明这一点吗?
看起来你 运行 命令行中的内容类似于以下内容
$ pip install protobuf>=3.4.0
但是 shell 中的 >
字符是输出重定向运算符,因此您的 shell 将其读作 "run pip install protobuf
and pipe its standard output to a file named =3.4.0
"
将来,当尝试使用某些版本说明符 pip 安装包时,我建议将其放在引号中以防止出现类似这样的问题:
$ pip install 'protobuf>=3.4.0'