When I install pandas==1.1.5 and run python main_prioritization.py, some error occurs seems coming from pandas as:
/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:521: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:522: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:523: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
Bad key savefig.frameon in file /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle, line 421 ('savefig.frameon : True')
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.3.3/matplotlibrc.template
or from the matplotlib source distribution
Bad key verbose.level in file /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle, line 472 ('verbose.level : silent # one of silent, helpful, debug, debug-annoying')
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.3.3/matplotlibrc.template
or from the matplotlib source distribution
Bad key verbose.fileo in file /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle, line 473 ('verbose.fileo : sys.stdout # a log filename, sys.stdout or sys.stderr')
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.3.3/matplotlibrc.template
or from the matplotlib source distribution
In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The text.latex.preview rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The mathtext.fallback_to_cm rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: Support for setting the 'mathtext.fallback_to_cm' rcParam is deprecated since 3.3 and will be removed two minor releases later; use 'mathtext.fallback : 'cm' instead.
In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The validate_bool_maybe_none function was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The savefig.jpeg_quality rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The keymap.all_axes rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The animation.avconv_path rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The animation.avconv_args rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
Traceback (most recent call last):
File "main_prioritization.py", line 17, in
from skchem.metrics import bedroc_score
File "/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/skchem/init.py", line 19, in
from . import pandas_ext
File "/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/skchem/pandas_ext/init.py", line 10, in
from .structure_methods import StructureMethods
File "/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/skchem/pandas_ext/structure_methods.py", line 16, in
from pandas.core.base import NoNewAttributesMixin, AccessorProperty
ImportError: cannot import name 'AccessorProperty'
I will be really appreaciate if you can provide me some solution. Hope you well in this difficult time.
Hi Yu,
Thanks for your excellent work. I met some issue while config the environment. Please see belows:
I failed to install pandas==0.18.0 in python 3.6.7, which output:
One reason might be pandas==0.18.0 does not support python>3.5 as in https://pandas.pydata.org/pandas-docs/version/0.18.0/install.html?
When I install pandas==1.1.5 and run
python main_prioritization.py
, some error occurs seems coming from pandas as:Bad key savefig.frameon in file /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle, line 421 ('savefig.frameon : True') You probably need to get an updated matplotlibrc file from https://github.com/matplotlib/matplotlib/blob/v3.3.3/matplotlibrc.template or from the matplotlib source distribution
Bad key verbose.level in file /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle, line 472 ('verbose.level : silent # one of silent, helpful, debug, debug-annoying') You probably need to get an updated matplotlibrc file from https://github.com/matplotlib/matplotlib/blob/v3.3.3/matplotlibrc.template or from the matplotlib source distribution
Bad key verbose.fileo in file /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle, line 473 ('verbose.fileo : sys.stdout # a log filename, sys.stdout or sys.stderr') You probably need to get an updated matplotlibrc file from https://github.com/matplotlib/matplotlib/blob/v3.3.3/matplotlibrc.template or from the matplotlib source distribution In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: The text.latex.preview rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later. In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: The mathtext.fallback_to_cm rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later. In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: Support for setting the 'mathtext.fallback_to_cm' rcParam is deprecated since 3.3 and will be removed two minor releases later; use 'mathtext.fallback : 'cm' instead. In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: The validate_bool_maybe_none function was deprecated in Matplotlib 3.3 and will be removed two minor releases later. In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: The savefig.jpeg_quality rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later. In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: The keymap.all_axes rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later. In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: The animation.avconv_path rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later. In /home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: The animation.avconv_args rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later. Traceback (most recent call last): File "main_prioritization.py", line 17, in
from skchem.metrics import bedroc_score
File "/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/skchem/init.py", line 19, in
from . import pandas_ext
File "/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/skchem/pandas_ext/init.py", line 10, in
from .structure_methods import StructureMethods
File "/home/tlc/anaconda3/envs/pgcn/lib/python3.6/site-packages/skchem/pandas_ext/structure_methods.py", line 16, in
from pandas.core.base import NoNewAttributesMixin, AccessorProperty
ImportError: cannot import name 'AccessorProperty'