
Hey,
So I see in the starter templates that I can use different Python versions or what not, but how do I actually specify this? I can’t find it anywhere in the docs, and when I tried to deploy a python-3.11
function it errored on me. Additionally, when changing that 3.11 back to 3.9, it errors on build for a reason I do not understand
Installing collected packages: pyxb, urllib3, lxml, idna, charset-normalizer, certifi, requests, authorizenet, appwrite
Running setup.py install for pyxb: started
Running setup.py install for pyxb: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for pyxb did not run successfully.
│ exit code: -9
╰─> [383 lines of output]
Found bundle in /tmp/pip-install-ebcfy4wo/pyxb_9e14f3fb3495400ba3fc1cd6c4bdf977/pyxb/bundles/common
bunch of shit in the middle
copying build/lib/pyxb/utils/activestate.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/utils
copying build/lib/pyxb/utils/domutils.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/utils
copying build/lib/pyxb/utils/templates.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/utils
copying build/lib/pyxb/utils/unicode_data.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/utils
copying build/lib/pyxb/utils/saxdom.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/utils
copying build/lib/pyxb/utils/fac.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/utils
copying build/lib/pyxb/utils/six.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/utils
copying build/lib/pyxb/utils/saxutils.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/utils
copying build/lib/pyxb/utils/utility.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/utils
copying build/lib/pyxb/exceptions_.py -> /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/binding/datatypes.py to datatypes.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/binding/__init__.py to __init__.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/binding/content.py to content.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/binding/basis.py to basis.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/binding/facets.py to facets.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/binding/saxer.py to saxer.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/binding/xml_.py to xml_.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/binding/generate.py to generate.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/__init__.py to __init__.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/bundles/common/__init__.py to __init__.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/bundles/common/raw/__init__.py to __init__.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/bundles/common/raw/xlink.py to xlink.cpython-39.pyc
byte-compiling /usr/local/build/runtime-env/lib/python3.9/site-packages/pyxb/bundles/common/raw/xhtml1.py to xhtml1.cpython-39.pyc
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pyxb
So yeah any help would be appreciated

Uh...you should be able to see runtimes in the drop-down when creating a function

Somewhere in these logs should be some explanation as to why the package couldn't be installed

Exit code 9 could indicate low memory

I was not using the UI, I was using CLI

When I use CLI I can’t choose other than the default 4 and if I set it to Python-3.11 and try to deploy it it gives me a useless error about the runtime like I didn’t know that, so we have to use the UI to use any custom runtime or?

It will only show you runtimes you have enabled


How do I enable runtimes?

On cloud, we only have select runtimes enabled

OH

Okay

Hm okay so it could maybe be that Appwrite Cloud is just giving up?

Okay so it still fails with -8

-9

If that’s an “out of memory” error, you guys best fix that ASAP to be an actual “out of memory error”, as it stands right now it’s just a screw you number with no explanation and no solution, I didn’t know installing authorizenet was too much memory for this but I’ll look into self hosting

This is an error thrown by pip. Googling pip exit code -9 showed multiple posts pointing towards a memory problem

damn

Aight my bad, sorry Steven
Recommended threads
- Change attributes of existing collection...
I'm trying to figure out how to add a new attribute to this empty collection, but the only prompt that shows up is the "create document." Nothing shows up in se...
- Sites - Tanstack start
Hi all do we know if sites will support deploying Tanstack start?
- Email template for OTP session
The default template shown by cloud interface does not match the sent template. Also whenever I change a character on the default template, the variable matcher...
