Comments (4)
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.
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.
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.
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)
- debugpy may not free port HOT 2
- if __name__ ==... causes error HOT 9
- Version HOT 2
- Does setting breakpoint from vsc supported ? HOT 12
- How to debug plugins? HOT 7
- Unable to attach debugger after debugpy 1.0.0 release HOT 2
- Unable to set breakpoint (BdbQuit exception)
- IDACode does'nt analyze Var type HOT 1
- Two one-line patches HOT 2
- VSC, Can't connect to IDA and attach a debugger. HOT 6
- a key error in use vscode connect to ida HOT 2
- Is it supported on Ubuntu? and i got some trouble ;ida can not install idacode plugin HOT 3
- Debugger is not working. HOT 5
- Option to turn off IDACode plugin in IDA and VSCode HOT 2
- Imported module not updated HOT 2
- NameError: name 'idaaip' is not defined HOT 1
- Pycharm support HOT 2
- dynamic breakpoint support HOT 7
- Workspace is "undefined" when skipping InputBox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idacode.