TypeError: <3.12.3> is not a Python version I know about
Closed this issue · 2 comments
pradyparanjpe commented
Python 3.12.3 was released on 2024-04-09 and Python3.12.4 was released on 2024-06-06.
rocky commented
I have 3.12.3 installed and trepan3k works for me:
$ trepan3k trepan3k
(/home/rocky/.pyenv/versions/3.12.3/bin/trepan3k:1): <module>
-> 1 #!/home/rocky/.pyenv/versions/3.12.3/bin/python3.12
(trepan3k) lit
** NameError: name 'lit' is not defined
(trepan3k) list
End position changed to last line 8
1 #!/home/rocky/.pyenv/versions/3.12.3/bin/python3.12
2 # -*- coding: utf-8 -*-
3 import re
4 import sys
5 from trepan.__main__ import main
6 if __name__ == '__main__':
7 sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8 sys.exit(main())
(trepan3k)
You may need to have a development version of trepan3k and xdis installed.
pradyparanjpe commented
Thanks!
Installing with pip
directly from git helped.
pip install --break-system-packages git+https://github.com/rocky/python3-trepan git+https://github.com/rocky/python-xdis
However, the same with pipx
still installs trepan that throws the above error...
pipx install git+https://github.com/rocky/python3-trepan git+https://github.com/rocky/python-xdis