fixed now. I guess pip3 is linked to pip2 and installed python3 again. On Sat, Dec 21, 2019 at 8:44 AM tommy yama <bluebo...@gmail.com> wrote:
> 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 <wlfr...@ix.netcom.com> > wrote: > >> On Thu, 19 Dec 2019 12:43:11 +0000, tommy yama <bluebo...@gmail.com> >> declaimed the following: >> >> > >> >user@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@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@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@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@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 >> wlfr...@ix.netcom.com >> http://wlfraed.microdiversity.freeddns.org/ >> >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > -- https://mail.python.org/mailman/listinfo/python-list