Replies: 1 comment
-
I would really like to get Datasette running on Windows, but I've not put in the work yet. I need:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
Very glad for this project and eager to begin using on Windows. But I can't get datasette properly installed,..
I run datasette and:
Traceback (most recent call last):
File "c:\program files\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
...
File "c:\program files\python39\lib\site-packages\datasette\utils\asgi.py", line 2, in
from os import EX_CANTCREAT
ImportError: cannot import name 'EX_CANTCREAT' from 'os' (c:\program files\python39\lib\os.py)
Sure enough, my ~\python39\lib\os.py does not contain 'EX_CANTCREAT'.
Then I research https://docs.python.org/3.9/library/os.html and see:
os.EX_CANTCREAT
Exit code that means a user specified output file could not be created.
Availability: Unix.
So apparently we are not expected to find EX_CANTCREAT on Windows. But are we also not expected to be able to run datasette on Windows?
Or did I miss something? (Or several things?)
Any help, especially pointers to docs, will be appreciated.
Thank you!
-J
Beta Was this translation helpful? Give feedback.
All reactions