[英]“python manage.py runserver” = cannot execute binary file error (django)
new one to me commend I'm running ubuntu 10.04 relatively fresh install on my laptop manually installed django 1.2.1 向我推荐的新产品我正在运行ubuntu 10.04,在笔记本电脑上手动安装django 1.2.1时相对较新地安装
when I try to run inside of a virtualenv 当我尝试在virtualenv内部运行时
python manage.py **any command**
I get the error "bash: /home/alvin/workspace/storm-guard/virtual_damage_restoration/bin/python: cannot execute binary file " 我收到错误消息:“ bash:/ home / alvin / workspace / storm-guard / virtual_damage_restoration / bin / python:无法执行二进制文件”
I have done the following so far: 到目前为止,我已经完成了以下工作:
at this point I'm scratching my head 在这一点上,我挠头
any advice is greatly apreciated 任何建议都非常感谢
the virtualenv I was attempting to use was copied from another computer 我尝试使用的virtualenv是从另一台计算机复制的
for whatever reason when I created a new virtualenv and copied the bin directory over the existing everything started working 无论出于什么原因,当我创建一个新的virtualenv并将bin目录复制到现有的所有东西上时,它们开始工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.