Error during 1st Deploy

#10 6.775 Collecting amqp==1.4.9 #10 6.779 Using cached amqp-1.4.9-py2.py3-none-any.whl (51 kB) #10 6.816 Collecting anyjson==0.3.3 #10 6.821 Using cached anyjson-0.3.3.tar.gz (8.3 kB) #10 6.828 Preparing metadata (setup.py): started  #10 7.178 Preparing metadata (setup.py): finished with status 'error'  #10 7.187 error: subprocess-exited-with-error #10 7.187 #10 7.187 × python setup.py egg_info did not run successfully. #10 7.187 │ exit code: 1 #10 7.187 ╰─> [1 lines of output] #10 7.187 error in anyjson setup command: use_2to3 is invalid. #10 7.187 [end of output] #10 7.187
32 Replies
Percy
Percy13mo ago
Project ID: 15996f50-6854-44d0-9fb0-361193e23ca6
youngwghs
youngwghs13mo ago
15996f50-6854-44d0-9fb0-361193e23ca6 Project ID: 15996f50-6854-44d0-9fb0-361193e23ca6 Yes Hello?
Brody
Brody13mo ago
please provide the full build logs always send logs in a txt file please send the full build logs
youngwghs
youngwghs13mo ago
Got it!
Brody
Brody13mo ago
^
Brody
Brody13mo ago
why is everything duplicated a dozen times please provide full build logs
youngwghs
youngwghs13mo ago
I have no idea. I am new to Railway Never ran into this with Heroku
Brody
Brody13mo ago
^
Brody
Brody13mo ago
thats not full logs, but im done repeating myself, thats sufficient for now
youngwghs
youngwghs13mo ago
My apologies. I am copying and pasting what appears in this box:
youngwghs
youngwghs13mo ago
Is there another place to get the logs you need?
Brody
Brody13mo ago
send your requirements.txt
youngwghs
youngwghs13mo ago
OK
Adam
Adam13mo ago
You can download the logs from the 3 dot menu iirc or just highlight and scroll to copy it all
Brody
Brody13mo ago
since when???
Adam
Adam13mo ago
I might’ve made that up? I thought that was an option
Brody
Brody13mo ago
i wish
Brody
Brody13mo ago
Brody
Brody13mo ago
try this instead
setuptools==57.0.0
amqp==1.4.9
anyjson==0.3.3
appdirs==1.4.4
asgiref==3.5.2
billiard==3.3.0.23
boto3==1.18.51
botocore==1.21.51
cachetools==4.2.4
celery==3.1.26.post2
certifi==2022.6.15
cffi==1.15.1
charset-normalizer==2.1.1
click==7.1.2
click-didyoumean==0.3.0
click-plugins==1.1.1
click-repl==0.2.0
cryptography==37.0.4
dbbackup==0.1.13
dbbackup-tools==0.1.5
defusedxml==0.7.1
distlib==0.3.1
dj-database-url==1.0.0
Django==4.1
django-allauth==0.51.0
django-celery==3.3.1
django-cors-headers==3.8.0
django-crontab==0.7.1
django-dbbackup==3.3.0
django-filter==23.2
django-gdrive-backup==0.0.6
django-heroku==0.3.1
django-on-heroku==1.1.2
django-qr-code==3.1.1
django-sendgrid-v5==1.2.2
django-ses==2.3.0
django-storages==1.11.1
djangorestframework==3.12.4
encrypted-credentials==0.0.2
filelock==3.0.12
future==0.18.2
google-api-core==2.0.1
google-api-python-client==2.23.0
google-auth==2.2.1
google-auth-httplib2==0.1.0
google-client-helper==0.0.3
googleapis-common-protos==1.53.0
gunicorn==20.1.0
httplib2==0.19.1
idna==3.3
jmespath==0.10.0
kombu==3.0.37
oauthlib==3.2.0
prompt-toolkit==3.0.20
protobuf==3.18.0
psycopg2-binary==2.9.3
pyasn1==0.4.8
pyasn1-modules==0.2.8
pybluez2==0.46
pycparser==2.21
pydantic==1.10.9
PyJWT==2.4.0
pyparsing==2.4.7
python-dateutil==2.8.2
python-decouple==3.5
python-http-client==3.3.7
python3-openid==3.2.0
pytz==2021.1
PyYAML==5.4.1
requests==2.28.1
requests-oauthlib==1.3.1
rsa==4.7.2
s3transfer==0.5.0
segno==1.5.2
sendgrid==6.10.0
six==1.15.0
sqlparse==0.4.2
starkbank-ecdsa==2.2.0
typing_extensions==4.6.3
tzdata==2023.3
uritemplate==3.0.1
urllib3==1.26.11
vine==5.0.0
virtualenv==20.4.4
wcwidth==0.2.5
whitenoise==6.2.0
setuptools==57.0.0
amqp==1.4.9
anyjson==0.3.3
appdirs==1.4.4
asgiref==3.5.2
billiard==3.3.0.23
boto3==1.18.51
botocore==1.21.51
cachetools==4.2.4
celery==3.1.26.post2
certifi==2022.6.15
cffi==1.15.1
charset-normalizer==2.1.1
click==7.1.2
click-didyoumean==0.3.0
click-plugins==1.1.1
click-repl==0.2.0
cryptography==37.0.4
dbbackup==0.1.13
dbbackup-tools==0.1.5
defusedxml==0.7.1
distlib==0.3.1
dj-database-url==1.0.0
Django==4.1
django-allauth==0.51.0
django-celery==3.3.1
django-cors-headers==3.8.0
django-crontab==0.7.1
django-dbbackup==3.3.0
django-filter==23.2
django-gdrive-backup==0.0.6
django-heroku==0.3.1
django-on-heroku==1.1.2
django-qr-code==3.1.1
django-sendgrid-v5==1.2.2
django-ses==2.3.0
django-storages==1.11.1
djangorestframework==3.12.4
encrypted-credentials==0.0.2
filelock==3.0.12
future==0.18.2
google-api-core==2.0.1
google-api-python-client==2.23.0
google-auth==2.2.1
google-auth-httplib2==0.1.0
google-client-helper==0.0.3
googleapis-common-protos==1.53.0
gunicorn==20.1.0
httplib2==0.19.1
idna==3.3
jmespath==0.10.0
kombu==3.0.37
oauthlib==3.2.0
prompt-toolkit==3.0.20
protobuf==3.18.0
psycopg2-binary==2.9.3
pyasn1==0.4.8
pyasn1-modules==0.2.8
pybluez2==0.46
pycparser==2.21
pydantic==1.10.9
PyJWT==2.4.0
pyparsing==2.4.7
python-dateutil==2.8.2
python-decouple==3.5
python-http-client==3.3.7
python3-openid==3.2.0
pytz==2021.1
PyYAML==5.4.1
requests==2.28.1
requests-oauthlib==1.3.1
rsa==4.7.2
s3transfer==0.5.0
segno==1.5.2
sendgrid==6.10.0
six==1.15.0
sqlparse==0.4.2
starkbank-ecdsa==2.2.0
typing_extensions==4.6.3
tzdata==2023.3
uritemplate==3.0.1
urllib3==1.26.11
vine==5.0.0
virtualenv==20.4.4
wcwidth==0.2.5
whitenoise==6.2.0
youngwghs
youngwghs13mo ago
Failed with the attached errors:
Brody
Brody13mo ago
oh wow, anyjson is from 2012, that's an extremely outdated package use a more up to date alternative please does your app even use anyjson??
youngwghs
youngwghs13mo ago
Not that I am aware of.
Brody
Brody13mo ago
remove it then
youngwghs
youngwghs13mo ago
I've never worked with it in the past with Heroku unless it is a dependency of something else.
Brody
Brody13mo ago
and while you're at it, remove all the packages that you don't use in your app
youngwghs
youngwghs13mo ago
OK, removing and attempting another deploy
Brody
Brody13mo ago
remove all the packages your app doesn't actually use please
youngwghs
youngwghs13mo ago
I removed anyjson but it is still erroring with that package.
Brody
Brody13mo ago
^