Skip to content

ModuleNotFoundError: No module named '_curses' #4

@jamesjiadazhan

Description

@jamesjiadazhan

Below is my bug when I ran the first line of the notebook.


ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 4
3 try:
----> 4 import retip
5 except:
6 # add the parent directory to the path to load the Retip library locally in case it isn't installed

ModuleNotFoundError: No module named 'retip'

During handling of the above exception, another exception occurred:

ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 11
8 directory = os.getcwd().split("pyRetip")[0] + 'pyRetip'
9 sys.path.insert(1, directory)
---> 11 import retip

File J:\HMDB\retention_time_prediction\pyRetip\retip_init_.py:1
----> 1 from .dataset import Dataset
2 from .trainers import *
3 from . import visualization

File J:\HMDB\retention_time_prediction\pyRetip\retip\dataset.py:1
----> 1 from curses import meta
2 import numpy as np
3 import json

File ~\anaconda3\envs\pyretip\lib\curses_init_.py:13
1 """curses
2
3 The main package for curses support for Python. Normally used by importing
(...)
10
11 """
---> 13 from _curses import *
14 import os as _os
15 import sys as _sys

ModuleNotFoundError: No module named '_curses'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions