我对这个错误感到害怕,我被打了2天.2天前激活了我的virtualenv,然后尝试安装一些依赖项,但pip install不断抛出此错误.
pip install django
Traceback (most recent call last):
File "/home/blackpython/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/blackpython/.local/lib/python2.7/site-packages/pip/commands/install.py", line 335, in run
wb.build(autobuilding=True)
File "/home/blackpython/.local/lib/python2.7/site-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/home/blackpython/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/home/blackpython/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/home/blackpython/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/home/blackpython/.local/lib/python2.7/site-packages/pip/index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "/home/blackpython/.local/lib/python2.7/site-packages/pip/index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "/home/blackpython/.local/lib/python2.7/site-packages/pip/index.py", …Run Code Online (Sandbox Code Playgroud) 我是汇编级编码的新手,所以我对.align的做法感到有些困惑.我已经查看了很多地方的功能.https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/ok05.html在此链接中,.align的说明在页面右侧的红色框中给出.我评论的另一个地方是http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489c/Babecdje.html.地址是4字节对齐还是8字节对齐是什么意思?
如果我在我的代码中使用以下说明
.align 4
pattern:
Run Code Online (Sandbox Code Playgroud)
然后意味着分配给模式的地址将是4*n或16*n(2 ^ 4 = 16)的形式.