# Anki could not create its data Folder error

**URL:** <https://forums.ankiweb.net/t/anki-could-not-create-its-data-folder-error/4954>\
**Category:** Help\
**Created:** [November 9, 2020, 5:07pm UTC](https://forums.ankiweb.net/t/anki-could-not-create-its-data-folder-error/4954 "2020-11-09T17:07:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivesorm](https://avatars.discourse-cdn.com/v4/letter/i/51bf81/32.png) [@ivesorm](https://forums.ankiweb.net/u/ivesorm)\
**Post date:** [November 9, 2020, 5:07pm UTC](https://forums.ankiweb.net/t/anki-could-not-create-its-data-folder-error/4954/1 "2020-11-09T17:07:04Z")

</div>

Hello I have problems with the data Folder, the message “Anki could not create its date Folder” pops up. I tried to use all the solitions on the Forum but none of them seems to work for me.

This is the message I get on CMD. And I have OneDrive that might be causing the issue but I don’t know how to fix it. Could you please help me out? Thank you!!

[9636] PyInstaller Bootloader 3.x  
[9636] LOADER: executable is C:\Program Files\Anki\anki-console.exe  
[9636] LOADER: homepath is C:\Program Files\Anki  
[9636] LOADER: \_MEIPASS2 is NULL  
[9636] LOADER: archivename is C:\Program Files\Anki\anki-console.exe  
[9636] LOADER: C:\Program Files\Anki\anki-console.exe contains a digital signature  
[9636] LOADER: No need to extract files to run; setting extractionpath to homepath  
[9636] LOADER: SetDllDirectory(C:\Program Files\Anki)  
[9636] LOADER: Already in the child - running user’s code.  
[9636] LOADER: Python library: C:\Program Files\Anki\python38.dll  
[9636] LOADER: Loaded functions from Python library.  
[9636] LOADER: Manipulating environment (sys.path, sys.prefix)  
[9636] LOADER: sys.prefix is C:\Program Files\Anki  
[9636] LOADER: Pre-init sys.path is C:\Program Files\Anki\base\_library.zip;C:\Program Files\Anki  
[9636] LOADER: Setting runtime options  
[9636] LOADER: Initializing python  
[9636] LOADER: Overriding Python’s sys.path  
[9636] LOADER: Post-init sys.path is C:\Program Files\Anki\base\_library.zip;C:\Program Files\Anki  
[9636] LOADER: Setting sys.argv  
[9636] LOADER: setting sys._MEIPASS  
[9636] LOADER: importing modules from CArchive  
[9636] LOADER: extracted struct  
[9636] LOADER: callfunction returned…  
[9636] LOADER: extracted pyimod01\_os\_path  
[9636] LOADER: callfunction returned…  
[9636] LOADER: extracted pyimod02\_archive  
[9636] LOADER: callfunction returned…  
[9636] LOADER: extracted pyimod03\_importers  
[9636] LOADER: callfunction returned…  
[9636] LOADER: Installing PYZ archive with Python modules.  
[9636] LOADER: PYZ archive: PYZ-00.pyz  
[9636] LOADER: Running pyiboot01\_bootstrap.py  
[9636] LOADER: Running pyi\_rth\_win32comgenpy.py  
[9636] LOADER: Running pyi\_rth\_multiprocessing.py  
[9636] LOADER: Running pyi\_rth\_certifi.py  
[9636] LOADER: Running pyi\_rth\_pyqt5.py  
[9636] LOADER: Running pyi\_rth\_pkgres.py  
[9636] LOADER: Running pyi\_rth\_pyqt5webengine.py  
[9636] LOADER: Running runanki.py  
Traceback (most recent call last):  
File "aqt\_init_.py", line 442, in \_run  
File “aqt\profiles.py”, line 87, in **init**  
File “aqt\profiles.py”, line 395, in \_setBaseFolder  
File “aqt\profiles.py”, line 130, in maybeMigrateFolder  
File “aqt\profiles.py”, line 121, in \_oldFolderLocation  
File “aqt\winpaths.py”, line 163, in get\_personal  
File “aqt\winpaths.py”, line 105, in \_get\_path\_buf  
File “aqt\winpaths.py”, line 89, in \_err\_unless\_zero  
aqt.winpaths.WinPathsException: Failed to retrieve windows path: -2147024843  
Already running; reusing existing instance.  
[9636] LOADER: OK.  
[9636] LOADER: Manually flushing stdout and stderr  
[9636] LOADER: Cleaning up Python interpreter.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [November 10, 2020, 9:29am UTC](https://forums.ankiweb.net/t/anki-could-not-create-its-data-folder-error/4954/2 "2020-11-10T09:29:54Z")

</div>

> [@Anki could not create its data folder](https://forums.ankiweb.net/t/anki-could-not-create-its-data-folder/1411/6):
>
> I do use onedrive but not on the drive that anki is installed on. Everything about anki should be on the drive that doesn’t use onedrive and my drive is not full this is the result I get back in my console when I follow that link [21052] PyInstaller Bootloader 3.x [21052] LOADER: executable is C:\Program Files\Anki\anki-console.exe [21052] LOADER: homepath is C:\Program Files\Anki [21052] LOADER: \_MEIPASS2 is NULL [21052] LOADER: archivename is C:\Program Files\Anki\anki-console.exe [210…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 5:23am UTC](https://forums.ankiweb.net/t/anki-could-not-create-its-data-folder-error/4954/3 "2023-05-01T05:23:49Z")

</div>


