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

Windows Issue with Tutorial: No module named 'fcntl' #23

Closed
nickfranciose opened this issue Dec 5, 2019 · 2 comments
Closed

Windows Issue with Tutorial: No module named 'fcntl' #23

nickfranciose opened this issue Dec 5, 2019 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@nickfranciose
Copy link

Hello metaflow,

I am interested in learning about the metaflow offering but am hitting a snag in the very first tutorial:

λ python 00-helloworld/helloworld.py show
Traceback (most recent call last):
File "00-helloworld/helloworld.py", line 1, in
from metaflow import FlowSpec, step
File "C:\Users\Nick.Franciose\AppData\Local\Programs\Python\Python36\lib\site-packages\metaflow_init_.py", line 45, in
from .event_logger import EventLogger
File "C:\Users\Nick.Franciose\AppData\Local\Programs\Python\Python36\lib\site-packages\metaflow\event_logger.py", line 1, in
from .sidecar import SidecarSubProcess
File "C:\Users\Nick.Franciose\AppData\Local\Programs\Python\Python36\lib\site-packages\metaflow\sidecar.py", line 4, in
import fcntl
ModuleNotFoundError: No module named 'fcntl'

Stackoverflow suggests fcntl is a linux specific. Is this offering windows compatible? If so, do you have a workaround?

Best,
NIck

@crk-codaio crk-codaio added the duplicate This issue or pull request already exists label Dec 5, 2019
@crk-codaio
Copy link
Contributor

Let me know if I can close this issue once the workaround in #10 works for you.

@nickfranciose
Copy link
Author

Yes, using WSL solves the issue. Thanks.

@visr visr mentioned this issue Dec 16, 2019
sappier added a commit to sappier/metaflow that referenced this issue Apr 16, 2021
* Add --env and --env-from to the cmdline argo params

These parameters expect JSON like specified in K8S for pod's
"env" and "envFrom".

Helps to run metaflow-tutorials without changing source code, e.g.:

python playlist.py argo create --env-from='[{"secretRef": {"name": "s3-secret"}}]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants