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

ValueError: underlying buffer has been detached #5363

Closed
brydag opened this issue Feb 25, 2020 · 1 comment · Fixed by #5364
Closed

ValueError: underlying buffer has been detached #5363

brydag opened this issue Feb 25, 2020 · 1 comment · Fixed by #5364

Comments

@brydag
Copy link

brydag commented Feb 25, 2020

Hello

Please help as soon as possible. I have the issue as below:

xgboost\compat.py", line 101, in
if sys.stdin is not None and sys.stdin.closed:
ValueError: underlying buffer has been detached

Python version 3.7.4
Anaconda3 conda 4.8.2
xgboot 1.0.1
Windows Server2012R2

Packages are in conda virtual environment

trivialfis added a commit to trivialfis/xgboost that referenced this issue Feb 25, 2020
* Avoid importing datatable.
* Fix dmlc#5363.

We may want to migrate to this version of data checking for other packages.
trivialfis added a commit to trivialfis/xgboost that referenced this issue Feb 25, 2020
* Avoid importing datatable.
* Fix dmlc#5363.
@brydag
Copy link
Author

brydag commented Feb 25, 2020

Your fix its work perfectly. Thank you very much.

trivialfis added a commit that referenced this issue Feb 26, 2020
* Avoid importing datatable.
* Fix #5363.
trivialfis added a commit to trivialfis/xgboost that referenced this issue Feb 26, 2020
trivialfis added a commit that referenced this issue Feb 26, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant