QianXiao
07/30/2020, 1:31 PMmax
07/30/2020, 2:00 PMsync_get_external_repositories
is not playing nicely with relative imports / pythonpath -- i also wonder if this is windows- or anaconda-onlyconda list
daniel
07/30/2020, 2:02 PMmax
07/30/2020, 2:07 PMQianXiao
07/30/2020, 2:14 PMconda list
is a very longdaniel
07/30/2020, 2:22 PMmax
07/30/2020, 2:30 PMfrom . import numeric\n File "/Users/dgibson/.pyenv/versions/3.8.1/envs/dagster-3.8.1/lib/python3.8/site-packages/numpy/core/numeric.py", line 23, in <module>\n from . import shape_base\n File "/Users/dgibson/.pyenv/versions/3.8.1/envs/dagster-3.8.1/lib/python3.8/site-packages/numpy/core/shape_base.py", line 9, in <module>\n from . import numeric as _nx\nImportError: cannot import name \'numeric\' from partially initialized module \'numpy.core\' (most likely due to a circular import)
QianXiao
07/30/2020, 2:40 PMimport numpy as np
in the message.pyalex
07/30/2020, 2:41 PMdagit -f simple_task.py -d .
?QianXiao
07/30/2020, 2:43 PMalex
07/30/2020, 2:44 PMworking_directory
/ -d
aspect to file based loads to ensure we capture if the current working directory needs to be set, in your case from message import Message
only works if the working directory is the one containing the two files.
Though its only supposed to warn if its not set, and you are still getting the error with -d
so…. very puzzlingQianXiao
07/30/2020, 2:53 PMimport pandas as pd
also encounters the errormax
07/30/2020, 3:07 PMQianXiao
07/30/2020, 3:07 PMalex
07/30/2020, 3:07 PMpandas
above the message
import it works as well?QianXiao
07/30/2020, 3:10 PMalex
07/30/2020, 3:19 PMQianXiao
07/30/2020, 3:20 PMalex
07/30/2020, 3:35 PMsashank
07/31/2020, 12:07 AMQianXiao
07/31/2020, 3:58 AMdaniel
07/31/2020, 12:55 PM