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

.skein.sh: line 2: environment/bin/python: No such file or directory #159

Open
jahd opened this issue Aug 9, 2022 · 4 comments
Open

.skein.sh: line 2: environment/bin/python: No such file or directory #159

jahd opened this issue Aug 9, 2022 · 4 comments

Comments

@jahd
Copy link

jahd commented Aug 9, 2022

I'm trying to run a dask yarn_cluster job on dataproc but i can't.

Dask worker log is giving me this issue:

.skein.sh: line 2: environment/bin/python: No such file or directory

while the packaged environnement i give to my yarn_cluster has python3.8 on it.

any idea ?

@jacobtomlinson
Copy link
Member

Could you share a small reproducible example of how you came to this problem so we can investigate?

@jahd
Copy link
Author

jahd commented Aug 11, 2022

yes here it is :

LogType:dask.worker.log
LogLastModifiedTime:Thu Aug 11 18:44:21 +0000 2022
LogLength:411
LogContents:
Could not find platform independent libraries
Consider setting $PYTHONHOME to [:<exec_prefix>]
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fd28c2a6740 (most recent call first):
.skein.sh: line 2: 1442 Aborted (core dumped) environment/bin/python -m dask_yarn.cli services worker

@jahd
Copy link
Author

jahd commented Aug 11, 2022

i've tried common solutions already but i can't make it work, i'm using virtualenv

@jacobtomlinson
Copy link
Member

Sorry I mean could you share your code and configuration so we can reproduce?

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