anki-sync-server icon indicating copy to clipboard operation
anki-sync-server copied to clipboard

WindowsError: [Error 2] while debug

Open valuex opened this issue 7 years ago • 3 comments

First, Thanks for building this wonderful project! I've tried this project's instruction on Win10 64bit with python 2.7 and get some error. Kindly help to check the solution, thanks. ======Error Message========

Traceback (most recent call last): File "C:\Python27\Scripts\ankiserverctl.py", line 4, in import('pkg_resources').run_script('ankiserver==2.0.6', 'ankiserverctl.py') File "C:\Python27\lib\site-packages\pkg_resources_init_.py", line 743, in run_script self.require(requires)[0].run_script(script_name, ns) File "C:\Python27\lib\site-packages\pkg_resources_init_.py", line 1498, in run_script exec(code, namespace, namespace) File "c:\python27\lib\site-packages\ankiserver-2.0.6-py2.7.egg\EGG-INFO\scripts\ankiserverctl.py", line 169, in main() File "c:\python27\lib\site-packages\ankiserver-2.0.6-py2.7.egg\EGG-INFO\scripts\ankiserverctl.py", line 151, in main startsrv(sys.argv[2], True) File "c:\python27\lib\site-packages\ankiserver-2.0.6-py2.7.egg\EGG-INFO\scripts\ankiserverctl.py", line 42, in startsrv subprocess.call( ["paster", "serve", configpath], shell=False) File "C:\Python27\lib\subprocess.py", line 168, in call return Popen(*popenargs, **kwargs).wait() File "C:\Python27\lib\subprocess.py", line 390, in init errread, errwrite) File "C:\Python27\lib\subprocess.py", line 640, in _execute_child startupinfo) WindowsError: [Error 2]

valuex avatar Jan 08 '17 08:01 valuex

I am also getting a similar error. Can this project work with Windows at all?

aikalant avatar Jan 19 '17 01:01 aikalant

Seems I fixed it. Had to use easy_install instead of pip and it is running fine. (Have not tested syncing yet though).

Edit: syncing works - amazing project, thank you very much.

https://github.com/dsnopek/anki-sync-server/issues/40

aikalant avatar Jan 27 '17 04:01 aikalant