0

I have a virtual env created under Python 3.7. A main program can be installed and ran under Python 3.7. However, this main program requires a side program that can be only installed under Python 2.7.

How to install this side program under the Conda virtual env (Python 3.7)?

On the other hand, I have installed the side program in a virtual env (Python 2.7). How to install the main program that requires Python 3.7 in this virtual env?

I am doing this on a Mac.

Thanks a lot.

AMC
  • 2,535
  • 7
  • 12
  • 34
Kuo-Hsien Chang
  • 867
  • 15
  • 34
  • do you have a `.bat` file that can install python2.7, you may have to do some re-configuration to the current virtualenv to run py2.7. – FishingCode Apr 08 '20 at 23:50
  • Nope. I do not have the bat file. – Kuo-Hsien Chang Apr 09 '20 at 00:25
  • Can you provide some more context for this? What do you mean by _this main program requires a side program_ ? – AMC Apr 09 '20 at 01:04
  • install both the python versions. Call the respective programs with the absolute path of the respective python version – m0dknight Apr 09 '20 at 02:17
  • this may be helpful, [link](https://stackoverflow.com/questions/45293436/how-to-specify-python-version-used-to-create-virtual-environment/45293556#45293556) – FishingCode Apr 09 '20 at 02:24

0 Answers0