Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

clean environment, example code will not execute #122

Open
Open
clean environment, example code will not execute#122

Description

I set up a fresh, new environment to test PyInquirer with but all examples return the following (or similar) error:

python checkbox.py
Traceback (most recent call last):
File "checkbox.py", line 68, in
answers = prompt.prompt(questions, style=custom_style_2)
AttributeError: 'function' object has no attribute 'prompt'

pip install was smooth:

Successfully installed PyInquirer-1.0.3 Pygments-2.6.1 prompt-toolkit-1.0.14 regex-2020.7.14 six-1.15.0 wcwidth-0.2.5

Environment:

Name Version Build Channel
ca-certificates 2020.6.24 0
certifi 2020.6.20 py38_0
libcxx 10.0.0 1
libedit 3.1.20191231 h1de35cc_1
libffi 3.3 hb1e8313_2
ncurses 6.2 h0a44026_1
openssl 1.1.1g h1de35cc_0
pip 20.1.1 py38_1
prompt-toolkit 1.0.14 pypi_0 pypi
pygments 2.6.1 pypi_0 pypi
pyinquirer 1.0.3 pypi_0 pypi
python 3.8.3 h26836e1_2
readline 8.0 h1de35cc_0
regex 2020.7.14 pypi_0 pypi
setuptools 49.2.0 py38_0
six 1.15.0 pypi_0 pypi
sqlite 3.32.3 hffcf06c_0
tk 8.6.10 hb0a8c7a_0
wcwidth 0.2.5 pypi_0 pypi
wheel 0.34.2 py38_0
xz 5.2.5 h1de35cc_0
zlib 1.2.11 h1de35cc_3

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