'Django - Can't install zappa
I am trying to install zappa for my Django project with the pip install zappa command.
For some reason I am getting the error message:
Collecting kappa==0.6.0
Using cached kappa-0.6.0.tar.gz (29 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
exit code: 1
[10 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\F\AppData\Local\Temp\pip-install-0z9s37z_\kappa_3e41fa04962841afbbe1bfd266342d06\setup.py", line 54, in <module>
run_setup()
File "C:\Users\F\AppData\Local\Temp\pip-install-0z9s37z_\kappa_3e41fa04962841afbbe1bfd266342d06\setup.py", line 22, in run_setup
long_description=open_file('README.rst').read(),
File "C:\users\F\appdata\local\programs\python\python310\lib\encodings\cp1253.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9c in position 2341: character maps to <undefined>
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I am using Windows 10 and Python 3.10.1 .
[Edit] my pip list results are:
(venv) C:\Users\F>pip list
Package Version
------------------------- ---------
argcomplete 2.0.0
arrow 1.2.1
asgiref 3.5.0
atomicwrites 1.4.0
attrs 21.4.0
awsebcli 3.20.3
binaryornot 0.4.4
boto3 1.21.19
botocore 1.24.19
cement 2.8.2
certifi 2021.10.8
cffi 1.15.0
cfn-flip 1.3.0
chardet 4.0.0
charset-normalizer 2.0.12
click 8.0.4
colorama 0.4.3
cookiecutter 1.7.3
coverage 6.3.2
cryptography 36.0.1
defusedxml 0.7.1
distlib 0.3.4
Django 4.0.3
django-cors-headers 3.11.0
django-countries 7.2.1
django-filter 21.1
django-modeladmin-reorder 0.3.1
django-simple-history 3.0.0
django-tailwind 3.0.1
djangorestframework 3.13.1
djangorestframework-csv 2.1.1
drf-extensions 0.7.1
drf-spectacular 0.21.2
drf-spectacular-sidecar 2022.3.14
durationpy 0.5
factory-boy 3.2.1
Faker 13.3.2
filelock 3.4.2
future 0.18.2
hjson 3.0.2
idna 3.3
inflection 0.5.1
iniconfig 1.1.1
isodate 0.6.1
Jinja2 3.1.2
jinja2-time 0.2.0
jmespath 0.10.0
jsonschema 4.4.0
jwt 1.3.1
Markdown 3.3.6
MarkupSafe 2.0.1
mixer 7.2.2
names-dataset 3.0.2
npm 0.1.1
oauthlib 3.2.0
optional-django 0.1.0
packaging 21.3
pathspec 0.9.0
pendulum 2.1.2
pip 22.0.4
pipenv 2022.1.8
placebo 0.9.0
platformdirs 2.5.2
pluggy 1.0.0
poyo 0.5.0
psycopg2-binary 2.9.3
py 1.11.0
pycountry 22.3.5
pycparser 2.21
Pygments 2.11.2
PyJWT 2.3.0
pymongo 3.11.1
PyPardot 0.1
PyPardotSF 0.1.0
pyparsing 3.0.7
pypiwin32 223
pyrsistent 0.18.1
pytest 7.1.1
pytest-cov 3.0.0
pytest-django 4.5.2
python-dateutil 2.8.2
python-slugify 6.1.1
python3-openid 3.2.0
pytz 2021.3
pytzdata 2020.1
pywin32 303
PyYAML 6.0
requests 2.27.1
requests-oauthlib 1.3.1
s3transfer 0.5.2
semantic-version 2.8.5
setuptools 62.1.0
six 1.16.0
social-auth-app-django 5.0.0
social-auth-core 4.2.0
sqlparse 0.4.2
termcolor 1.1.0
text-unidecode 1.3
toml 0.10.2
tomli 2.0.1
tqdm 4.63.0
troposphere 3.2.2
tzdata 2021.5
unicodecsv 0.14.1
Unidecode 1.3.4
uritemplate 4.1.1
urllib3 1.26.8
virtualenv 20.14.1
virtualenv-clone 0.5.7
wcwidth 0.1.9
Werkzeug 2.0.3
wheel 0.37.1
wsgi-request-logger 0.4.6
xmltodict 0.12.0
With pip pip -V being pip 22.0.4 from C:\Users\F\...\pip (python 3.10)
I haven't found any similar issues online so I could use some help to solve it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
