Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

AttributeError right after package install #1

Open
petarpetarpetar opened this issue Oct 10, 2022 · 2 comments
Open

AttributeError right after package install #1

petarpetarpetar opened this issue Oct 10, 2022 · 2 comments

Comments

@petarpetarpetar
Copy link

Hey there,

I've installed the package but when I tried to use the example script I've got the following error:

    status = windscribe.status()
  File "C:\Python310\lib\site-packages\windscribe\main.py", line 49, in status
    lines = _run(["status"])
  File "C:\Python310\lib\site-packages\windscribe\main.py", line 44, in _run
    child = pexpect.spawn("windscribe", args)
AttributeError: module 'pexpect' has no attribute 'spawn'

Any tips on how to solve this?
Python 3.10

@ShayBox
Copy link
Owner

ShayBox commented Oct 10, 2022

I'll take a look, seems like a python breaking change

@ShayBox
Copy link
Owner

ShayBox commented Oct 10, 2022

pexpect/pexpect#321
It appears to be incompetent platform consistency with pexpect.
I only tested my library on Linux as Windows already has a native Windscribe GUI client and that was the main purpose of creating my library, I'll fix that inconsistency.

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

No branches or pull requests

2 participants