I would like to incorporate the module pymprog in a Python 2.7 script, but it seems I can only get it to work if I use Python 3.4. For example, the command python practice.py gives me "ImportError: No module named pymprog" while python3 practice.py works fine. Am I missing something here, or does pymprog not work with Python 2.7?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using Pymprog with Python 2.7 and it works fine for me. How did you installed the module? Maybe you have just installed it in your Python3 package directory. Consider installing it with pip for Python2?
Cheers,
Julia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to incorporate the module pymprog in a Python 2.7 script, but it seems I can only get it to work if I use Python 3.4. For example, the command python practice.py gives me "ImportError: No module named pymprog" while python3 practice.py works fine. Am I missing something here, or does pymprog not work with Python 2.7?
Hello Sebastian,
I am using Pymprog with Python 2.7 and it works fine for me. How did you installed the module? Maybe you have just installed it in your Python3 package directory. Consider installing it with pip for Python2?
Cheers,
Julia