Skip to content

Commit

Permalink
Simpler pynn install
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Jun 17, 2024
1 parent 329b7eb commit 19134e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions omv/engines/getpynn.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ def install_pynn(version=None):
# pip_install('lazyarray') # This should ideally be automatically installed with PyNN...
# pip_install('neo>=0.11.0') # This should ideally be automatically installed with PyNN...

pip_install("pynn", version)
import pyNN
'''
install_root = os.environ["HOME"]
pyNN_src = "PyNN_src"
Expand All @@ -33,6 +36,7 @@ def install_pynn(version=None):
print(check_output(["pwd"]))
print("Finished attempting to install PyNN")
# import pyNN
'''
m = "Successfully installed pyNN..."
except Exception as e:
m = "ERROR during install_pynn: %s" % e
Expand Down

0 comments on commit 19134e6

Please sign in to comment.