manjurulhoque / django-job-portal

Job portal application using Django
MIT License
541 stars 242 forks source link

Error installing Pyyaml==5.4 and unable to build wheels for cffi, cryptography, psycopg2-binary #79

Open ashrafkvt opened 11 months ago

ashrafkvt commented 11 months ago

Being unable to install some of the project dependencies listed in the requirements file

kbidve commented 8 months ago

I faced the same issue, here are the steps I followed :

  1. Updated pip and setuptools:

    pip install --upgrade pip setuptools

  2. Install wheel

    pip install wheel

  3. Before installing cryptography, I installed dependent packages on my Mac: brew install openssl libffi
  4. I removed pyyaml, cryptography from "requirements.txt" and installed manually , without providing versions which installed latest versions

    pip install cryptography pip install pyyaml

I hope this will resolve your issue.