-
Notifications
You must be signed in to change notification settings - Fork 4
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
AttributeError: 'module' object has no attribute 'simul' #3
Comments
It looks like the syntax changed for egglib v.3, which is super new and still apparently in beta testing. Sorry, I know egglib is a pain to install, but you'll have to go back to egglib v2 for simrrls to work. |
Hi |
Hi, When I call simrrls I get the following error message: However, I have installed eggless v2.1.11. P.S. python v 2.7 Thank You |
Hi Claudia Not quite sure what could be wrong. Please find below my installation notes. Maybe you can find out what is notes:
HTH cd /usr/local/anaconda/binconda create -n simrrls python=2.7 numpy pip--> installs the following dependencies:
To activate this environment, use:$ source activate simrrlsTo deactivate this environment, use:$ source deactivate"""""""""""""""""""""""""""""""""""""""" source /usr/local/anaconda/bin/activate simrrlscd /usr/local/build==== egglib v2.1.11 ===== see http://mycor.nancy.inra.fr/egglib/releases/2.1.11/egglib.pdf for mkdir /usr/local/egglib-2.1.11wgethttp://mycor.nancy.inra.fr/egglib/releases/2.1.11/egglib-cpp-2.1.11.tar.gz wgethttp://mycor.nancy.inra.fr/egglib/releases/2.1.11/egglib-py-2.1.11.tar.gz tar zxvf egglib-cpp-2.1.11.tar.gztar zxvf egglib-py-2.1.11.tar.gzcd egglib-cpp-2.1.11./configure --prefix=/usr/local/egglib-2.1.11makemake installcd ..cd egglib-py-2.1.11python setup.py build --prefix=/usr/local/egglib-2.1.11python setup.py install --prefix=/usr/local/egglib-2.1.11==== simrrls ==== cd ..git clone https://github.com/dereneaton/simrrls.gitcd simrrlspip install --upgrade . |
Hi
I installed simrrls using egglib 3.0.0b5 as well as egglib 3.0.0b6. (tested and working according to the egglib homepage)
Running simrrls -h works but running the example usages always results in errors:
$ simrrls -o test1 -N 1e6 -n 4 -L 1000
Traceback (most recent call last):
File "/usr/local/anaconda/envs/simrrls_egglib_old/bin/simrrls", line 9, in
load_entry_point('simrrls==0.0.10', 'console_scripts', 'simrrls')()
File "/usr/local/anaconda/envs/simrrls_egglib_old/lib/python2.7/site-packages/simrrls/main.py", line 17, in main
run(params)
File "/usr/local/anaconda/envs/simrrls_egglib_old/lib/python2.7/site-packages/simrrls/simrrls.py", line 464, in run
tiptax, paramset = checkopts(params)
File "/usr/local/anaconda/envs/simrrls_egglib_old/lib/python2.7/site-packages/simrrls/simrrls.py", line 29, in checkopts
tiptax, paramset = defaulttree(params)
File "/usr/local/anaconda/envs/simrrls_egglib_old/lib/python2.7/site-packages/simrrls/simrrls.py", line 87, in defaulttree
paramset = egglib.simul.CoalesceParamSet(
AttributeError: 'module' object has no attribute 'simul'
Is this an actual error in the code or am I missing some files? I followed the installation steps outlined on the github page... the simrrls is installed an anaconda test environment.
Additional infos/versions:
$ python --version
Python 2.7.11 :: Continuum Analytics, Inc.
$ simrrls --version
simrrls 0.0.10
Does anybody else have this problem? Thanks for any hints....
The text was updated successfully, but these errors were encountered: