masakhane-io / masakhane-mt

Machine Translation for Africa
MIT License
278 stars 206 forks source link

Package Version Dependency Issues in Starter Reverse Notebook #165

Open RuanJohn opened 3 years ago

RuanJohn commented 3 years ago

When running the following command in the starter notebook:

# Install JoeyNMT ! git clone https://github.com/joeynmt/joeynmt.git ! cd joeynmt; pip3 install .

There is the following dependency clash:

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. tensorflow 2.6.0 requires numpy~=1.19.2, but you have numpy 1.21.2 which is incompatible. tensorflow 2.6.0 requires six~=1.15.0, but you have six 1.12.0 which is incompatible. tensorflow 2.6.0 requires wrapt~=1.12.1, but you have wrapt 1.11.1 which is incompatible. google-colab 1.0.0 requires six~=1.15.0, but you have six 1.12.0 which is incompatible. google-api-python-client 1.12.8 requires six<2dev,>=1.13.0, but you have six 1.12.0 which is incompatible. google-api-core 1.26.3 requires six>=1.13.0, but you have six 1.12.0 which is incompatible.

Manually pip installing the required versions also do not seem to help. Could you please give some advice on what to do?

bricksdont commented 3 years ago

Usually, this kind of error from pip can be ignored. If you run into another error later in the notebook that you think could be related, please add more detail here.

RuanJohn commented 3 years ago

Thank you for the help @bricksdont