mortazavilab / PyWGCNA

PyWGCNA is a Python package designed to do Weighted Gene Correlation Network analysis (WGCNA)
https://academic.oup.com/bioinformatics/advance-article/doi/10.1093/bioinformatics/btad415/7218311
MIT License
192 stars 46 forks source link

Unable to run the package due to pandas issue. I am attaching the screenshot for the error generated. #79

Closed tanush84 closed 6 months ago

tanush84 commented 6 months ago

Screenshot from 2023-12-05 11-51-51

nargesr commented 6 months ago

Hi,

did you try installing pandas separately? Were you able to install PyWGCNA without any errors?

tanush84 commented 6 months ago

Dear Author I tried install version 1.4.4, 1.5.3, 2.1.0 seperately without any success. The PyWGCNA installation does not throw any error. Currently, I am trying to install all requirements seperately. Will update if it works.

tanush84 commented 6 months ago

Dear Author I think the Python version 3.10.13 does not have any issue with installing pandas version 2.1.1. May be a bug with other python version. It would be helpful if compiling the requirements with python version 3.10.13. I have not tried other higher versions but hopefully they will work. regards Tanuj

nargesr commented 6 months ago

Hi @tanush84 ,

Sorry, I couldn’t catch the problem here. were you able to execute pip install PyWGCNA -U without any error? if yes which version of pandas were installed along with PyWGCNA?

tanush84 commented 6 months ago

Hello @nargesr , Yes I was able to install the PyWGCNA without any error. It worked by initially created conda environment using python version 3.10.13. Then I installed pandas version 2.1.0 using conda install -c conda-forge pandas==2.1.0. Then I install PyWGCNA using Pip pip install PyWGCNA

nargesr commented 6 months ago

Hi,

and you couldn’t import pyWGCNA and pandas packages in your notebook? To me, it's more like a problem with your conda environment. I tried to install PyWGCNA using Python 3.9/10/11 and everything was fine