Question: How to use Mantel module on jupyter notebook (python)?
0
gravatar for oseias.rf.junior
6 months ago by
oseias.rf.junior0 wrote:

I'm trying to use the Mantel test as described here: http://jwcarr.github.io/MantelTest/. I try to import or even install using pip but it just doesn't work on jupyter. I keep getting the following error: "ModuleNotFoundError: No module named 'mantel". Does anybody know how have access to this module on jupyter? Thanks in advance!

manteltest jupyter python • 159 views
ADD COMMENTlink written 6 months ago by oseias.rf.junior0

Hi, I think there are two things you can check:

  1. Can you import your module in python interactive? means just type python, then import mantel
  2. If you can import in pure python, is the python used by jupyter the same as the python in the 1st step?
ADD REPLYlink written 6 months ago by yztxwd380

Thanks! I'm a beginner on python and jupyter. But I've figured. Mantel module is not like NumPy or SciPy (these are like native-modules of python). I had to download the git folder of mantel module to my computer cd to it and then it eventually worked.

answering your second question, I believe I'd have to upload it or access this same module through jupyter to use its functionalities.

ADD REPLYlink written 6 months ago by oseias.rf.junior0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 812 users visited in the last hour