# dagster-plus

Nehil Jain

02/14/2024, 3:13 AM
I am new to setting up dagster cloud for a project. After making my first change to the template repo I created with from dagster-ui I am getting an error. The code runs great locally. What am I doing wrong? Something is not jiving with the python dependencies used in the project I feel
Copy code
Exception: Code server failed to start up.

Task logs:
    from dagster._annotations import public
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/dagster/", line 8, in <module>
    from dagster._core.decorator_utils import (
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/dagster/_core/", line 30, in <module>
    from dagster._core.errors import DagsterInvalidDefinitionError
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/dagster/_core/", line 23, in <module>
    from dagster._utils.interrupts import raise_interrupts_as
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/dagster/_utils/", line 51, in <module>
    import dagster._seven as seven
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/dagster/_seven/", line 13, in <module>
    import pendulum
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/pendulum/", line 33, in <module>
    from pendulum.testing.traveller import Traveller
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/pendulum/testing/", line 59, in <module>
    import time_machine
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/time_machine/", line 23, in <module>
    from unittest import mock
  File "/usr/local/lib/python3.10/unittest/", line 26, in <module>
    import asyncio
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/asyncio/", line 21, in <module>
    from .base_events import *
  File "/venvs/c63102bcc84c/lib/python3.10/site-packages/asyncio/", line 296
    future = tasks.async(future, loop=self)
SyntaxError: invalid syntax
  File "/dagster-cloud/dagster_cloud/workspace/user_code_launcher/", line 1420, in _reconcile
  File "/dagster-cloud/dagster_cloud/workspace/ecs/", line 560, in _wait_for_new_server_ready
  File "/dagster-cloud/dagster_cloud/workspace/user_code_launcher/", line 1823, in _wait_for_dagster_server_process
  File "/dagster-cloud/dagster_cloud/workspace/user_code_launcher/", line 1872, in _wait_for_server_process
  File "/dagster-cloud/dagster_cloud/workspace/ecs/", line 554, in <lambda>
    additional_check = lambda: _assert_new_pex_server_did_not_crash()
  File "/dagster-cloud/dagster_cloud/workspace/ecs/", line 548, in _assert_new_pex_server_did_not_crash
    raise Exception(


02/14/2024, 3:16 AM
Hi Nehil - could you share the python dependencies?
i looked around for that error a bit and got a couple of hits like this: - is it possible you're explicitly including "asyncio" in your requirements? seems like its in the standard library and doesn't need to be explicitly listed as a requirement
(and that doing so installs which is only needed for very old versions of python)