Skip to content

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

Description

@Wleroy280

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions