Open jeremygoetz opened 7 years ago
I had the same issue when running main.py. It says no module named "abstractdb"
Had this issue, turns out to be because I was trying to run under python 3 instead of python 2. (Though for a new python 2 conda environment, I also had to install the weave module and rename all instances of scipy.weave to weave)
I am using python 2 but still have the same problem.
Had the same issue with in python3 (and the weave-issue when I was still using python2)
If you upgrade the spearmint code using futurize, there is no more import error.
pip3 install future
futurize -0 -w /path/to/spearmint
I am using python 2 but still have the same problem.
I am also having the same issue using Python2.7.
Had the same issue with in python3 (and the weave-issue when I was still using python2)
If you upgrade the spearmint code using futurize, there is no more import error.
pip3 install future futurize -0 -w /path/to/spearmint
It doesn't work for me.
Had the same issue with in python3 (and the weave-issue when I was still using python2)
If you upgrade the spearmint code using futurize, there is no more import error.
pip3 install future futurize -0 -w /path/to/spearmint
I have the same problem with both python 2 and 3. This solution does not work for me.
Try changing the import AbstractDB line in spearmint/utils/database/mongodb.py to
from spearmint.utils.database.abstractdb import AbstractDB
I am running on a red hat 7.... linux system.
This is the issue i get with mongod:
mongod --fork --logpath logfile --dbpath datadir about to fork child process, waiting until server is ready for connections. forked process: 9716 ERROR: child process failed, exited with error number 48
The issue running main.py
File "main.py", line 198, in
from spearmint.utils.database.mongodb import MongoDB
File "/home/jgoetz2/stm/Spearmint-master/spearmint/utils/database/mongodb.py", line 190, in
from abstractdb import AbstractDB
ImportError: No module named 'abstractdb'
[2]+ Exit 1 nohup ipython STMBrainHidden1layerMichaelAdam1.py > /dev/null 2>&1 (wd: ~/stm)
(wd now: ~/stm/Spearmint-master/spearmint)
[jgoetz2@pyrochlore spearmint]$