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

cannot import name 'spawn' from 'pexpect' #8

Open
Wleroy280 opened this issue Apr 25, 2023 · 0 comments
Open

cannot import name 'spawn' from 'pexpect' #8

Wleroy280 opened this issue Apr 25, 2023 · 0 comments

Comments

@Wleroy280
Copy link

C:\Users\willy\PycharmProjects\TryExcept\venv\Scripts\python.exe C:/Users/willy/PycharmProjects/TryExcept/main.py
Traceback (most recent call last):
File "C:\Users\willy\PycharmProjects\TryExcept\main.py", line 1, in
from pexpect import pxssh
File "C:\Users\willy\PycharmProjects\TryExcept\venv\Lib\site-packages\pexpect\pxssh.py", line 23, in
from pexpect import ExceptionPexpect, TIMEOUT, EOF, spawn
ImportError: cannot import name 'spawn' from 'pexpect' (C:\Users\willy\PycharmProjects\TryExcept\venv\Lib\site-packages\pexpect_init_.py)

Process finished with exit code 1

How to resolve this issue?

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

1 participant