pycharm - Multiple Python Interpreters used in the same project? -


i using pycharm , lets use 1 interpreter example python 2.7.5 or python 3.5.1.

the problem have modules 1 google access analytics data , 1 called docxfactory want use together.

i can docxfactory work on python 3.5.1 , can analytics work on 2.7.5...

how can can use these 2 modules together? read answer on here said have them in 2 different projects , unless did wrong tried no success... ideas?

one idea write 2 seperate scripts; 1 analytics , 1 docxfactory. decide of these driver, , have driver shell other -- being sure invoke appropriate version of python.

ex:

#/usr/bin/env python2.7 import subprocess # analytics # ... # call docxfactory script subprocess.call(['python3', 'docxcript.py']) 

Popular posts from this blog

python 3.x - PyQt5 - Signal : pyqtSignal no method connect -

Apache NiFi ExecuteScript: Groovy script to replace Json values via a mapping file -