bluebird75 / winpdb

Fork of the official winpdb with improvements
Other
91 stars 24 forks source link

can't open file 'session_manager\..\rpdb2.py': [Errno 2] No such file or directory #42

Open gauthierbuttez opened 3 years ago

gauthierbuttez commented 3 years ago

Hi,

I am developing software with Python 3.7 on WIndows 10.

I freshly installed windpb 👍

J:\Dropbox\cff\Python\PhoneBotV3>python -m pip install --upgrade winpdb-reborn
Requirement already up-to-date: winpdb-reborn in c:\users\nino\appdata\local\programs\python\python37\lib\site-packages (2.0.0.1)
Requirement already satisfied, skipping upgrade: wxpython>=4 in c:\users\nino\appdata\local\programs\python\python37\lib\site-packages (from winpdb-reborn) (4.1.1)
Requirement already satisfied, skipping upgrade: pillow in c:\users\nino\appdata\local\programs\python\python37\lib\site-packages (from wxpython>=4->winpdb-reborn) (6.0.0)
Requirement already satisfied, skipping upgrade: numpy; python_version >= "3.0" in c:\users\nino\appdata\local\programs\python\python37\lib\site-packages (from wxpython>=4->winpdb-reborn) (1.18.2)
Requirement already satisfied, skipping upgrade: six in c:\users\nino\appdata\local\programs\python\python37\lib\site-packages (from wxpython>=4->winpdb-reborn) (1.15.0)

Then I run it with this command :

winpdb MySoft.py

Nothing happen.

So I run this one:

python -m winpdb MySoft.py

The GUI is open and empty. No file, no code. So I tried to attach a file by running the command again

python -m winpdb MySoft.py

The first time it opens a cmd window with this message:

C:\Users\Nino\AppData\Local\Programs\Python\Python37\python.exe: can't open file 'session_manager\..\rpdb2.py': [Errno 2] No such file or directory

The 2nd time when I attached a command (Menu>File>Attach), I get another cmd window with exact same message: C:\Users\Nino\AppData\Local\Programs\Python\Python37\python.exe: can't open file 'session_manager\..\rpdb2.py': [Errno 2] No such file or directory

Then I searched for this file and this issue on StackOverflow, google, and more.... NOTHING!?

So what did I do wrong?

Can anyone help me please?

gauthierbuttez commented 3 years ago

UDPATE:

I downloaded this file: https://raw.githubusercontent.com/bluebird75/winpdb/master/rpdb2.py

And place it in Python folder. It didn't fix my issue.

oailton commented 2 years ago

I feel alleviated (on a bad sense) because I am facing the same issue on a not supported config (Python 3.10.2 Windows 10) because I tried to workaround the absence of wxPython easy installation via pip with the unofficial wxPython310 package. So I hope that in my case, the culprit could be other thing beyond the obvious suspect (the unofficial wxPython310).

czoins commented 1 year ago

Starting winpdb.py from site-packages worked for me: python winpdb.py