Skip to content

Migrate workflow101: AttributeError: module 'subprocess' has no attribute 'PIPE' #130

@D0wn3r

Description

@D0wn3r

Hi,
I'm just trying to follow the README of workflow101's cookbook to run it

Traceback (most recent call last):
  File "/home/simco-dev/cookbook/workflow101/manage.py", line 14, in <module>
    from django.core.management import execute_from_command_line
  File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 17, in <module>
    from django.conf import settings
  File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/django/conf/__init__.py", line 19, in <module>
    from django.utils.deprecation import RemovedInDjango60Warning
  File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/django/utils/deprecation.py", line 4, in <module>
    from asgiref.sync import iscoroutinefunction, markcoroutinefunction, sync_to_async
  File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/asgiref/sync.py", line 1, in <module>
    import asyncio
  File "/usr/lib/python3.10/asyncio/__init__.py", line 8, in <module>
    from .base_events import *
  File "/usr/lib/python3.10/asyncio/base_events.py", line 40, in <module>
    from . import events
  File "/usr/lib/python3.10/asyncio/events.py", line 204, in <module>
    class AbstractEventLoop:
  File "/usr/lib/python3.10/asyncio/events.py", line 499, in AbstractEventLoop
    stdin=subprocess.PIPE,
AttributeError: module 'subprocess' has no attribute 'PIPE'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions