Open austinjhunt opened 4 years ago
I think I found a possible fix (the pip install command successfully completed but I have yet to fully test the package). If you have this problem, do the following:
create a constraints.txt
file and add the line:
cffi==1.13.2
This will prevent this package's specific cffi dependency version from being installed, in favor of 1.13.2 which apparently works.
Then run pip install -c constraints.txt django-alexa
to apply that constraint to the pip installation.
My result from doing this:
(venv) Austins-iMac:fie2020 huntaj$ pip install -c constraints.txt django-alexa
Collecting django-alexa
Using cached django_alexa-0.0.9-py2.py3-none-any.whl (20 kB)
Collecting coveralls==1.5.1
Using cached coveralls-1.5.1-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: alabaster==0.7.12 in ./venv/lib/python3.8/site-packages (from django-alexa) (0.7.12)
Collecting snowballstemmer==1.2.1
Using cached snowballstemmer-1.2.1-py2.py3-none-any.whl (64 kB)
Requirement already satisfied: six==1.12.0 in ./venv/lib/python3.8/site-packages (from django-alexa) (1.12.0)
Collecting urllib3==1.24.1
Using cached urllib3-1.24.1-py2.py3-none-any.whl (118 kB)
Requirement already satisfied: pycparser==2.19 in ./venv/lib/python3.8/site-packages (from django-alexa) (2.19)
Requirement already satisfied: ansimarkup==1.4.0 in ./venv/lib/python3.8/site-packages (from django-alexa) (1.4.0)
Collecting imagesize==1.1.0
Using cached imagesize-1.1.0-py2.py3-none-any.whl (4.4 kB)
Requirement already satisfied: better-exceptions-fork==0.2.1.post6 in ./venv/lib/python3.8/site-packages (from django-alexa) (0.2.1.post6)
Requirement already satisfied: docopt==0.6.2 in ./venv/lib/python3.8/site-packages (from django-alexa) (0.6.2)
Requirement already satisfied: pyparsing==2.3.0 in ./venv/lib/python3.8/site-packages (from django-alexa) (2.3.0)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting requests==2.21.0
Using cached requests-2.21.0-py2.py3-none-any.whl (57 kB)
Collecting babel==2.6.0
Using cached Babel-2.6.0-py2.py3-none-any.whl (8.1 MB)
Requirement already satisfied: cffi==1.13.2 in ./venv/lib/python3.8/site-packages (from -c constraints.txt (line 1)) (1.13.2)
Requirement already satisfied: pygments==2.3.1 in ./venv/lib/python3.8/site-packages (from django-alexa) (2.3.1)
Collecting coverage==4.5.2
Using cached coverage-4.5.2.tar.gz (384 kB)
Requirement already satisfied: idna==2.8 in ./venv/lib/python3.8/site-packages (from django-alexa) (2.8)
Collecting cryptography==2.4.2
Using cached cryptography-2.4.2-cp34-abi3-macosx_10_6_intel.whl (1.5 MB)
Collecting pbr==5.1.1
Using cached pbr-5.1.1-py2.py3-none-any.whl (106 kB)
Collecting sphinx==1.8.3
Using cached Sphinx-1.8.3-py2.py3-none-any.whl (3.1 MB)
Requirement already satisfied: pytz==2018.9 in ./venv/lib/python3.8/site-packages (from django-alexa) (2018.9)
Requirement already satisfied: jinja2==2.10 in ./venv/lib/python3.8/site-packages (from django-alexa) (2.10)
Requirement already satisfied: djangorestframework==3.9.0 in ./venv/lib/python3.8/site-packages (from django-alexa) (3.9.0)
Requirement already satisfied: markupsafe==1.1.0 in ./venv/lib/python3.8/site-packages (from django-alexa) (1.1.0)
Requirement already satisfied: certifi==2018.11.29 in ./venv/lib/python3.8/site-packages (from django-alexa) (2018.11.29)
Collecting packaging==18.0
Using cached packaging-18.0-py2.py3-none-any.whl (21 kB)
Collecting pyversion3==0.5.12
Using cached pyversion3-0.5.12-py2.py3-none-any.whl (8.9 kB)
Collecting sphinx-rtd-theme==0.4.2
Using cached sphinx_rtd_theme-0.4.2-py2.py3-none-any.whl (6.4 MB)
Collecting pyopenssl==18.0.0
Using cached pyOpenSSL-18.0.0-py2.py3-none-any.whl (53 kB)
Collecting docutils==0.14
Using cached docutils-0.14-py3-none-any.whl (543 kB)
Requirement already satisfied: loguru==0.2.4 in ./venv/lib/python3.8/site-packages (from django-alexa) (0.2.4)
Requirement already satisfied: asn1crypto==0.24.0 in ./venv/lib/python3.8/site-packages (from django-alexa) (0.24.0)
Collecting pycryptodome==3.7.2
Using cached pycryptodome-3.7.2.tar.gz (7.2 MB)
Collecting django==2.1.5
Using cached Django-2.1.5-py3-none-any.whl (7.3 MB)
Collecting sphinxcontrib-websupport==1.1.0
Using cached sphinxcontrib_websupport-1.1.0-py2.py3-none-any.whl (26 kB)
Requirement already satisfied: colorama in ./venv/lib/python3.8/site-packages (from ansimarkup==1.4.0->django-alexa) (0.4.3)
Requirement already satisfied: setuptools in ./venv/lib/python3.8/site-packages (from sphinx==1.8.3->django-alexa) (41.2.0)
Using legacy setup.py install for coverage, since package 'wheel' is not installed.
Using legacy setup.py install for pycryptodome, since package 'wheel' is not installed.
ERROR: pyversion3 0.5.12 has requirement colorama==0.4.1, but you'll have colorama 0.4.3 which is incompatible.
ERROR: django-alexa 0.0.9 has requirement cffi==1.11.5, but you'll have cffi 1.13.2 which is incompatible.
Installing collected packages: chardet, urllib3, requests, coverage, coveralls, snowballstemmer, imagesize, babel, cryptography, pbr, docutils, sphinxcontrib-websupport, packaging, sphinx, pyversion3, sphinx-rtd-theme, pyopenssl, pycryptodome, django, django-alexa
Running setup.py install for coverage ... done
Running setup.py install for pycryptodome ... done
Successfully installed babel-2.6.0 chardet-3.0.4 coverage-4.5.2 coveralls-1.5.1 cryptography-2.4.2 django-2.1.5 django-alexa-0.0.9 docutils-0.14 imagesize-1.1.0 packaging-18.0 pbr-5.1.1 pycryptodome-3.7.2 pyopenssl-18.0.0 pyversion3-0.5.12 requests-2.21.0 snowballstemmer-1.2.1 sphinx-1.8.3 sphinx-rtd-theme-0.4.2 sphinxcontrib-websupport-1.1.0 urllib3-1.24.1
Hi, I am attempting to install this package on MacOS Catalina 10.15.4, but I'm running into an error with the installation of the underlying cffi dependency. I can't find anyone else having this issue online so it's possible that I'm missing an easy fix.
To make sure it wasn't due to a conflict with an already-installed package, I created an entirely new virtual environment (Python3.8) and tried installing only the django-alexa package to start with, and I got the same error.
It appears the primary problem is:
I have successfully run
brew install postgresql
as well asbrew upgrade postgresql
to no avail.Which version of Python are you successfully running this with?
The below is the log from the pip install command. I run it twice here, the second time is after running
pip install --upgrade pip
Thank you for any assistance you can provide.
Best, Austin