-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
.poetry/lib/poetry/_vendor/py2.7/subprocess32.py:149: RuntimeWarning: #2106
Comments
Try using Python3 |
@babuloseo As mentioned above, it gave the warning as mentioned above, except that it is now poetry version 1.0.5:
It is strange that py2.7 is used for a python3 install. |
Hello, both things are described in several issues here. But I took this to investigate the There are a few hits about this, when searching the web. It looks like the Nevertheless poetry seems to work fine despite of this message. So one could ignore it. If you really want to get rid of it, I've found a workaround: You have to create your own vendor on the target system: $ python -m pip install subprocess32 --no-deps --target ~/.poetry/lib/poetry/_vendor/py2.7 --upgrade |
One small edit to the Make that change, then invoke |
ps. f-string modification doesn't work on Python3.8 |
When I downloaded the latest $ poetry --version
/home/xxx/.poetry/lib/poetry/_vendor/py2.7/subprocess32.py:149: RuntimeWarning: The _posixsubprocess module is not being used. Child process reliability may suffer if your program uses threads.
"program uses threads.", RuntimeWarning)
Poetry version 1.0.9 I changed - allowed_executables = ["python", "python3"]
+ allowed_executables = ["python3", "python"] |
The new |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
After installing Poetry with:
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
or
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
I see this warning:
Not sure why there is this warning???
The text was updated successfully, but these errors were encountered: