I already have mechanize but it said that I dont have the module name of mechanize what should I do? And is python

Recommended Answers

All 16 Replies

ImportError:No module named mechanize
Thats what it said in my computer

Traceback (most recent call last):
  File "C:\Python27\", line 10, in <module>
    import mechanize
ImportError: No module named mechanize

The mechanize module?

C:\>cd Python27

C:\Python27>dir
 Volume in drive C has no label.
 Volume Serial Number is 5C48-BE07

 Directory of C:\Python27

2021-03-15  06:15 PM    <DIR>          .
2021-03-15  06:15 PM    <DIR>          ..
2021-03-15  04:27 PM    <DIR>          DLLs
2021-03-15  04:27 PM    <DIR>          Doc
2021-03-15  05:23 PM             5,307 facebook.py
2021-03-15  04:32 PM            22,633 fb.py
2021-03-15  04:32 PM            22,032 fb.pyc
2021-03-15  04:32 PM                 0 fbbruteforcer.log
2021-03-15  04:27 PM    <DIR>          include
2021-03-15  05:19 PM    <DIR>          Lib
2021-03-15  06:12 PM               694 library.zip
2021-03-15  04:27 PM    <DIR>          libs
2011-06-12  02:30 PM            40,080 LICENSE.txt
2021-03-15  01:59 PM    <DIR>          mechanize
2007-11-06  08:25 PM               526 Microsoft.VC90.CRT.manifest
2007-11-06  10:02 PM           627,200 msvcr90.dll
2011-06-12  02:23 PM           285,115 NEWS.txt
2021-03-15  06:10 PM               546 pkg.exe
2011-06-12  02:24 PM            27,136 python.exe
2011-06-12  02:24 PM         2,982,912 python27.dll
2011-06-12  02:24 PM            27,648 pythonw.exe
2011-05-30  05:54 AM            54,967 README.txt
2021-03-15  04:27 PM    <DIR>          tcl
2021-03-15  04:27 PM    <DIR>          Tools
              14 File(s)      4,096,796 bytes
              10 Dir(s)  24,720,003,072 bytes free

C:\Python27>facebook.py
Traceback (most recent call last):
  File "C:\Python27\facebook.py", line 10, in <module>
    import mechanize
ImportError: No module named mechanize

here's the code

That's a directory listing. No code and no answer about if you installed the mechanize module.

commented: I already installed mechanize but when I start the program it said there that theres no module name +0

Let's see your code. Without it, no one can tell you much more.

PS. I see a prior at https://github.com/s0md3v/Striker/issues/30

Yes, also check on github:

  • Manisso/fsociety/issues/51
  • /0xInfection/TIDoS-Framework/issues/111

I install the mechanize module

Sorry I meant questions. No code so I can't check if there's some spelling or other error.

Which code that I will show it to you? Is it the mechanize module?

That would be your code. I can find the module easily but if you maintain it's a module failure you are posting in the wrong place.

I've been more than patient here. What is taking you so long to share the failing code?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.