org_to_anki
org_to_anki copied to clipboard
Installation on Windows?
Hi! In installation instructions I can read:
To install this module from source on Linux or macOS:
git clone https://github.com/c-okelly/org_to_anki cd org_to_ani python3 setup.py install
But, how to install org_to_anki on Windows?
Thanks, your software looks incredible.
I assume you can just run python3 setup.py install though I'm not really sure tbh and don't have a Windows env to test on
- I've installed last stable python for windows. (Making sure to tick the option to add python to PATH): https://www.python.org/downloads/windows/
- Open CMD as ADMIN
- Launched your setup, by pasting its path into the CMD and adding install to the end:
C:\Downloads\org_to_anki-master\setup.py install - I tested org_to_anki to see if it worked. I wrote on the CMD:
C:\Windows\system32>org_to_anki C:\3-Holoteca.orgBut it seems the result was not good:
Traceback (most recent call last):
File "C:\Program Files (x86)\Python38-32\Scripts\org_to_anki-script.py", line
11, in <module>
load_entry_point('org-to-anki==1.3.1', 'console_scripts', 'org_to_anki')()
File "C:\Program Files (x86)\Python38-32\lib\site-packages\pkg_resources\__ini
t__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Program Files (x86)\Python38-32\lib\site-packages\pkg_resources\__ini
t__.py", line 2852, in load_entry_point
return ep.load()
File "C:\Program Files (x86)\Python38-32\lib\site-packages\pkg_resources\__ini
t__.py", line 2443, in load
return self.resolve()
File "C:\Program Files (x86)\Python38-32\lib\site-packages\pkg_resources\__ini
t__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'src'
Sorry I should have added a much more obvious solution to this problem. Just use the Anki plugin instead
https://ankiweb.net/shared/info/1029306148