htm-community/nupic.studio

NameError: name 'execfile' is not defined

gramcracker opened this issue · 0 comments

Using python 3 I cannot install nupic_studio. I get the following:

pip3 install nupic_studio
Defaulting to user installation because normal site-packages is not writeable
Collecting nupic_studio
  Using cached nupic_studio-1.1.3.tar.gz (1.0 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-s2_akeyi/nupic-studio_f9ef94da62dc43a58f334bcbef2a088d/setup.py", line 37, in <module>
          execfile(os.path.join(REPO_DIR, "nupic_studio", "__init__.py"), {}, properties)
      NameError: name 'execfile' is not defined
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.