Have intellij use different python SDKs for subdirectories in project -


i have python project this:

project/ project/code project/code/requirements.txt project/fabfile project/fabfile/requirements.txt 

project/code python3 project, need use sdk. project/fabfile has python2, because fabric doesn't support python3.

on command line have 2 virtualenvs manage this, inside intellij (with python plugin), have sdk set python3 virtualenv project sdk. result, isn't detecting different requirements in fabfile/, , marking python2 syntax errors.

how can use different sdks these?

if you're using intellij idea, can set multi-module project, , assign different interpreter each module. create 1 module 'code' content root, , 'fabfile' content root.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -