Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The conflictions among the dependent packages for AiiDA and its plugins. #3920

Closed
hongyi-zhao opened this issue Apr 10, 2020 · 1 comment
Closed

Comments

@hongyi-zhao
Copy link

hongyi-zhao commented Apr 10, 2020

Hi,

I install the latest aiida-core local git repo with the following command:

$ pip install -e .[all]

But meet some errors like this:

ERROR: plumpy 0.14.5 has requirement kiwipy[rmq]>=0.5.2, but you'll have kiwipy 0.5.1 which is incompatible.
ERROR: aiida 1.0.0 has requirement aiida-core==1.0, but you'll have aiida-core 1.1.1 which is incompatible.
ERROR: aiida-sssp 0.1.0 has requirement click~=7.1, but you'll have click 7.0 which is incompatible.
ERROR: aiida-z2pack 2.0 has requirement numpy==1.16.4, but you'll have numpy 1.17.5 which is incompatible.

Based on the above info, I try to install the latest aiida-z2pack plugin, but neither can it solve the problem, but make a more worse result, see the following:

$ cd aiida-z2pack.git
$ pip install -e .[dev]
[...]
ERROR: notebook 5.7.8 has requirement pyzmq>=17, but you'll have pyzmq 16.0.4 which is incompatible.
ERROR: jupyter-console 6.1.0 has requirement prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.18 which is incompatible.
ERROR: aiida-vasp 0.3.0 has requirement aiida-core[atomic_tools]>=1.0.1, but you'll have aiida-core 1.0.0 which is incompatible.
ERROR: aiida-wannier90-workflows 1.0.1 has requirement aiida-core<2,>=1.1.1, but you'll have aiida-core 1.0.0 which is incompatible.
ERROR: aiida-tbmodels 0.4.0rc1 has requirement aiida-core>=1.1.0<2.0.0, but you'll have aiida-core 1.0.0 which is incompatible.
ERROR: aiida-sssp 0.1.0 has requirement click~=7.1, but you'll have click 7.0 which is incompatible.
ERROR: aiida-core 1.0.0 has requirement pyyaml==3.13, but you'll have pyyaml 5.1.2 which is incompatible.
ERROR: aiida-core 1.0.0 has requirement six==1.12.0, but you'll have six 1.14.0 which is incompatible.

And finally, I will meet the critical error of database schema as follows:

$ verdi plugin list aiida.calculations 
Critical: Database schema version 1.0.43 is outdated compared to the code schema version 1.0.42
Before you upgrade, make sure all calculations and workflows have finished running.
If this is not the case, revert the code to the previous version and finish them first.
To migrate the database to the current version, run the following commands:
  verdi -p aiida daemon stop
  verdi -p aiida database migrate

How to solve this problem?

Regards

@hongyi-zhao hongyi-zhao changed the title The strange error message of ``pip install -e''. The strange error message when using ``pip install -e'' to install the latest aiida-core local git repo. Apr 10, 2020
@hongyi-zhao hongyi-zhao changed the title The strange error message when using ``pip install -e'' to install the latest aiida-core local git repo. The conflictions among the dependent packages for AiiDA and its plugins. Apr 10, 2020
@ltalirz
Copy link
Member

ltalirz commented Apr 11, 2020

Hi @hongyi-zhao - for issues concerning dependencies of aiida plugins, please in the future post to the github repositories of the plugins themselves.
Some of them do indeed still lock the dependencies down too strictly, and it would be helpful to notify the plugin maintainers when this is the case.

You'll find the links to all of them collected in the AiiDA plugin registry.

As for the database migration, please simply read and follow the instructions in the error message you posted.

@ltalirz ltalirz closed this as completed Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants