methphaser icon indicating copy to clipboard operation
methphaser copied to clipboard

Two warning messages appear

Open XLeeHIT opened this issue 2 years ago • 2 comments

Two warning messages appear when i run meth_phaser_parallel :

warning:
/home/lixin/miniconda3/envs/viaenv/bin/methphasing:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import require

and

/home/lixin/miniconda3/envs/viaenv/lib/python3.9/site-packages/scipy/__init__.py:155: UserWarning: A NumPy version >=1.18.5 and <1.26.0 is required for this version of SciPy (detected version 1.26.2
  warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"

But the program dont stop and can get the output. What is the reason of the two warning and does they affect the results? Thanks!

XLeeHIT avatar Dec 02 '23 03:12 XLeeHIT

if you did not install methphaser via conda, these warnings can be caused by the wrong package version in you environment. If you installed conda it might be methphaser's issue, I will take a look.

Fu-Yilei avatar Dec 02 '23 04:12 Fu-Yilei

Hello, I did indeed install methphser via conda. It feels like it's caused by different versions of the libraries being used.

XLeeHIT avatar Dec 25 '23 09:12 XLeeHIT