No module named 'custom_inherit problem in Jupyter/python3

22 views
Skip to first unread message

Safiqul Islam

unread,
Dec 29, 2019, 7:10:27 PM12/29/19
to Project Jupyter
Dear All 
I want to use Jupyter for my NGS data downstream analysis I facing a problem for "No module named 'custom_inherit"

import ipyrad.analysis as ipa
import pandas as pd

dfchunks = pd.read_csv(
    "/Users/safiqulislam/Desktop/pop/outfiles/new.vcf.gz",
    sep="\t",
    skiprows=1000,
    chunksize=1000,
)

# init a PCA tool and filter to allow no missing data
next(dfchunks).head()
converter = ipa.vcf_to_hdf5(
    name="new",
    data="/Users/safiqulislam/Desktop/pop/outfiles/new.vcf.gz",
    ld_block_size=20000,
)
# run the converter
converter.run()

###############its worked perfectly, but when I want use pca then it creates this custom_inherit problem.###################

pca = ipa.pca(
    data="./analysis-vcf2hdf5/new.snps.hdf5",
    mincov=1.0,
)


---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-45-de285ecc41b2> in <module>
----> 1 from toyplot.canvas import Canvas

~/opt/miniconda3/envs/py3/lib/python3.6/site-packages/toyplot/__init__.py in <module>
     11 import logging
     12 
---> 13 from toyplot.canvas import Canvas
     14 
     15 __version__ = "0.18.0"

~/opt/miniconda3/envs/py3/lib/python3.6/site-packages/toyplot/canvas.py in <module>
     13 import numpy
     14 import six
---> 15 import toyplot.coordinates
     16 import toyplot.broadcast
     17 import toyplot.color

~/opt/miniconda3/envs/py3/lib/python3.6/site-packages/toyplot/coordinates.py in <module>
     16 
     17 import toyplot.broadcast
---> 18 import toyplot.color
     19 import toyplot.data
     20 import toyplot.format

~/opt/miniconda3/envs/py3/lib/python3.6/site-packages/toyplot/color.py in <module>
     12 import xml.etree.ElementTree as xml
     13 
---> 14 import custom_inherit
     15 import numpy
     16 import six

ModuleNotFoundError: No module named 'custom_inherit'







Nicholas Bollweg

unread,
Dec 30, 2019, 9:41:12 PM12/30/19
to Project Jupyter
Maybe just `conda install -c conda-forge custom-inherit` or `pip install custom-inherit`?




Reply all
Reply to author
Forward
0 new messages