Auerilas / ecopy

Python tools for ecological data analyses
64 stars 27 forks source link

ImportError: No module named 'pca' #5

Closed aabversteeg closed 5 years ago

aabversteeg commented 8 years ago

When I try to import ecopy I get this error:

ImportErrorTraceback (most recent call last)

in () 3 import re 4 import operator ----> 5 import ecopy /opt/conda/lib/python3.5/site-packages/ecopy/**init**.py in () 3 4 from .regression import * ----> 5 from .ordination import * 6 from .diversity import * 7 from .matrix_comp import * /opt/conda/lib/python3.5/site-packages/ecopy/ordination/**init**.py in () ----> 1 from pca import pca 2 from correspondance import ca 3 from pcoa import pcoa 4 from distance import distance 5 from transform import transform ImportError: No module named 'pca'
Auerilas commented 8 years ago

Hi Ben,

Are you using Python 3? I’m aware of this issue and I have it fixed on my development copy. I’m attempting to upload the newest version now, but run into some issues. I’ll let you know when I get it sorted.

Nathan Lemoine

Research Scientist I USDA NIFA-AFRI Postdoctoral Fellow

Colorado State University Department of Biology Graduate Degree Program in Ecology

On Oct 7, 2016, at 5:51 AM, Benjamin notifications@github.com wrote:

When I try to import ecopy I get this error:

ImportErrorTraceback (most recent call last) in () 3 import re 4 import operator ----> 5 import ecopy

/opt/conda/lib/python3.5/site-packages/ecopy/init.py in () 3 4 from .regression import ----> 5 from .ordination import 6 from .diversity import 7 from .matrix_comp import

/opt/conda/lib/python3.5/site-packages/ecopy/ordination/init.py in () ----> 1 from pca import pca 2 from correspondance import ca 3 from pcoa import pcoa 4 from distance import distance 5 from transform import transform

ImportError: No module named 'pca'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Auerilas/ecopy/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AI8CSjsJ-RKCeU4GJCKD_2isBogMgGUVks5qxjIvgaJpZM4KQ8mu.

aabversteeg commented 8 years ago

Hi Nathan,

Thank you for your reply. Yes, I do use Python 3. I'm looking forward to the release!

Benjamin

2016-10-07 15:59 GMT+02:00 Auerilas notifications@github.com:

Hi Ben,

Are you using Python 3? I’m aware of this issue and I have it fixed on my development copy. I’m attempting to upload the newest version now, but run into some issues. I’ll let you know when I get it sorted.

Nathan Lemoine

Research Scientist I USDA NIFA-AFRI Postdoctoral Fellow

Colorado State University Department of Biology Graduate Degree Program in Ecology

On Oct 7, 2016, at 5:51 AM, Benjamin notifications@github.com wrote:

When I try to import ecopy I get this error:

ImportErrorTraceback (most recent call last) in () 3 import re 4 import operator ----> 5 import ecopy

/opt/conda/lib/python3.5/site-packages/ecopy/init.py in () 3 4 from .regression import ----> 5 from .ordination import 6 from .diversity import 7 from .matrix_comp import

/opt/conda/lib/python3.5/site-packages/ecopy/ordination/init.py in () ----> 1 from pca import pca 2 from correspondance import ca 3 from pcoa import pcoa 4 from distance import distance 5 from transform import transform

ImportError: No module named 'pca'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/Auerilas/ecopy/issues/5>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AI8CSjsJ-RKCeU4GJCKD_ 2isBogMgGUVks5qxjIvgaJpZM4KQ8mu>.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Auerilas/ecopy/issues/5#issuecomment-252259552, or mute the thread https://github.com/notifications/unsubscribe-auth/AFMvcZGT2lf-pOH66obMqhtBcJrz28LCks5qxlBEgaJpZM4KQ8mu .

Auerilas commented 8 years ago

Hi @aabversteeg

I just upgraded and hopefully added Python 3 compatability (at least it works on my system). Go ahead and give it a shot now.