-
Notifications
You must be signed in to change notification settings - Fork 192
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
[BUG] Poetry failing to recognize file directory #493
Comments
I tested this on my mac and didn't face any error. Will try it again on some other machine
|
If anyone else is experiencing this issue, please feel free to leave a comment here. Thank you! |
I think this may be broken (wrongly documented) on Windows. Does It works on *nix because hello.py has a BOM of @roma2023 if you can confirm, let's insert python everywhere we say |
In summary, it's a documentation issue on Windows due to lack of a proper shebang line in the scripts, and the recommendation is to call python explicitly when using Poetry on Windows. |
What is the bug?
Running samples with Poetry fails on Windows 10 and Mac
How can one reproduce the bug?
pipx install poetry
.cd opensearch-py/samples
poetry install
.poetry run hello/hello.py
.What is the expected behavior?
Poetry should run the samples without any errors
What is your host/environment?
Windows 10, Docker 4.17.1 (101757)
macOS 10.15
Do you have any screenshots?
The result on Windows machine:
The result on the Mac machine:

The text was updated successfully, but these errors were encountered: