-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Syntax error on "python setup.py install" #1125
Comments
Is
It thought this error was supposed to happen due to the node be "Unimportable".. See the content of
Maybe we should turn OFF the verbosity for this file. |
I had this problem too when I was using Python 2.7.7 and IPython. Every time I tried to import nupic I would get a fatal error. That's when I decided to back-up and wipe my startup disk and completely reinstall Mavericks. It's a pretty brute force approach but it worked. The problem might have something to do with the Python version since the default version on Mavericks is 2.7.5 |
@david-ragazzi The problem is that |
In fact, all the files in the exp_generator directory have I will test it out and see if I can do a simple fix. |
The offending files doesn't look like it's being used anymore. I'm going to create a PR with the file removed and watch the build. |
There is also one other file causing a syntax error:
This is used for tests, but should not be included in the build. |
@david-ragazzi Do you know how I can exclude a python source file from being interpreted during the build? |
I've no idea, because as far I know SetupTools is compiling each file to be imported. Why we simply don't exclude it? |
@david-ragazzi This file is used in unit tests at |
I always get this error. It doesn't break anything, but it should probably be fixed.
This is because the file being parsed is a template, not a python source file. We need to try to exclude templates like this from interpretation somehow.
The text was updated successfully, but these errors were encountered: