Hello together,
sorry I’m a newbie and have an installation problem. I’ve tried to install Pyomo on windows 10.
My approach was as follows:
1. Installing of Anaconda 2.7 for 32 bit
2. Adding PIP (C:\Anaconda\Scripts) to the system environment variables
3. Installing of Pyomo using „pip install pyomo“ in cmd --> resulting message: successfully installed pyomo-4.3.11328
4. Installing of Pyomo Extras using „pip install pyomo.extras“ --> resulting message: successfully installed pyomo.extras-2.0
5. Numpy and scipy had been already installed during the Anaconda installation (already checked)
Now the following error appears if pyomo is opened in cmd:
ImportError: error loading pyomo.command entry point pyomo.pysp2smps = pyomo.pysp.smps.pysp2smps: Original ImportError: cannot import name BasicSymbolMap
Additionally, there’s an error in the Spyder Console after using „from pyomo.environ import *“:
ImportError: pyomo.environ failed to import pyomo.pysp.plugins:
Original ImportError: cannot import name BasicSymbolMap
Traceback:
File "C:\Anaconda\lib\site-packages\pyomo\environ\__init__.py", line 45, in _import_packages
_do_import(pname)
File "C:\Anaconda\lib\site-packages\pyomo\environ\__init__.py", line 25, in _do_import
__import__(pkg_name, globals(), locals(), [], -1)
File "C:\Anaconda\lib\site-packages\pyomo\pysp\__init__.py", line 29, in <module>
import pyomo.pysp.ph
File "C:\Anaconda\lib\site-packages\pyomo\pysp\ph.py", line 34, in <module>
from pyomo.core.base import BasicSymbolMap, CounterLabeler
Could someone help me please? I have no idea what the problem is.
Thanks Stephan
On Apr 12, 2016, at 12:56 PM, stephan.fichtner1910 via Pyomo Forum <pyomo...@googlegroups.com> wrote:
Hello together,
sorry I’m a newbie and have an installation problem. I’ve tried to install Pyomo on windows 10.
My approach was as follows:
1. Installing of Anaconda 2.7 for 32 bit
2. 2. Adding PIP (C:\Anaconda\Scripts) to the system environment variables
3. 3. Installing of Pyomo using „pip install pyomo“ in cmd --> resulting message: successfully installed pyomo-4.3.11328
4. 4. Installing of Pyomo Extras using „pip install pyomo.extras“ --> resulting message: successfully installed pyomo.extras-2.0
5. 5. Numpy and scipy had been already installed during the Anaconda installation (already checked)
Now the following error appears if pyomo is opened in cmd:
ImportError: error loading pyomo.command entry point pyomo.pysp2smps = pyomo.pysp.smps.pysp2smps: Original ImportError: cannot import name BasicSymbolMap
Additionally, there’s an error in the Spyder Console after using „from pyomo.environ import *“:
ImportError: pyomo.environ failed to import pyomo.pysp.plugins:
Original ImportError: cannot import name BasicSymbolMap
Traceback:
File "C:\Anaconda\lib\site-packages\pyomo\environ\__init__.py", line 45, in _import_packages
_do_import(pname)
File "C:\Anaconda\lib\site-packages\pyomo\environ\__init__.py", line 25, in _do_import
__import__(pkg_name, globals(), locals(), [], -1)
File "C:\Anaconda\lib\site-packages\pyomo\pysp\__init__.py", line 29, in <module>
import pyomo.pysp.ph
File "C:\Anaconda\lib\site-packages\pyomo\pysp\ph.py", line 34, in <module>
from pyomo.core.base import BasicSymbolMap, CounterLabeler
Could someone help me please? I have no idea what the problem is.
Thanks Stephan
--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.