Skip to content

TypeError: <3.12.3> is not a Python version I know about #52

Description

@pradyparanjpe

Python 3.12.3 was released on 2024-04-09 and Python3.12.4 was released on 2024-06-06.

Activity

  1. rocky commented on Jun 7, 2024

    @rocky
    Collaborator

    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.

  2. pradyparanjpe commented on Jun 7, 2024

    @pradyparanjpe
    Author

    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
  3. added
    Volunteer wantedVolunteer wanted to fix if a bug or to implement if a new feature.
    on Jun 7, 2024
  4. locked and limited conversation to collaborators on Jun 7, 2024
  5. converted this issue into a discussion #53 on Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Volunteer wantedVolunteer wanted to fix if a bug or to implement if a new feature.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions