Coder Social home page Coder Social logo

Comments (7)

 avatar commented on August 21, 2024 1

thanks.I had slove this. My ida has its own python. I add it to system path but not work.I use Absolute Path(D;\ida\python27\python.exe setup.py install)solve this

from idawasm.

 avatar commented on August 21, 2024
PROCESSOR_ENTRY: E:\IDA_Pro_v7.0_Portable\procs\wasm_proc.py: No module named idawasm.processor
Traceback (most recent call last):
  File "E:\IDA_Pro_v7.0_Portable\python\ida_idaapi.py", line 584, in IDAPython_LoadProcMod
    procmod = imp.load_module(procmod_name, fp, pathname, description)
  File "E:/IDA_Pro_v7.0_Portable/procs\wasm_proc.py", line 1, in <module>
    import idawasm.processor  # NOQA: F401 imported but unused
ImportError: No module named idawasm.processor

from idawasm.

williballenthin avatar williballenthin commented on August 21, 2024

looks like the package is not installed correctly. did you follow the installation steps listed in the readme?

from idawasm.

 avatar commented on August 21, 2024

yes.I try to use python to run wasm_loader.py. when I import firist line(import idawasm.loader),it tell me No module named idaapi
Python 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:37:19) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import idawasm.loader
Traceback (most recent call last):
File "", line 1, in
File "build\bdist.win-amd64\egg\idawasm\loader.py", line 9, in
ImportError: No module named idaapi

from idawasm.

 avatar commented on August 21, 2024

I move ida_idaapi.py to python libs but it doesn't work. I am no idea to deal with it

from idawasm.

williballenthin avatar williballenthin commented on August 21, 2024

you need to install this package (...python setup.py install) using the python interpreter that IDA uses. you won't be able to load the module from a python prompt because things like idaapi are only available within IDA. you should be able to do import idawasm from within IDA if things are working correctly. I would verify that the path that IDA uses (sys.path) matches the installation of python that you've been using.

from idawasm.

godspeedcurry avatar godspeedcurry commented on August 21, 2024

thank you, i solve the problem

from idawasm.

Related Issues (5)

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.