-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 raises a [TypeError]'encoding' is an invalid keyword argument for this function when running in Python2.7 virtual environment #1290
Comments
I have the same issue, does not happen in Poetry 0.12.16. Using it until this issue is solved. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Yes it is still relevant and needs to be fixed |
Also have this with 1.0.2 |
Same Poetry version 1.0.2 on Ubuntu 18.04, using poetry inside a conda environment |
Hello @jerpint , can you please retry with the current release of poetry (1.0.5)? If the issue still exists, can you please describe step by step how one can reproduce it? Thanks! fin swimmer |
Still doesn't work for me.
|
Here's what ended up working for me:
Before doing poetry install |
I actually had to downgrade: |
Closing this because no more comments have been added for a long time and according to @v5y8 this seems not be a poetry issue. |
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. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: Ubuntu 18.04
Poetry version: 0.12.17
Link of a Gist with the contents of your pyproject.toml file: I am not allowed due to company rules
Issue
When running poetry (command:
poetry update
) from within a 2.7 virtual environment while parsing a package defined as a git repository the following error occurs:when run with the -vvv option I get the following:
I was able to resolve the issue by adding the following import to the
pip_installer.py
file:The text was updated successfully, but these errors were encountered: