在为我的一个项目安装依赖项时,我遇到了坏的封送数据错误。如果我们使用标准的virtualenv安装,它可以正常工作,没有错误。在
这是我的一部分zc.扩建(当前导致错误的部分被注释掉):
[buildout]
versions = versions
extensions = mr.developer
unzip = true
include-site-packages = false
# FIXME
# Attempting to install from here via buildout raises a bad marshal data error
# I should note that this errors does _not_ occur when we install in a
# clean virtual environment. It only happens in buildout.
# find-links = https://<myuser>:<mypass>@www.reportlab.com/pypi/simple/rlextra/
# Temporary solution, we included the package manually and will add it as
# a develop egg, then in the "django" part further down, we need to
# include the package in the extra-paths.
develop = ${buildout:directory}/libs/rlextra-3.1.9
回溯:
^{pr2}$有人知道是什么导致了这个问题,以及如何解决它。我们目前正在通过手动下载并包含包(您可以在buildout配置中看到)来管理这一点,这并不理想。在
我认为这可能与我们过去混淆被认为是专有文件的方式有关。直到3个月前,我们希望隐藏的模块都是以原始pyc文件的形式传输的,其后缀表示它们的python版本,例如rml2pdf_27.pyc,rml2pdf_33.pyc等
现在,我们传输一个python文件,其中包含嵌入的编译代码作为数据,因此它现在不应该对打包程序可见。这种变化发生在3.1.9创建之后。在
相关问题 更多 >
编程相关推荐