prompt-toolkit / ptpython

A better Python REPL
BSD 3-Clause "New" or "Revised" License
5.23k stars 281 forks source link

Ptpython cli does not get instantiated when installed on custome python packages #573

Open muthvar1 opened 8 months ago

muthvar1 commented 8 months ago

I am seeing an issue on my ubuntu VMs where when trying to install ptpython on custom python packages, the ptpython command does not work. I tried sudo install as in solution https://github.com/prompt-toolkit/ptpython/issues/311, but that did not help either

bld:/data/ssd/rel61x/tools$ ptpython

Command 'ptpython' not found, did you mean:

command 'pvpython' from deb python3-paraview (5.7.0-4ubuntu9) command 'pmpython' from deb pcp (5.0.3-1)

Try: apt install

bld:/data/ssd/rel61x/tools$

muthvar1 commented 8 months ago

FYI: The workaround is to run it as mypython -m ptpython. Where mpython is an alias to my custom python package