Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gauthierbuttez opened this issue Mar 10, 2021 · 3 comments

Comments

@gauthierbuttez
Copy link

gauthierbuttez commented Mar 10, 2021

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
Copy link
Author

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
Copy link

oailton commented Apr 11, 2022

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
Copy link

czoins commented Dec 13, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants