using pudb on python2 code - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: using pudb on python2 code (/thread-28945.html) |
using pudb on python2 code - ErnestTBass - Aug-10-2020 I have removed pudb for python 3.7.3 from my pc windows install. A previous post informed me that the code that I was trying to run was python 2.7 code. Okay. I now have python 3.7.3 installed on my Windows 10 Pro system. I would like to install python 2.7. Must I remove python 3.7.3 to do so? When I installed pudb on my windows system this morning, did it install pudb3 since only python 3.7.3 is installed? Is pudb specific to a python version, ie. pudb2 and pudb3? How to do install pudb so it only uses or works with python 2.7.3. Any help appreciated. Thanks in advance. Respectfully, ErnestTBass RE: using pudb on python2 code - bowlofred - Aug-10-2020 Python2 is very old and is no longer being updated. All python code should be upgraded to python3. Most code is pretty easy to move. There are even tools (2to3) that can help with some of the steps. You can install python2 on windows. There is no need to remove python3. However, sometimes getting everything set so that the version you want to run is invoked can be tricky. RE: using pudb on python2 code - snippsat - Aug-10-2020 There is now only Python 3.6+ version of PuDB,they did drop Python 2 support 23/7-2020. Quote:When I installed pudb on my windows system this morning, did it install pudb3We have been trough this several time in your older Thread pip -V show always what version you install to.Quick demo in cmd as i never use,as cmder is much better.# Will install to 3.8 C:\>pip -V pip 20.2 from c:\python38\lib\site-packages\pip (python 3.8) # Install C:\>pip install pudb Collecting pudb ..... Successfully installed pudb-2019.2 urwid-2.1.1 # Test that it work C:\>python Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pudb >>> >>> pudb.__version__ '2019.2' >>> exit() C:\> |