-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problems installing spearmint and testing the simple example #111
Comments
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.
|
I am also having the same issue using Python2.7. |
It doesn't work for me. |
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 |
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]$
The text was updated successfully, but these errors were encountered: