scrapyd部署项目时的错误:environment can only contain strings
2017-07-04 18:58
344 查看
这可能是个bug,因为组件的版本问题,所以我采取降低版本解决
1.降低scrapy版本,我是从1.4.0降到1.0.7
2.降低scrapyd版本,我忘了,但是我降到了1.1.1
不要用pip install 命令安装,自己去github找对应版本下载安装
连接地址:
scrapy:https://github.com/scrapy/scrapy/tree/1.0
scrapyd:https://github.com/scrapy/scrapyd/tree/1.1.1
以scrapy安装为例,scrapyd同理,下载解压,将解压后的文件夹放在你的python安装目录里,我的是e:\Python2,然后进入cmd,进入e:\Python2\scrapy\ 执行命令 python setup.py install进行安装,可能会报错 error:could not find required distribution pyasn1,再执行一遍 python setup.py install 就好了
1.降低scrapy版本,我是从1.4.0降到1.0.7
2.降低scrapyd版本,我忘了,但是我降到了1.1.1
不要用pip install 命令安装,自己去github找对应版本下载安装
连接地址:
scrapy:https://github.com/scrapy/scrapy/tree/1.0
scrapyd:https://github.com/scrapy/scrapyd/tree/1.1.1
以scrapy安装为例,scrapyd同理,下载解压,将解压后的文件夹放在你的python安装目录里,我的是e:\Python2,然后进入cmd,进入e:\Python2\scrapy\ 执行命令 python setup.py install进行安装,可能会报错 error:could not find required distribution pyasn1,再执行一遍 python setup.py install 就好了
相关文章推荐
- 关于scrapyd-deploy项目部署时出现environment can only contain strings的解决方法
- 爬虫-scrapyd:environment can only contain strings
- environment can only contain strings(scrapyd){linux&windows}
- bug宝典Python篇 environment can only contain strings
- 加载项目时:-pie can only be used when targeting iOS 4.2 or later 错误
- 常见错误tomcat部署项目报错There are no resources that can be added or removed from the server
- iBatis操作CLOB类型字段时报setString can only process strings of less than 32766 chararacters
- 转:switch引发的错误:a label can only be part of a statement and a declaration is not a statement
- 在生成安装和部署项目时出现“Unrecoverable Build Error”(不可恢复的生成错误)错误信息
- 在生成安装和部署项目时出现“Unrecoverable Build Error”(不可恢复的生成错误)错误信息
- android开发中出现Only the original thread that created a view hierarchy can touch its views.错误的解决方法
- [常见问题解答-安装和部署]错误: 无法生成项目输出组“内容文件来自WebApplication1(活动)”
- android错误: Invalid file name: must contain only [a-z0-9_.]
- hibernate错误:ORA-01461: can bind a LONG value only for insert into a LONG column
- 解决Invalid file name: must contain only [a-z0-9_.]的错误
- wince项目 从VS2005 迁移到 VS2008 后出现部署错误, 提示“系统找不到指定的文件”
- Only the original thread that created a view hierarchy can touch its views错误
- 在生成安装和部署项目时出现“Unrecoverable Build Error”(不可恢复的生成错误)错误信息
- MOSS2007用户配置文件从AD导入(选项卡无法搜索到人员),系统事件日志错误:Event ID 7888,Access Denied! Only site admin can access Data Source object from user profile DB
- 我用myeclipse导入了一个用eclipse开发的项目,项目上有个差报错,是里面几个页面报的假错,部署到tomcat后,tomcat配置里这个项目的running值是false,访问就报404错误,而且不编译class文件