OpenMined / PySyft

Perform data science on data that remains in someone else's server
https://www.openmined.org/
Apache License 2.0
9.43k stars 1.99k forks source link

`pyinquirer` package conflict #5679

Closed LuanJia closed 2 years ago

LuanJia commented 3 years ago

Description

I run PyGird domain in dir /PyGrid/apps/domain and I got the error:ModuleNotFoundError: No module named 'PyInquirer'

Then i install the package by command pip install PyInquirer

but this package is conflict with ipython and jupyter-consolewhick is dependent on Jupyter.

because: jupyter-console 6.4.0 requires prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you have prompt-toolkit 1.0.14 which is incompatible. ipython 7.22.0 requires prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you have prompt-toolkit 1.0.14 which is incompatible. but pyinquirer 1.0.3 requires prompt-toolkit==1.0.14, but you have prompt-toolkit 3.0.18 which is incompatible.

I can never satisfy the dependencies of both packages

Is there any way to deal with this problem?

LuanJia commented 3 years ago

I've already solved this problem by creating 2 env: conda create -n env1 and install syft-0.5.0rc1 /run jupyter notebook conda create -n env2 and run pygrid_0.4.0

by the way ,there are too many branches/tags/version in PyGrid/PySfyt, It would be even better if there was a recommended matching version of PyGrid and PySyft

thanks!

IonesioJunior commented 3 years ago

Hello @LuanJia!

Yeah, we need to use different prompt-toolkit versions due to some dependencies (hopefully we'll be fixing it in the next weeks).

Regarding the branches/tags/version, we're actually in the middle of a huge task that will merge PySyft/PyGrid at the same repository in order to sync their development/issues. This will probably solve all this confusion and make the development process clean and easy for both repositories.