Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows error: Error: cannot instantiate 'PosixPath' on your system #86

Open
bwprice opened this issue Oct 13, 2021 · 1 comment
Open
Labels
🐛 bug Something isn't working

Comments

@bwprice
Copy link
Collaborator

bwprice commented Oct 13, 2021

Not a new issue, but thought I would flag here.

Current solution for windows add this to the pipeline script:
import pathlib
temp = pathlib.PosixPath
pathlib.PosixPath = pathlib.WindowsPath

For a longer term solution perhaps this could be in the script already, with some sort of OS awareness in the script to "turn this on" when needed?

@alexdesiqueira alexdesiqueira added the 🐛 bug Something isn't working label Oct 13, 2021
@alexdesiqueira
Copy link
Member

Thanks @bwprice! I'll add it to the code, with something to check the system running the pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants