divelab/MoleculeX

Descriptors, descriptor generator not installed

WGDMS opened this issue · 0 comments

WGDMS commented

Help me to solve the following error with !bash scripts/tran_data.sh on colab
I have already installed !pip install git+https://github.com/bp-kelley/descriptastorus.

ERROR:root:Unable to make new descriptors, descriptor generator not installed
Traceback (most recent call last):
File "../src/tran_data.py", line 120, in
from descriptastorus.descriptors import rdNormalizedDescriptors
File "/usr/local/lib/python3.7/site-packages/descriptastorus/descriptors/init.py", line 2, in
from .DescriptorGenerator import *
File "/usr/local/lib/python3.7/site-packages/descriptastorus/descriptors/DescriptorGenerator.py", line 34, in
import pandas as pd
File "/usr/local/lib/python3.7/site-packages/pandas/init.py", line 144, in
from pandas.io.api import (
File "/usr/local/lib/python3.7/site-packages/pandas/io/api.py", line 8, in
from pandas.io.excel import ExcelFile, ExcelWriter, read_excel
File "/usr/local/lib/python3.7/site-packages/pandas/io/excel/init.py", line 1, in
from pandas.io.excel._base import ExcelFile, ExcelWriter, read_excel
File "/usr/local/lib/python3.7/site-packages/pandas/io/excel/_base.py", line 33, in
from pandas.io.parsers import TextParser
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers/init.py", line 1, in
from pandas.io.parsers.readers import (
File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers/readers.py", line 17, in
from pandas._typing import (
ImportError: cannot import name 'DtypeArg' from 'pandas._typing' (/usr/local/lib/python3.7/site-packages/pandas/_typing.py)