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

WindowsError: [Error 2] while debug #53

Open
valuex opened this issue Jan 8, 2017 · 3 comments
Open

WindowsError: [Error 2] while debug #53

valuex opened this issue Jan 8, 2017 · 3 comments

Comments

@valuex
Copy link

valuex commented Jan 8, 2017

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]

@aikalant
Copy link

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

@aikalant
Copy link

aikalant commented Jan 27, 2017

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.

#40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@valuex @aikalant and others