Install library (requirements)

Hello All,
I am trying to install my application requirements but some dependencies are not installed
First I have VM (Windows server 2016 64bit).

  • Python 3.4.0
    the packages I wasn’t able to install are:
    pip install cffi==1.14.5
    pip install cryptography==2.8
    pip install django-allauth==0.44.0
    pip install mod-wsgi==4.5.24+ap24vc10
    pip install odfpy==1.4.1
    pip install openpyxl==2.5.14
    pip install pandas==0.19.2
    pip install Pillow==5.0.0
    pip install psycopg2==2.8.6
    pip install psycopg2-binary==2.8.6
    pip install python-decouple==3.3
    pip install PyYAML==3.12

it gives me the following error

even I’d tried to install some via wheel and it shows me this error:
in the file folder, I run cmd and.
pip install Pillow-5.0.0-cp34-cp34m-win_amd64.whl

is there any solution?

I recognize many of these packages as having dependencies on compiled extensions, making their installation more complex on Windows.

Some, like cffi as just one example, have specific Windows-based installation instructions. (See Installation and Status — CFFI 1.14.6 documentation)

I believe you’re going to need to go through each library, and read their respective documentation to identify what needs to be done to install them on Windows.

Yes I installed python 3.6 to install packages :frowning: , it not a solution but it works

As a side note, Django 2.0 is the last version of Django to support 3.4. That’s probably not a version of Django you’d want to be running in a production environment anyway. Version 2.2 is the last to support 3.5, so you probably want to end up on 3.6.

1 Like