Is it possible to install the mailer module in Python 3.11.2?
We have a script currently running in Python 3.7 that we want to move to 3.11. One of the requirements is the mailer module.
When I try to install mailer with pi I get the following error:
We have a script currently running in Python 3.7 that we want to move to 3.11. One of the requirements is the mailer module.
When I try to install mailer with pi I get the following error:
Error:pip3.11 install mailer
Collecting mailer
Using cached mailer-0.8.1.zip (6.5 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in mailer setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I have tried downgrading setuptools to v57, but that did not help. I currently have setuptools v70 installed.