尝试了.问题如下: Using cached https://files.pythonhosted.org/packages/95/19/124e9287b43e6ff3ebb9cdea3e5e8e88475a873c05ccdf8b7e20d2c4201e/paramiko-2.7.2-py2.py3-none-any.whl Collecting bcrypt>=3.1.3 (from paramiko==2.7.2) Using cached https://files.pythonhosted.org/packages/8c/ae/3af7d006aacf513975fd1948a6b4d6f8b4a307f8a244e1a3d3774b297aad/bcrypt-4.0.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-_VgLcj/bcrypt/setup.py", line 73 print(f" Python: {'.'.join(str(v) for v in sys.version_info[:3])}") ^ SyntaxError: invalid syntax ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_VgLcj/bcrypt/ You are using pip version 8.1.2, however version 23.1.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
时间: 2024-04-25 14:27:57 浏览: 33
这个错误提示是因为在安装 bcrypt 时,出现了语法错误。这个问题通常是由于使用了不兼容 Python 版本的语法导致的。
你可以尝试升级 Python 版本或者使用较旧的 bcrypt 版本来解决问题。你可以尝试安装 bcrypt 3.1.7 版本:
```
pip install bcrypt==3.1.7
```
然后再重新安装 paramiko:
```
pip install paramiko==2.7.2
```
如果还有其他问题,请告诉我。
相关问题
/bin/sh: 1: ../../catkin_generated/env_cached.sh: Permission denied
这个错误通常表示你在运行脚本时没有执行权限。你可以尝试使用`chmod +x`命令给脚本添加执行权限,例如:
```
chmod +x ../../catkin_generated/env_cached.sh
```
然后再次运行脚本看看是否能够执行成功。如果问题仍然存在,可能是由于其他权限或路径问题导致的,请提供更多的上下文信息,以便我能够更好地帮助你。
fatal: duplicate path external/configfiles in /home/xiaolong/work/g4/.repo/m
这个错误提示意味着你在你的仓库中有两个相同的路径,即 `external/configfiles`。这可能会导致 Git 混淆,并阻止它正确地跟踪和管理你的代码。
你可以通过以下步骤来解决这个问题:
1. 进入你的仓库根目录。
2. 执行 `git rm -r --cached external/configfiles`,将该文件从 Git 中删除,但不会删除实际文件。
3. 在 `.gitignore` 文件中添加 `external/configfiles`,这样 Git 就会忽略该文件夹。
4. 执行 `git add .` 将所有更改添加到 Git 中。
5. 最后,执行 `git commit -m "Remove duplicate path external/configfiles"` 提交更改。
这样就解决了你的问题。