gpt4 book ai didi

c++ - 无法安装柯南软件包特征

转载 作者:行者123 更新时间:2023-12-02 10:38:22 24 4
gpt4 key购买 nike

我正在尝试安装一些食谱,但是遇到某种身份验证问题。当我做

conan install eigen/3.3.7@conan/stable

我收到以下错误
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

eigen/3.3.7@conan/stable: Not found in local cache, looking in remotes...
eigen/3.3.7@conan/stable: Trying with 'conan-local'...
eigen/3.3.7@conan/stable: Trying with 'bincrafters_remote'...
eigen/3.3.7@conan/stable: Trying with 'conan-community'...
Downloading conanmanifest.txt: 100%|##########| 165/165 [00:00<00:00, 345kB/s]
Downloading conanfile.py: 100%|##########| 2.43k/2.43k [00:00<00:00, 7.34MB/s]
Downloading conan_export.tgz: 100%|##########| 766/766 [00:00<00:00, 2.53MB/s]
Decompressing conan_export.tgz: 100%|##########| 766/766 [00:00<00:00, 358kB/s]
eigen/3.3.7@conan/stable: Downloaded recipe revision 0
Installing package: eigen/3.3.7@conan/stable
Requirements
eigen/3.3.7@conan/stable from 'conan-community' - Downloaded
Packages
eigen/3.3.7@conan/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download

eigen/3.3.7@conan/stable: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-community'
Downloading conanmanifest.txt: 100%|##########| 42.3k/42.3k [00:00<00:00, 1.22MB/s]
Downloading conaninfo.txt: 100%|##########| 150/150 [00:00<00:00, 460kB/s]
eigen/3.3.7@conan/stable: ERROR: Exception while getting package: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
eigen/3.3.7@conan/stable: ERROR: Exception: <class 'conans.errors.ForbiddenException'> Permission denied for user: 'jjcasmar'. [Remote: conan-community]
eigen/3.3.7@conan/stable: WARN: Trying to remove package folder: /home/jjcasmar/.conan/data/eigen/3.3.7/conan/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
ERROR: Permission denied for user: 'jjcasmar'. [Remote: conan-community]

我的 Remote 如下:
conan-local: some-private-url [Verify SSL: True]
bincrafters_remote: https://api.bintray.com/conan/bincrafters/public-conan [Verify SSL: True]
conan-community: https://api.bintray.com/conan/conan-community/conan [Verify SSL: True]
conan-center: https://api.bintray.com/conan/conan/conan-center [Verify SSL: True]

conan user的输出如下
Current user of remote 'conan-local' set to: 'None' (anonymous)
Current user of remote 'bincrafters_remote' set to: 'None' (anonymous)
Current user of remote 'conan-community' set to: 'jjcasmar' [Authenticated]
Current user of remote 'conan-center' set to: 'None' (anonymous)

因此,如果我正确地通过了柯南社区的身份验证,为什么在尝试安装配方时出现权限定义错误。另外,尽管我安装了配方,但无需进行身份验证,所以这里发生了什么?

编辑:
我也尝试过在没有身份验证的情况下安装配方,但是在那种情况下,它只要求输入用户名/密码。如果我尝试使用Bintray用户名和密码,它将拒绝它们。
eigen/3.3.7@conan/stable: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' 
Downloading conanmanifest.txt: 100%|##########| 42.3k/42.3k [00:00<00:00, 1.33MB/s]
Downloading conaninfo.txt: 100%|##########| 150/150 [00:00<00:00, 407kB/s]
Please log in to "conan-center" to perform this action. Execute "conan user" command.
If you don't have an account sign up here: https://bintray.com/signup/oss
Remote 'conan-center' username: jjcasmar
Please enter a password for "jjcasmar" account:
ERROR: Wrong user or password
Remote 'conan-center' username:

最佳答案

我在2020年的Ubuntu 18.04上遇到了这个问题,并且能够通过以下终端命令升级到Conan 1.20.2来解决此问题:
sudo -H pip3 uninstall conansudo -H pip3 install conan==1.20.2

关于c++ - 无法安装柯南软件包特征,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58513773/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com