Giter VIP home page Giter VIP logo

Comments (4)

YuanBoXie avatar YuanBoXie commented on August 11, 2024

I modified the tornado source code and skipped this issue. But Then I meet another issue:
[IDACode] settings.PYTHON version mismatch, aborting load:
[IDACode] IDA interpreter: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]win32
[IDACode] settings.PYTHON: 2.7.18 |Anaconda, Inc.| (default, Apr 23 2020, 17:26:54) [MSC v.1500 64 bit (AMD64)]win32
I can't find python.exe in the IDA Pro folder, I can only find python.dll and python64.dll, so maybe IDA interpreter: 2.7.13 is packed in this dll.
In such a case, how can I specify the python variable in the idacode_utils/setting.py file?

from idacode.

YuanBoXie avatar YuanBoXie commented on August 11, 2024

Such a problem may be caused by IDA Pro 7.0. At this version of IDA Pro, It packs python env in python64.dll not pack python.exe, so I can't find python.exe to manually install the dependency. At the same time, I can't specify the python path in settings.py.

Is there anyone who install this plugin at version 7.0? How do you solve this problem?

from idacode.

ioncodes avatar ioncodes commented on August 11, 2024

In theory (I haven't tested this): It should be possible to use a "built-in" Python interpreter (as in, shipped as DLL), but it would require a lot of tweaking, and I'm not even sure if debugpy would support that properly. Your best bet is just getting an IDA Pro copy that introduced Python 3 (IDA Pro 7.4 and onwards), as these are best supported.
Another thing you can try: Download idapyswitch.exe and see if you can force IDA 7.0 to use an external installation of Python, if that works it should solve all your issues.

Is there a specific reason why you're using IDA 7.0?

from idacode.

YuanBoXie avatar YuanBoXie commented on August 11, 2024

Thanks for your reply. Because I have some scripts written in python 2.7, IDA Pro 7.5+ can't use python2.7 so I tried to run this in version 7.0. But it seems this problem can't easily be solved. So I do as you say, I rewrite scripts in Python3 and upgrade the IDA Pro to version 7.5 then issue#35 can be solved.

from idacode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.