hexdump module installation error

tommy yama bluebox03 at gmail.com
Sat Dec 21 03:44:51 EST 2019


Thanks to all giving me helpful comments.
Multiple hexdump files are found. Maybe that"s the reason.

I guess i can figure out




On Thu, Dec 19, 2019 at 5:29 PM Dennis Lee Bieber <wlfraed at ix.netcom.com>
wrote:

> On Thu, 19 Dec 2019 12:43:11 +0000, tommy yama <bluebox03 at gmail.com>
> declaimed the following:
>
> >
> >user at USERnoMacBook-Air LibraBrowser % python3 hexdump.py
> >
>
> >/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
> >can't open file 'hexdump.py': [Errno 2] No such file or directory
> >
> >user at USERnoMacBook-Air LibraBrowser %
> >
>
>         Well... what does
>
>                 find / -iname hexdump.py
>
> return? If found, is it in the Python search path?
>
> {Debian system here, but... (after doing apt install python3-pip)}
>
> wulfraed at debian:~$ pip3 install hexdump
> Collecting hexdump
>   Downloading
>
> https://files.pythonhosted.org/packages/55/b3/279b1d57fa3681725d0db8820405cdcb4e62a9239c205e4ceac4391c78e4/hexdump-3.3.zip
> Building wheels for collected packages: hexdump
>   Running setup.py bdist_wheel for hexdump ... done
>   Stored in directory:
>
> /home/wulfraed/.cache/pip/wheels/d5/d1/f2/c8183b5863b3df595c2eeafd8e015a43dae13d403a959467c6
> Successfully built hexdump
> Installing collected packages: hexdump
> Successfully installed hexdump-3.3
> wulfraed at debian:~$ sudo find / -iname hexdump.py
> /home/wulfraed/.local/lib/python3.7/site-packages/hexdump.py
> find: ‘/run/user/1000/gvfs’: Permission denied
> /usr/lib/python3/dist-packages/pygments/lexers/hexdump.py
> /usr/lib/python2.7/dist-packages/pygments/lexers/hexdump.py
> wulfraed at debian:~$ python3
> Python 3.7.3 (default, Apr  3 2019, 05:39:12)
> [GCC 8.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import hexdump
> >>> dir(hexdump)
> ['PY3K', '__author__', '__builtins__', '__cached__', '__doc__', '__file__',
> '__history__', '__license__', '__loader__', '__name__', '__package__',
> '__spec__', '__version__', 'binascii', 'chunkread', 'chunks', 'dehex',
> 'dump', 'dumpgen', 'genchunks', 'hexdump', 'main', 'normalize_py',
> 'restore', 'runtest', 'sys']
> >>> hexdump.__file__
> '/home/wulfraed/.local/lib/python3.7/site-packages/hexdump.py'
> >>>
>
>         Note that there are "hexdump.py" files involved with the pygments
> package, which likely are not what you are looking for (quick glance -- the
> pygments hexdump READS dump files).
>
>
> --
>         Wulfraed                 Dennis Lee Bieber         AF6VN
>         wlfraed at ix.netcom.com
> http://wlfraed.microdiversity.freeddns.org/
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>


More information about the Python-list mailing list