Could not write lines to file ".manifest"

博客指出git有SSL和https两种登录验证方式,并给出两个解决方案。一是使用Https代理登录,需每次输用户名和密码,还介绍了使用git代理的具体步骤;二是重新设置SSL。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

因为git有两种登录验证方式SSL和https,所以有两个解决方案:

1. 使用Https代理登录,需要每次输入用户名和密码;

原帖地址:http://blog.chinaunix.net/space.php?uid=15059847&do=blog&id=3010967

git clone https://code.google.com/p/android-os-monitor.osmonitor/
Cloning into android-os-monitor.osmonitor…
error: Unknown SSL protocol error in connection to code.google.com:443 while accessing https://code.google.com/p/android-os-monitor.osmonitor/info/refs

fatal: HTTP request failed

使用git代理解决这个问题

1>check out goagent代码

git clone git://github.com/phus/goagent.git

2>进入goagent/local,启动本地代理服务器

cd goagent/local

python proxy.py

3> 设置git的http.proxy

git config –global http.proxy “127.0.0.1:8000”

4> 再试试check out 代码看看

git clone https://code.google.com/p/android-os-monitor.osmonitor/

2. 重新设置SSL

jetson@ubuntu:~$ pip install write Defaulting to user installation because normal site-packages is not writeable Collecting write Downloading write-2020.12.3.tar.gz (1.5 kB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of write to determine which version is compatible with other requirements. This could take a while. Downloading write-2020.7.1.tar.gz (1.6 kB) Preparing metadata (setup.py) ... done Discarding https://files.pythonhosted.org/packages/75/e2/07bf5efaa9e0f389b0720c20e9cfb6c11d2b743f807e5b15943da5d73eca/write-2020.7.1.tar.gz (from https://pypi.org/simple/write/): Requested write from https://files.pythonhosted.org/packages/75/e2/07bf5efaa9e0f389b0720c20e9cfb6c11d2b743f807e5b15943da5d73eca/write-2020.7.1.tar.gz has inconsistent version: expected '2020.7.1', but metadata has '0.0.0' Downloading write-2019.4.13.tar.gz (1.6 kB) Preparing metadata (setup.py) ... done Downloading write-2019.3.24-py2.py3-none-any.whl.metadata (1.6 kB) Downloading write-2018.11.22-py2.py3-none-any.whl.metadata (1.4 kB) Downloading write-2018.11.20-py2.py3-none-any.whl.metadata (1.4 kB) Collecting fullpath (from write) Downloading fullpath-0.0.post0.tar.gz (683 bytes) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [14 lines of output] running egg_info creating /tmp/pip-pip-egg-info-z__4kqr0/fullpath.egg-info writing /tmp/pip-pip-egg-info-z__4kqr0/fullpath.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-z__4kqr0/fullpath.egg-info/dependency_links.txt writing top-level names to /tmp/pip-pip-egg-info-z__4kqr0/fullpath.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-z__4kqr0/fullpath.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-z__4kqr0/fullpath.egg-info/SOURCES.txt' writing manifest file '/tmp/pip-pip-egg-info
最新发布
03-23
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值