alteryx / alteryx/featuretools

Pandas not in index key error

Open
#763 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.7k
Forks
915
PR merge metrics
No merged PRs in 30d

Description

### Bug/Feature Request Title
Entityset: incidents
Entities:
TBL_A [Rows: 1370939, Columns: 34]
Create_Dist_View_Id [Rows: 2, Columns: 4]
Place_View_Id [Rows: 2, Columns: 3]
Place_Object_Id [Rows: 2, Columns: 2]
TBL_D [Rows: 2299, Columns: 5]
TBL_C [Rows: 2299, Columns: 2]
TBL_B [Rows: 39190, Columns: 22]
Relationships:
TBL_A.Create_Dist_View_Id -> Create_Dist_View_Id.Create_Dist_View_Id
Create_Dist_View_Id.Place_View_Id -> Place_View_Id.Place_View_Id
TBL_A.Place_View_Id -> Place_View_Id.Place_View_Id
Place_View_Id.Place_Object_Id -> Place_Object_Id.Place_Object_Id
TBL_A.Place_Object_Id -> Place_Object_Id.Place_Object_Id
TBL_A.Reason_Node_Id -> TBL_D.Node_Id
TBL_D.Entity_Id -> TBL_C.Entity_Id
TBL_B.Create_Dist_View_Id -> Create_Dist_View_Id.Create_Dist_View_Id
TBL_B.Inc_Id -> TBL_A.Inc_Id

```
es.add_interesting_values()
agg_primitives=list(ft.list_primitives().loc[ft.list_primitives()['type'] == 'aggregation', 'name'])
trans_primitives=list(ft.list_primitives().loc[ft.list_primitives()['type'] == 'transform', 'name'])
where_primitives = ['count']
groupby_trans_primitives = ['cum_count']
es.add_last_time_indexes()

cutoff_time_df=TBL_A[['Inc_Id', 'Date_Begin']]
cutoff_time_df.Date_Begin = cutoff_time_df.Date_Begin + timedelta(seconds=30)

feature_matrix, feature_defs = ft.dfs(entityset=entityset,
target_entity=target_entity,
agg_primitives=agg_primitives,
trans_primitives=trans_primitives,
groupby_trans_primitives=groupby_trans_primitives,
where_primitives=where_primitives,
cutoff_time=cutoff_time_df,
max_features=step,
drop_exact=drop_exact + dropped + derived,
drop_contains=drop_contains,
save_progress='/ft_primitives',
training_window=ft.Timedelta(365,"d"),
n_jobs=n_jobs,
verbose=False,
max_depth=max_depth,
features_only=False)
```

**gives:**

```
2019-10-02 23:55:25,655 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:25,700 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:25,808 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:25,884 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:25,885 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:25,903 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:25,920 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:25,994 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:26,013 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,799 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,803 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,810 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,825 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,829 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,831 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,839 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,864 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,879 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,894 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,896 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,924 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,926 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,934 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,951 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,952 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,960 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,965 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,969 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,977 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,982 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:28,986 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:29,005 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:29,007 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:29,009 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:29,016 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.
2019-10-02 23:55:29,025 featuretools - WARNING Attempting to add feature which is already present. This is likely a bug.

```
**then error:**

```
"['N_MOST_COMMON(TBL_B.DAY(Create_Date))[0]', 'N_MOST_COMMON(TBL_B.MONTH(Create_Date))[0]', 'N_MOST_COMMON(TBL_B.DAY(Plan_Date))[1]', 'N_MOST_COMMON(TBL_B.HOUR(Create_Date))[2]', 'N_MOST_COMMON(TBL_B.MONTH(Plan_Date))[0]', 'N_MOST_COMMON(TBL_B.MONTH(Modif_Date))[1]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Create_Date))[1]', 'N_MOST_COMMON(TBL_B.MONTH(Start_Work_Date))[1]', 'N_MOST_COMMON(TBL_B.Ustr_FIO)[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(EKACUI_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Start_Work_Date))[0]', 'N_MOST_COMMON(TBL_B.WEEKDAY(End_Date))[1]', 'N_MOST_COMMON(TBL_B.EKACUI_Status)[0]', 'N_MOST_COMMON(TBL_B.YEAR(Modif_Date))[0]', 'N_MOST_COMMON(TBL_B.MONTH(End_Date))[1]', 'N_MOST_COMMON(TBL_B.WEEK(End_Date))[1]', 'N_MOST_COMMON(TBL_B.Ustr_Pred)[0]', 'N_MOST_COMMON(TBL_B.HOUR(Modif_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEK(Start_Work_Date))[2]', 'N_MOST_COMMON(TBL_B.HOUR(Plan_Date))[2]', 'N_MOST_COMMON(TBL_B.Check_Priz)[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Create_Date))[0]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Modif_Date))[2]', 'N_MOST_COMMON(TBL_B.MONTH(Start_Work_Date))[2]', 'N_MOST_COMMON(TBL_B.DAY(Modif_Date))[2]', 'N_MOST_COMMON(TBL_B.YEAR(EKACUI_Date))[1]', 'N_MOST_COMMON(TBL_B.YEAR(Modif_Date))[2]', 'N_MOST_COMMON(TBL_B.MONTH(Situation_Time_Begin))[1]', 'N_MOST_COMMON(TBL_B.YEAR(Create_Date))[2]', 'N_MOST_COMMON(TBL_B.MONTH(Plan_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(End_Date))[0]', 'N_MOST_COMMON(TBL_B.HOUR(Start_Work_Date))[1]', 'N_MOST_COMMON(TBL_B.Create_Dist_View_Id.Place_Object_Id)[0]', 'N_MOST_COMMON(TBL_B.YEAR(Situation_Time_Begin))[1]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Situation_Time_Begin))[1]', 'N_MOST_COMMON(TBL_B.HOUR(Plan_Date))[0]', 'N_MOST_COMMON(TBL_B.Check_Priz)[0]', 'N_MOST_COMMON(TBL_B.WEEK(Create_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEK(EKACUI_Date))[0]', 'N_MOST_COMMON(TBL_B.WEEK(Create_Date))[0]', 'N_MOST_COMMON(TBL_B.Create_Dist_View_Id.Place_View_Id)[1]', 'N_MOST_COMMON(TBL_B.EKACUI_Status)[1]', 'N_MOST_COMMON(TBL_B.Create_Dist_View_Id.Place_Object_Id)[1]', 'N_MOST_COMMON(TBL_B.HOUR(Create_Date))[1]', 'N_MOST_COMMON(TBL_B.YEAR(Plan_Date))[1]', 'N_MOST_COMMON(TBL_B.MONTH(End_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEK(Situation_Time_Begin))[2]', 'N_MOST_COMMON(TBL_B.YEAR(Create_Date))[0]', 'N_MOST_COMMON(TBL_B.HOUR(EKACUI_Date))[0]', 'N_MOST_COMMON(TBL_B.MONTH(Create_Date))[1]', 'N_MOST_COMMON(TBL_B.WEEK(EKACUI_Date))[1]', 'N_MOST_COMMON(TBL_B.WEEK(End_Date))[2]', 'N_MOST_COMMON(TBL_B.Prim_Work)[2]', 'N_MOST_COMMON(TBL_B.Send_Priz)[1]', 'N_MOST_COMMON(TBL_B.DAY(Create_Date))[1]', 'N_MOST_COMMON(TBL_B.MONTH(Situation_Time_Begin))[2]', 'N_MOST_COMMON(TBL_B.HOUR(End_Date))[1]', 'N_MOST_COMMON(TBL_B.MONTH(Create_Date))[2]', 'N_MOST_COMMON(TBL_B.HOUR(EKACUI_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEK(Situation_Time_Begin))[0]', 'N_MOST_COMMON(TBL_B.PRICH_OTKL)[2]', 'N_MOST_COMMON(TBL_B.YEAR(Start_Work_Date))[2]', 'N_MOST_COMMON(TBL_B.DAY(End_Date))[2]', 'N_MOST_COMMON(TBL_B.Check_FIO)[2]', 'N_MOST_COMMON(TBL_B.WEEK(Plan_Date))[2]', 'N_MOST_COMMON(TBL_B.MONTH(Modif_Date))[0]', 'N_MOST_COMMON(TBL_B.DAY(Situation_Time_Begin))[2]', 'N_MOST_COMMON(TBL_B.MONTH(Plan_Date))[1]', 'N_MOST_COMMON(TBL_B.Create_Dist_View_Id.Place_Object_Id)[2]', 'N_MOST_COMMON(TBL_B.Create_FIO)[1]', 'N_MOST_COMMON(TBL_B.Prim_Work)[1]', 'N_MOST_COMMON(TBL_B.YEAR(EKACUI_Date))[0]', 'N_MOST_COMMON(TBL_B.MONTH(EKACUI_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEK(Plan_Date))[1]', 'N_MOST_COMMON(TBL_B.Create_FIO)[2]', 'N_MOST_COMMON(TBL_B.Ustr_FIO)[1]', 'N_MOST_COMMON(TBL_B.PRICH_OTKL)[1]', 'N_MOST_COMMON(TBL_B.Ustr_Podr)[0]', 'N_MOST_COMMON(TBL_B.DAY(Modif_Date))[0]', 'N_MOST_COMMON(TBL_B.DAY(End_Date))[1]', 'N_MOST_COMMON(TBL_B.Reason)[1]', 'N_MOST_COMMON(TBL_B.MONTH(Modif_Date))[2]', 'N_MOST_COMMON(TBL_B.Create_Dist_View_Id.Place_View_Id)[0]', 'N_MOST_COMMON(TBL_B.Ustr_FIO)[0]', 'N_MOST_COMMON(TBL_B.WEEK(Modif_Date))[1]', 'N_MOST_COMMON(TBL_B.YEAR(Start_Work_Date))[0]', 'N_MOST_COMMON(TBL_B.DAY(EKACUI_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Plan_Date))[1]', 'N_MOST_COMMON(TBL_B.HOUR(Modif_Date))[1]', 'N_MOST_COMMON(TBL_B.Ustr_Pred)[1]', 'N_MOST_COMMON(TBL_B.WEEK(EKACUI_Date))[2]', 'N_MOST_COMMON(TBL_B.Check_FIO)[0]', 'N_MOST_COMMON(TBL_B.YEAR(End_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEK(Plan_Date))[0]', 'N_MOST_COMMON(TBL_B.HOUR(Start_Work_Date))[0]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Plan_Date))[0]', 'N_MOST_COMMON(TBL_B.PRICH_OTKL)[0]', 'N_MOST_COMMON(TBL_B.YEAR(End_Date))[1]', 'N_MOST_COMMON(TBL_B.YEAR(EKACUI_Date))[2]', 'N_MOST_COMMON(TBL_B.YEAR(Plan_Date))[0]', 'N_MOST_COMMON(TBL_B.HOUR(Modif_Date))[0]', 'N_MOST_COMMON(TBL_B.HOUR(Situation_Time_Begin))[1]', 'N_MOST_COMMON(TBL_B.Create_Dist_View_Id)[1]', 'N_MOST_COMMON(TBL_B.DAY(Create_Date))[2]', 'N_MOST_COMMON(TBL_B.HOUR(End_Date))[2]', 'N_MOST_COMMON(TBL_B.Ustr_Pred)[2]', 'N_MOST_COMMON(TBL_B.Send_Priz)[0]', 'N_MOST_COMMON(TBL_B.EKACUI_Status)[2]', 'N_MOST_COMMON(TBL_B.HOUR(Create_Date))[0]', 'N_MOST_COMMON(TBL_B.Reason)[2]', 'N_MOST_COMMON(TBL_B.YEAR(End_Date))[0]', 'N_MOST_COMMON(TBL_B.DAY(EKACUI_Date))[1]', 'N_MOST_COMMON(TBL_B.DAY(Plan_Date))[2]', 'N_MOST_COMMON(TBL_B.Create_Dist_View_Id)[0]', 'N_MOST_COMMON(TBL_B.HOUR(End_Date))[0]', 'N_MOST_COMMON(TBL_B.HOUR(Situation_Time_Begin))[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Modif_Date))[1]', 'N_MOST_COMMON(TBL_B.HOUR(Situation_Time_Begin))[0]', 'N_MOST_COMMON(TBL_B.Ustr_Podr)[1]', 'N_MOST_COMMON(TBL_B.HOUR(EKACUI_Date))[1]', 'N_MOST_COMMON(TBL_B.Create_Dist_View_Id)[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(EKACUI_Date))[0]', 'N_MOST_COMMON(TBL_B.Create_FIO)[0]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Plan_Date))[2]', 'N_MOST_COMMON(TBL_B.Create_Dist_View_Id.Place_View_Id)[2]', 'N_MOST_COMMON(TBL_B.Ustr_Podr)[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(End_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Modif_Date))[0]', 'N_MOST_COMMON(TBL_B.DAY(Start_Work_Date))[0]', 'N_MOST_COMMON(TBL_B.DAY(Situation_Time_Begin))[1]', 'N_MOST_COMMON(TBL_B.WEEK(Start_Work_Date))[1]', 'N_MOST_COMMON(TBL_B.Check_Priz)[1]', 'N_MOST_COMMON(TBL_B.MONTH(End_Date))[0]', 'N_MOST_COMMON(TBL_B.MONTH(Situation_Time_Begin))[0]', 'N_MOST_COMMON(TBL_B.WEEK(Create_Date))[1]', 'N_MOST_COMMON(TBL_B.WEEK(Situation_Time_Begin))[1]', 'N_MOST_COMMON(TBL_B.DAY(EKACUI_Date))[0]', 'N_MOST_COMMON(TBL_B.DAY(Start_Work_Date))[2]', 'N_MOST_COMMON(TBL_B.MONTH(Start_Work_Date))[0]', 'N_MOST_COMMON(TBL_B.Prim_Work)[0]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Situation_Time_Begin))[2]', 'N_MOST_COMMON(TBL_B.DAY(End_Date))[0]', 'N_MOST_COMMON(TBL_B.YEAR(Modif_Date))[1]', 'N_MOST_COMMON(TBL_B.YEAR(Start_Work_Date))[1]', 'N_MOST_COMMON(TBL_B.WEEK(End_Date))[0]', 'N_MOST_COMMON(TBL_B.DAY(Situation_Time_Begin))[0]', 'N_MOST_COMMON(TBL_B.Ticket_Id)[0]', 'N_MOST_COMMON(TBL_B.YEAR(Situation_Time_Begin))[2]', 'N_MOST_COMMON(TBL_B.Ticket_Id)[1]', 'N_MOST_COMMON(TBL_B.YEAR(Situation_Time_Begin))[0]', 'N_MOST_COMMON(TBL_B.HOUR(Plan_Date))[1]', 'N_MOST_COMMON(TBL_B.YEAR(Plan_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Create_Date))[2]', 'N_MOST_COMMON(TBL_B.HOUR(Start_Work_Date))[2]', 'N_MOST_COMMON(TBL_B.MONTH(EKACUI_Date))[1]', 'N_MOST_COMMON(TBL_B.MONTH(EKACUI_Date))[0]', 'N_MOST_COMMON(TBL_B.WEEKDAY(EKACUI_Date))[1]', 'N_MOST_COMMON(TBL_B.Ticket_Id)[2]', 'N_MOST_COMMON(TBL_B.WEEK(Modif_Date))[0]', 'N_MOST_COMMON(TBL_B.Check_FIO)[1]', 'N_MOST_COMMON(TBL_B.Send_Priz)[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Situation_Time_Begin))[0]', 'N_MOST_COMMON(TBL_B.Reason)[0]', 'N_MOST_COMMON(TBL_B.WEEK(Modif_Date))[2]', 'N_MOST_COMMON(TBL_B.DAY(Plan_Date))[0]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Start_Work_Date))[2]', 'N_MOST_COMMON(TBL_B.WEEKDAY(Start_Work_Date))[1]', 'N_MOST_COMMON(TBL_B.DAY(Modif_Date))[1]', 'N_MOST_COMMON(TBL_B.DAY(Start_Work_Date))[1]', 'N_MOST_COMMON(TBL_B.YEAR(Create_Date))[1]', 'N_MOST_COMMON(TBL_B.WEEK(Start_Work_Date))[0]'] not in index"

File "", line 66, in generate_features
features_only=False)
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\featuretools\utils\entry_point.py", line 46, in function_wrapper
raise e
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\featuretools\utils\entry_point.py", line 38, in function_wrapper
return_value = func(*args, **kwargs)
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\featuretools\synthesis\dfs.py", line 215, in dfs
verbose=verbose)
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 269, in calculate_feature_matrix
progress_bar=progress_bar)
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 359, in calculate_chunk
training_window=window)
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\featuretools\computational_backends\utils.py", line 43, in wrapped
r = method(*args, **kwargs)
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\featuretools\computational_backends\calculate_feature_matrix.py", line 327, in calc_results
matrix = calculator.run(ids, progress_callback=progress_callback)
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\featuretools\computational_backends\feature_set_calculator.py", line 140, in run
return df[column_list]
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\pandas\core\frame.py", line 2986, in __getitem__
indexer = self.loc._convert_to_indexer(key, axis=1, raise_missing=True)
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\pandas\core\indexing.py", line 1285, in _convert_to_indexer
return self._get_listlike_indexer(obj, axis, **kwargs)[1]
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\pandas\core\indexing.py", line 1092, in _get_listlike_indexer
keyarr, indexer, o._get_axis_number(axis), raise_missing=raise_missing
File "C:\Users\house\.conda\envs\eq-fault\lib\site-packages\pandas\core\indexing.py", line 1185, in _validate_read_indexer
raise KeyError("{} not in index".format(not_found))
```
-----
*Issues created here on Github are for bugs or feature requests. For usage questions and questions about errors, please ask on Stack Overflow with the [featuretools](https://stackoverflow.com/questions/tagged/featuretools) tag. Check the [documentation](https://docs.featuretools.com/#get-help) for further guidance on where to ask your question.*

#### Bug/Feature Request Description

[this should explain **why** the current behaviour is a problem and why the expected output is a better solution.]

#### Expected Output

#### Output of ``featuretools.show_info()``

[paste the output of ``featuretools.show_info()`` here below this line]

```
FileNotFoundError Traceback (most recent call last)
in
----> 1 ft.show_info()

~\.conda\envs\eq-fault\lib\site-packages\featuretools\utils\cli_utils.py in show_info()
16
17 def show_info():
---> 18 subprocess.run(["featuretools", "info"])
19
20

~\.conda\envs\eq-fault\lib\subprocess.py in run(input, capture_output, timeout, check, *popenargs, **kwargs)
470 kwargs['stderr'] = PIPE
471
--> 472 with Popen(*popenargs, **kwargs) as process:
473 try:
474 stdout, stderr = process.communicate(input, timeout=timeout)

~\.conda\envs\eq-fault\lib\subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)
773 c2pread, c2pwrite,
774 errread, errwrite,
--> 775 restore_signals, start_new_session)
776 except:
777 # Cleanup if the child failed starting.

~\.conda\envs\eq-fault\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session)
1176 env,
1177 os.fspath(cwd) if cwd is not None else None,
-> 1178 startupinfo)
1179 finally:
1180 # Child is launched. Close the parent's copy of those pipe

FileNotFoundError: [WinError 2]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.