MAIF / melusine

📧 Melusine: Use python to automatize your email processing workflow

Home Page:https://maif.github.io/melusine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: [Conda] Cannot install melusine because package versions have conflicting dependencies

Galsor opened this issue · comments

Hello Melusine developers,

Thanks a lot your work.
I succeded to install Melusine on Google Colab environment but I am facing an installation error in my local conda environment.
An error with tensor flow is raised while Tensor Flow is not installed in my environment yet (see pip freeze below)

Here is the error traceback following pip install melusine while attempting to collect Keras>=2.2.0;


The conflict is caused by:
    melusine 2.2.6 depends on tensorflow>=2.0.0
    melusine 2.2.5 depends on tensorflow>=2.0.0
    melusine 2.2.1 depends on tensorflow>=2.0.0
    melusine 2.2.0 depends on tensorflow>=2.0.0
    melusine 2.1.0 depends on tensorflow>=2.0.0
    melusine 2.0.4 depends on tensorflow>=2.0.0
    melusine 2.0.3 depends on tensorflow>=2.0.0
    melusine 1.11.1 depends on tensorflow>=2.0.0
    melusine 1.11.0 depends on tensorflow>=2.0.0
    melusine 1.10.0 depends on tensorflow>=2.0
    melusine 1.9.6 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.9.5 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.9.4 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.9.3 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.9.2 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.9.1 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.9.0 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.8.9 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.8.8 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.8.7 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.8.6 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.8.5 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.8.4 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.8.3 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.8.1 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.8.0 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.7.1 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.7.0 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.6.1 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.6.0 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.5.5 depends on tensorflow<=1.13.1 and >=1.10.0
    melusine 1.5.4 depends on tensorflow>=1.10.0
    melusine 1.5.2 depends on tensorflow>=1.10.0
    melusine 1.5.1 depends on tensorflow>=1.10.0
    melusine 1.5.0 depends on tensorflow>=1.10.0
    melusine 1.4.0 depends on tensorflow>=1.10.0
    melusine 1.2.0 depends on tensorflow>=1.10.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Output of pip freeze:

aiohttp @ file:///home/conda/feedstock_root/build_artifacts/aiohttp_1610358552152/work
alabaster==0.7.12
async-timeout==3.0.1
attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1605083924122/work
awscli==1.19.3
Babel==2.9.0
beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1601924105527/work
blinker==1.4
botocore==1.20.3
brotlipy==0.7.0
cachetools @ file:///home/conda/feedstock_root/build_artifacts/cachetools_1611555765219/work
certifi==2020.12.5
cffi @ file:///home/conda/feedstock_root/build_artifacts/cffi_1606601120025/work
chardet @ file:///home/conda/feedstock_root/build_artifacts/chardet_1602255302154/work
click==7.1.2
colorama==0.4.3
coverage==5.4
cryptography @ file:///home/conda/feedstock_root/build_artifacts/cryptography_1610338668572/work
docutils==0.15.2
flake8==3.8.4
google-api-core==1.25.1
google-api-python-client==1.12.8
google-auth @ file:///home/conda/feedstock_root/build_artifacts/google-auth_1608136875028/work
google-auth-httplib2==0.0.4
google-auth-oauthlib @ file:///home/conda/feedstock_root/build_artifacts/google-auth-oauthlib_1603996258953/work
googleapis-common-protos==1.52.0
gspread @ file:///home/conda/feedstock_root/build_artifacts/gspread_1594582188011/work
httplib2==0.19.0
idna @ file:///home/conda/feedstock_root/build_artifacts/idna_1593328102638/work
imagesize==1.2.0
Jinja2==2.11.3
jmespath==0.10.0
MarkupSafe==1.1.1
mccabe==0.6.1
multidict @ file:///home/conda/feedstock_root/build_artifacts/multidict_1610318999200/work
numpy @ file:///home/conda/feedstock_root/build_artifacts/numpy_1612116912722/work
oauthlib==3.0.1
packaging==20.9
pandas==1.2.1
protobuf==3.14.0
pyasn1==0.4.8
pyasn1-modules==0.2.7
pycodestyle==2.6.0
pycparser @ file:///home/conda/feedstock_root/build_artifacts/pycparser_1593275161868/work
pyflakes==2.2.0
Pygments==2.7.4
PyJWT @ file:///home/conda/feedstock_root/build_artifacts/pyjwt_1610910308735/work
pyOpenSSL @ file:///home/conda/feedstock_root/build_artifacts/pyopenssl_1608055815057/work
pyparsing==2.4.7
PySocks @ file:///home/conda/feedstock_root/build_artifacts/pysocks_1610291451001/work
python-dateutil==2.8.1
python-dotenv==0.15.0
pytz @ file:///home/conda/feedstock_root/build_artifacts/pytz_1612179539967/work
PyYAML==5.3.1
requests @ file:///home/conda/feedstock_root/build_artifacts/requests_1608156231189/work
requests-oauthlib @ file:///home/conda/feedstock_root/build_artifacts/requests-oauthlib_1595492159598/work
rsa==4.5
s3transfer==0.3.4
six @ file:///home/conda/feedstock_root/build_artifacts/six_1590081179328/work
snowballstemmer==2.1.0
soupsieve==2.0.1
Sphinx==3.4.3
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
-e git+git@github.com:Galsor/mailizer.git@0f252e34881382910d191baa4a6aab794444003c#egg=src
typing-extensions @ file:///home/conda/feedstock_root/build_artifacts/typing_extensions_1602702424206/work
uritemplate==3.0.1
urllib3 @ file:///home/conda/feedstock_root/build_artifacts/urllib3_1611695416663/work
yarl @ file:///home/conda/feedstock_root/build_artifacts/yarl_1610354135407/work

Any ideas how to resolve it ?

Hi!
Thank you for submitting this issue. It seems like the issue is coming from your environnement. Maybe try upgrading your pip?
Other than that, this issue is a bit out of our scope and I am afraid we can't offer support for it.
Maybe try to find answers in conda related forums? Good luck!

I solved my problem by installing tensorflow prior to pip install melusine

conda install -c conda-forge tensorflow