I installed ipython on my Ubuntu and then I installed the mechanism on the same.I can do
import mechanize
from the command line. But when I say import mechanization from ipython, it says that no module named mechanize.
I would do it ...
In the console:
>>> import mechanize >>> mechanize.__file__ Some/path/to/mechanize
Then in ipython
[1] import sys [2] print sys.path
See if the path / Some / path / to / mechanize is in your sys.path.
Source: https://habr.com/ru/post/1403806/More articles:Force CL-Lex read whole words - lispBASH: send a signal SIGTSTP (ctrl + z) - linuxhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1403802/different-ways-to-debug-a-web2py-application&usg=ALkJrhjdo4qrXVERvY_vJyV0Lsa3NqBwWgIOS Enterprise Developer Account: Get Device Token - iosShould I continue to rely on code generation to generate my models and CRUD? - phpHow to extract part of a variable into another variable in a shell script - bashSave image in .resx as byte [], not Bitmap - c #How to implement the tail command using CL? - common-lispHow to test downloads with Carrierwave + FactoryGirl - unit-testingStack overflow on OCaml recursive solution for shortest knight on checkerboard puzzle - algorithmAll Articles