htm-community / nupic.studio

NuPIC Studio is a powerful all­-in-­one tool that allows users create a HTM neural network from scratch, train it, collect statistics, and share it among the members of the community.
GNU General Public License v2.0
94 stars 29 forks source link

NameError: name 'execfile' is not defined #42

Open gramcracker opened 1 year ago

gramcracker commented 1 year ago

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.