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

Installation error in Windows #20

Open
be4pro opened this issue Nov 19, 2019 · 1 comment
Open

Installation error in Windows #20

be4pro opened this issue Nov 19, 2019 · 1 comment

Comments

@be4pro
Copy link

be4pro commented Nov 19, 2019

I was installing NAB in Win7 environment, the error came after running python setup.py install

Using e:\python37\lib\site-packages
Finished processing dependencies for nab==1.0
The system cannot find the path specified.
python: can't open file 'nab/detectors/htmcore/setup.py': [Errno 2] No such file or directory

I had nab-1.0 in site-package folder and pip list can detect nab. How would it affect usage? (My guess is that I couldn't use htmcore as a detector)

By the way, I commented out long_description=read("README.md") in setup.py due to encoding issue(I got unicode value error and couldn't install it even I particularly chcp 65001). I don't know if it was related.

@be4pro
Copy link
Author

be4pro commented Nov 19, 2019

I tested py run.py -d htmcore --detect --windowsFile labels/combined_windows_tiny.json. Aside from several no label warnings, I also got OverflowError as below:

Running detection step
Traceback (most recent call last):
File "run.py", line 247, in
main(args)
File "run.py", line 96, in main
runner.detect(detectorConstructors)
File "D:\NAB-master\nab\runner.py", line 134, in detect
self.pool.map_async(detectDataSet, args).get(99999999)
File "E:\Python37\lib\multiprocessing\pool.py", line 651, in get
self.wait(timeout)
File "E:\Python37\lib\multiprocessing\pool.py", line 648, in wait
self._event.wait(timeout)
File "E:\Python37\lib\threading.py", line 552, in wait
signaled = self._cond.wait(timeout)
File "E:\Python37\lib\threading.py", line 300, in wait
gotit = waiter.acquire(True, timeout)
OverflowError: timeout value is too large

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

1 participant