git bash 安装python_无法在Git Bash中安装python包

我正在尝试从我公司的内部构件存储中安装一个包。我在Gitbash中有两个我无法理解的异常。当我运行Pip Freeze时,我看不到安装包,所以我不相信它已经安装了。在

在阅读了例外之后,我不明白发生了什么,有人熟悉这个吗?在pip install --no-dependencies --user -i https://artifactory.cloud.company.com/artifactory/api/pypi/pypi-python-org/simple git+https://github.kdc.company.com/MandR/package.git

Looking in indexes: https://artifactory.cloud.company.com/artifactory/api/pypi/pypi-python-org/simple

Collecting git+https://github.kdc.company.com/MandR/package.git

Cloning https://github.kdc.company.com/MandR/package.git to c:\users\user_name\appdata\local\temp\pip-req-build-ptb41on4

Exception:

Traceback (most recent call last):

File "c:\users\user_name\appdata\local\continuum\anaconda3\lib\site-packages\pip\_internal\req\req_install.py", line 339, in check_if_exists

self.satisfied_by = pkg_resources.get_distribution(str(no_marker))

File "c:\users\user_name\appdata\local\continuum\anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 476, in get_distribution

dist = get_provider(dist)

File "c:\users\user_name\appdata\local\continuum\anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 352, in get_provider

return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]

File "c:\users\user_name\appdata\local\continuum\anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 895, in require

needed = self.resolve(parse_requirements(requirements))

File "c:\users\user_name\appdata\local\continuum\anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 786, in resolve

raise VersionConflict(dist, req).with_context(dependent_req)

pip._vendor.pkg_resources.ContextualVersionConflict: (tables 3.4.3 (c:\users\user_name\appdata\local\continuum\anaconda3\lib\site-packages), Requirement.parse('tables==3.2.0'), {'package'})

在处理上述异常时,发生了另一个异常:

^{pr2}$

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值