mattijn commented on issue #35600:
URL: https://github.com/apache/arrow/issues/35600#issuecomment-1580624761
Thanks for all the work on arrow!
I'm on windows and when running the following:
```python
from datetime import datetime
import pyarrow.compute as pc
pc.strftime(datetime(2004, 8, 1))
```
I get the following error:
> ```cmd
> ArrowInvalid: Cannot locate timezone 'UTC': Timezone database not found at
"D:\Users\Hoek\Downloads\tzdata"
> ```
Observe, that the error path refers to `D:`.
But in OP the following is mentioned:
> The timezone DB is required to be at %USERPROFILE%\Downloads\tzdata in
pyarrow on windows.
But if I check:
```python
! echo %USERPROFILE%
```
> ```cmd
> C:\Users\Hoek
> ```
and
```python
from pathlib import Path
Path.home()
```
> ```cmd
> WindowsPath('C:/Users/Hoek')
> ```
It is both linking to `C:`. How you know it is on `D:`? `D:` is right
though..
There is no `Downloads` folder for me on `C:\Users\Hoek` (therefor
https://stackoverflow.com/a/74292266/2459096 errored)
I assume it is just early days and this user experience will improve soon.
Again, thanks for all the hard work!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]