CFFI用户警告:'point_conversion_form_t'没有明确定义的值;

Dan*_*oss 6 python scrapy

运行抓取的抓取工具时,我收到以下警告:

C:\Users\dan\Anaconda2\envs\scrapy\lib\site-packages\cffi\model.py:526: UserWarning: 'point_conversion_form_t' has no values explicitly defined; next version will refuse to guess which integer type it is meant to be (unsigned/signed, int/long) % self._get_c_name())

在Windows 10上的以前的Anaconda Python安装中,我并没有得到这个功能。我不得不重置环境,现在可以了。

这不是阻止爬虫运行,而是令人讨厌。谁能告诉我这可能是什么原因?

Dan*_*oss 1

降级到 cffi==1.2.1 最终成为我的解决方案。