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

I copied the sample code but don't know why the error is reported #109

Open
QingXuan2000 opened this issue Oct 27, 2023 · 1 comment
Open

Comments

@QingXuan2000
Copy link

QingXuan2000 commented Oct 27, 2023

I copied the instance code but don't know why the error is reported

python3.xx
pick2.20
`from pick import pick

title = 'Please choose your favorite programming language: '
options = ['Java', 'JavaScript', 'Python', 'PHP', 'C++', 'Erlang', 'Haskell']

option, index = pick(options, title, indicator='=>', default_index=2)
`

output :
D:\PythonCode\pythonProject1\venv\Scripts\python.exe D:\PythonCode\pythonProject1\main.py

Process ended with exit code -1073741819 (0xC0000005)

屏幕截图 2023-10-27 193804

@aisk
Copy link
Owner

aisk commented Mar 31, 2024

Hi, can you try the code in a real terminal instead of PyCharm, like cmd.exe or Windows Terminal, to ensure if it caused by the different between PyCharm's terminal and real terminal.

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

2 participants