https://prefect.io logo
Title
m

Mathuraju Sivasankar

02/11/2023, 8:32 AM
I am unable to install prefect in windows . It is throwing the error: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\Bhnimda\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\prefect\\orion\\database\\migrations\\versions\\postgresql\\2022_04_23_132803_d38c5e6a9115_rename_block_to_blockbasis_and_.py'
r

redsquare

02/11/2023, 9:14 AM
have you enabled long file paths?
1
👍 1
its honestly easier to run in wsl2 on win
m

Mathuraju Sivasankar

02/11/2023, 1:04 PM
Thank you @redsquare. Enabling the long file path worked for me.
👍 1