CBICA / niCHART

The neuro-imaging brain aging chart [niCHART] is a comprehensive solution to analyze standard structural and functional brain MRI data across studies. [niCHART] and the associated pre-processing tools implement computational morphometry, functional signal analysis, quality control, statistical harmonization, data standardization, interactive visual
https://cbica.github.io/niCHART/
Other
13 stars 8 forks source link

Installation error #161

Closed ashishsingh18 closed 2 years ago

ashishsingh18 commented 2 years ago

I am getting the following on installation. Possibly a result of #158

...snip Installing collected packages: Pillow, wheel, scikit-learn, NiBAx Attempting uninstall: Pillow Found existing installation: Pillow 8.4.0 Uninstalling Pillow-8.4.0: Successfully uninstalled Pillow-8.4.0 Attempting uninstall: wheel Found existing installation: wheel 0.36.2 Uninstalling wheel-0.36.2: Successfully uninstalled wheel-0.36.2 Attempting uninstall: scikit-learn Found existing installation: scikit-learn 0.24.2 Uninstalling scikit-learn-0.24.2: Successfully uninstalled scikit-learn-0.24.2 Running setup.py develop for NiBAx ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. ppscore 1.2.0 requires scikit-learn<1.0.0,>=0.20.2, but you have scikit-learn 1.0.2 which is incompatible. dtale 1.61.1 requires scikit-learn==0.24.2; python_version > "3.0", but you have scikit-learn 1.0.2 which is incompatible.

ashishsingh18 commented 2 years ago

@AbdulkadirA @melhemr Do you see this on your side?

melhemr commented 2 years ago

@AbdulkadirA @melhemr Do you see this on your side?

This is one of the issues that was happening with our end user, Lasya, yesterday. Still waiting to hear back on whether it was resolved for her.

ashishsingh18 commented 2 years ago

When I do re-installation in the same conda environment, I don't get that error.

AbdulkadirA commented 2 years ago

@ashishsingh18 Thanks for reporting this. The issue is caused by dtale and ppscore, it seems. Are you getting the error when you install NiBAx into a fresh environment? What Python version? I only tested pip install not conda. Does it work with pip?

AbdulkadirA commented 2 years ago

@ashishsingh18, @melhemr Please try the new build environment proposed in #165. Installation from Github is as follows:

python -m pip install -U git+https://github.com/CBICA/NiBAx.git@refs/pull/165/head

Installation of a development version requires two steps. The second step will install the executable main function.

python -m pip install -U -e .
poetry install
melhemr commented 2 years ago

Hello Ahmed,

The first two commands you've provided worked as expected, no errors. This is in an entirely new environment. When I tried running poetry install​​​ I got the attached error message. Is there something I missed?

Thanks, Randa


From: Ahmed Abdulkadir @.> Sent: Friday, February 18, 2022 4:08 AM To: CBICA/NiBAx @.> Cc: Melhem, Randa @.>; Mention @.> Subject: [External] Re: [CBICA/NiBAx] Installation error (Issue #161)

@ashishsingh18https://github.com/ashishsingh18, @melhemrhttps://github.com/melhemr Please try the new build environment proposed in #165https://github.com/CBICA/NiBAx/pull/165. Installation from Github is as follows:

python -m pip install -U @.***/pull/165/head

Installation of a development version requires two steps. The second step will install the executable main function.

python -m pip install -U -e . poetry install

— Reply to this email directly, view it on GitHubhttps://github.com/CBICA/NiBAx/issues/161#issuecomment-1044186095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATRQL4NWXZ4I6ECRZVIYNOLU3YEAVANCNFSM5MNZN7DA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>