简体   繁体   中英

how to change template directory for scrapy

I have python 2.7 and 3.5 on my machine , and i want start a new project using python 2.7 as a base interpreter, but whenever i do scrapy startproject <project name> it shows python 3.5 as the template directory,

New Scrapy project 'startproject', using template directory 'c:\\users\\user\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\scrapy\\templates\\project'

so my question is how can i change template directories from 3.5 to 2.7,

any help?

我通过在virtualenv和vc python中重新安装scrapy解决了此问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM