https://kedro.org/ logo
#questions
Title
# questions
g

George p

12/17/2023, 12:32 AM
Hi Kedro team! I am trying to run the command
kedro package
for a project that sits in a folder called
D:/projects/tmp_spaceflights
. However, on the pc I am working on,
D:
is mapped (i.e. aliased) as a drive to the location:
C:/Coding
As a result, when using the command to package the project in a (Windows) command line [while in the folder mapped as
D:/projects/tmp_spaceflights]
, I get an error saying that:
C:/Coding/projects/tmp_spaceflights
is not in the subpath of
D:/projects/tmp_spaceflights
OR one path is relative and the other is absolute. Is there a way to make it understand that in fact:
D:/
==
C:/Coding
, that does not include changing my command line location from the 'mapped'
D:/
to the original
C:/Coding
? The reason I start CMD with
D:
as a Current Working Directory (CWD) is because this offers me some shortcuts, validations and privileges that are pre-installed on this pc, which otherwise I would not have if my CWD was the 'resolved'
C:/Coding
j

Juan Luis

12/17/2023, 8:44 PM
hi @George p, I suspect it's because of how we resolve symlinks https://github.com/kedro-org/kedro/issues/2346 could you post a comment there with your problem?