Open satishknl opened 7 years ago
Right, that's a bash script - not a python script: https://github.com/NVIDIA/DIGITS/blob/v5.0.0/digits-devserver#L1
Look at the contents of the script. You want something like this instead:
python -m digits
Why did you try that command? Do we need to update our docs somewhere?
i got this..........
C:\DIGITS>python -m digits
___ ___ ___ ___ _____ ___
| \_ _/ __|_ _|_ _/ __|
| |) | | (_ || | | | \__ \
|___/___\___|___| |_| |___/ 5.1-dev
Traceback (most recent call last):
File "C:\Anaconda\lib\runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:\Anaconda\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\DIGITS\digits\__main__.py", line 70, in <module>
main()
File "C:\DIGITS\digits\__main__.py", line 53, in main
import digits.config
File "digits\config\__init__.py", line 7, in <module>
from . import ( # noqa
File "digits\config\caffe.py", line 13, in <module>
from digits.utils import parse_version
File "digits\utils\__init__.py", line 167, in <module>
from . import constants, image, time_filters, errors, forms, routing, auth
# noqa
File "digits\utils\image.py", line 15, in <module>
import PIL.Image
ImportError: No module named PIL.Image
is digits installed lukeyeager ?
Please follow the windows instructions that @IsaacYangSLA contributed: https://github.com/NVIDIA/DIGITS/blob/digits-5.0/docs/BuildDigitsWindows.md
I got this: xuelei@xuelei-Z97-HD3:~/digits$ ./digits-devserver
| _ _/ | | / | | |) | | ( || | | | _ \ |/___|_| || |/ 5.1-dev
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/xuelei/digits/digits/main.py", line 70, in
@lukeyeager Is there anything more recent information on installing Digits for Windows than the link from Aug 2016? When you're presented with the option to install it on Windows it appears that it's a simple down load and install....
I have also received the, "No module named PIL.Image command" However, isn't PIL outdated and if using Pillow,, shouldn't it be "from PIL import Image" If still using PIL won't the import statement be just "import Image".
@satishknl I have found the fix for the no module Pil.Image. You need to use the old version of Pillow (3.1.1 or 3.1.2), not the new one.
Am facing with the syntax error:
C:\DIGITS>python digits-devserver File "digits-devserver", line 6 python2 -m digits $@ ^ SyntaxError: invalid syntax