ImportError: No module named allelefreq

1,122 views
Skip to first unread message

Seta

unread,
Oct 28, 2014, 3:58:06 AM10/28/14
to structure...@googlegroups.com
Hello!

I wondered whether anyone can help me with the following error:
ImportError: No module named allelefreq

I've followed all the instructions in de readme file, installed all the programs that fastStructure depends on, but I keep getting this error and hence cannot get fastSturcture running :(.

Thank you in advance for your help!

Seta

Vikram Chhatre

unread,
Oct 28, 2014, 9:23:46 AM10/28/14
to structure-software
Hi Seta -

Can you run the example data set w/o error?




Seta

--
You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.
Visit this group at http://groups.google.com/group/structure-software.
For more options, visit https://groups.google.com/d/optout.

Seta

unread,
Oct 30, 2014, 8:59:10 AM10/30/14
to structure...@googlegroups.com
Hi Vikram,

THank you for your help!
No, I get the same error....


On Tuesday, October 28, 2014 2:23:46 PM UTC+1, Vikram Chhatre wrote:
Hi Seta -

Can you run the example data set w/o error?


On Tue, Oct 28, 2014 at 3:58 AM, Seta <seta...@gmail.com> wrote:
Hello!

I wondered whether anyone can help me with the following error:
ImportError: No module named allelefreq

I've followed all the instructions in de readme file, installed all the programs that fastStructure depends on, but I keep getting this error and hence cannot get fastSturcture running :(.

Thank you in advance for your help!

Seta

--
You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-software+unsub...@googlegroups.com.

Vikram Chhatre

unread,
Oct 30, 2014, 9:22:27 AM10/30/14
to structure-software
That would point to a problem with the installation.  Make sure you have installed all the required python modules: numpy, scipy in addition to GNU scientific library.  Finally make sure to export the LD_LIBRARY_PATH.

I wouldn't try any other data set until the example runs without errors.

V

To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.

Seta

unread,
Oct 30, 2014, 9:29:34 AM10/30/14
to structure...@googlegroups.com
Hi Vikram,

Thank you. I'm installing GSL again....just to make sure: I don't have to put GSL in my path right? Because it does that on itself.....or am i missing something?


On Thursday, October 30, 2014 2:22:27 PM UTC+1, Vikram Chhatre wrote:
That would point to a problem with the installation.  Make sure you have installed all the required python modules: numpy, scipy in addition to GNU scientific library.  Finally make sure to export the LD_LIBRARY_PATH.

I wouldn't try any other data set until the example runs without errors.

V
On Thu, Oct 30, 2014 at 8:59 AM, Seta <seta...@gmail.com> wrote:
Hi Vikram,

THank you for your help!
No, I get the same error....

On Tuesday, October 28, 2014 2:23:46 PM UTC+1, Vikram Chhatre wrote:
Hi Seta -

Can you run the example data set w/o error?


On Tue, Oct 28, 2014 at 3:58 AM, Seta <seta...@gmail.com> wrote:
Hello!

I wondered whether anyone can help me with the following error:
ImportError: No module named allelefreq

I've followed all the instructions in de readme file, installed all the programs that fastStructure depends on, but I keep getting this error and hence cannot get fastSturcture running :(.

Thank you in advance for your help!

Seta

--
You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-software+unsubscribe@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.
Visit this group at http://groups.google.com/group/structure-software.
For more options, visit https://groups.google.com/d/optout.

Vikram Chhatre

unread,
Oct 30, 2014, 9:45:27 AM10/30/14
to structure-software
Refer to the section named: Building Python Extensions at http://rajanil.github.io/fastStructure/

V

To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.

prakash kancherla

unread,
Jun 23, 2015, 10:16:05 AM6/23/15
to structure...@googlegroups.com
Hai Vikram,

I just started installing faststructure. i have installed all the dependences, i have followed the instructions given http://rajanil.github.io/fastStructure/.

i started working with test samples and i get an error *ImportError: No module named allelefreq*. read your comments in the forum. while istallation in could not find how to LD_LIBRARY_PATH. i dont understand whats does it mean. have looked into gsl library but still i could not find the path. wish you could help me in this.

thanks in advance.
Prakash

On Thursday, 30 October 2014 14:22:27 UTC+1, Vikram Chhatre wrote:
> That would point to a problem with the installation.  Make sure you have installed all the required python modules: numpy, scipy in addition to GNU scientific library.  Finally make sure to export the LD_LIBRARY_PATH.
>
>
> I wouldn't try any other data set until the example runs without errors.
>
>
> V
>
>
> On Thu, Oct 30, 2014 at 8:59 AM, Seta <seta...@gmail.com> wrote:
>
> Hi Vikram,
>
>
> THank you for your help!
> No, I get the same error....
>
> On Tuesday, October 28, 2014 2:23:46 PM UTC+1, Vikram Chhatre wrote:
> Hi Seta -
>
>
> Can you run the example data set w/o error?
>
>
>
>
>
>
> On Tue, Oct 28, 2014 at 3:58 AM, Seta <seta...@gmail.com> wrote:
> Hello!
>
>
>
> I wondered whether anyone can help me with the following error:
>
> ImportError: No module named allelefreq
>
>
>
> I've followed all the instructions in de readme file, installed all the programs that fastStructure depends on, but I keep getting this error and hence cannot get fastSturcture running :(.
>
>
>
> Thank you in advance for your help!
>
>
>
> Seta
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "structure-software" group.
>

Vikram Chhatre

unread,
Jun 23, 2015, 10:19:54 AM6/23/15
to structure-software
Have you followed directions in the 'Building Library Extensions' part of the tutorial?  Assuming you are on osx or linux, you can put the export commands inside /home/username/.bash_profile or .bashrc, then source it as suggested in the tutorial.

If your gsl is installed in a nonstandard location, you will need to edit the path to reflect that location.


prakash

unread,
Jun 25, 2015, 9:33:14 AM6/25/15
to structure...@googlegroups.com
Thank you Vikram, got it done working.

/Prakash

--
You received this message because you are subscribed to a topic in the Google Groups "structure-software" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/structure-software/bdsmLwYtgdM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to structure-softw...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages