Last active
April 11, 2021 04:46
-
-
Save kiview/d8fa4c33bd9529a6ef14aba7bdb82615 to your computer and use it in GitHub Desktop.
Installing BindsNET on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All commands to be run either in CMD or Powershell terminal. | |
# Make sure Python for Windows is installed, etc. | |
# https://www.python.org/downloads/windows/ | |
# clone BindsNet | |
git clone https://github.com/BindsNET/bindsnet.git | |
cd bindsnet | |
# Create a new virtual environment using pipenv in the bindsnet directory | |
pipenv install | |
# The following should not be necessary, but somehow, `pipenv install` commands did not work for me from outside the virtuale environment | |
pipenv shell | |
# install correct pytorch dependencies | |
pip install torch===1.7.1 torchvision===0.8.2 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html | |
# build local repo | |
pip install . | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[source]] | |
name = "pypi" | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
[dev-packages] | |
[packages] | |
torch = "===1.7.1" | |
install = "*" | |
[requires] | |
python_version = "3.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_meta": { | |
"hash": { | |
"sha256": "ac879f2bd82e39be36c3eb40e306b9dfcced7bfb6ac28c4f2eb0882a49ae710d" | |
}, | |
"pipfile-spec": 6, | |
"requires": { | |
"python_version": "3.8" | |
}, | |
"sources": [ | |
{ | |
"name": "pypi", | |
"url": "https://pypi.org/simple", | |
"verify_ssl": true | |
} | |
] | |
}, | |
"default": { | |
"install": { | |
"hashes": [ | |
"sha256:1455304a2475b6753a9b0c28243ca7d8b7d71aeea1a88e6de94034fc57d765a0", | |
"sha256:dfec614e0cc90f00659067a078bc2ec032d9f0758f3df230c073eeaffd0cefa1" | |
], | |
"index": "pypi", | |
"version": "==1.3.4" | |
}, | |
"numpy": { | |
"hashes": [ | |
"sha256:032be656d89bbf786d743fee11d01ef318b0781281241997558fa7950028dd29", | |
"sha256:104f5e90b143dbf298361a99ac1af4cf59131218a045ebf4ee5990b83cff5fab", | |
"sha256:125a0e10ddd99a874fd357bfa1b636cd58deb78ba4a30b5ddb09f645c3512e04", | |
"sha256:12e4ba5c6420917571f1a5becc9338abbde71dd811ce40b37ba62dec7b39af6d", | |
"sha256:13adf545732bb23a796914fe5f891a12bd74cf3d2986eed7b7eba2941eea1590", | |
"sha256:2d7e27442599104ee08f4faed56bb87c55f8b10a5494ac2ead5c98a4b289e61f", | |
"sha256:3bc63486a870294683980d76ec1e3efc786295ae00128f9ea38e2c6e74d5a60a", | |
"sha256:3d3087e24e354c18fb35c454026af3ed8997cfd4997765266897c68d724e4845", | |
"sha256:4ed8e96dc146e12c1c5cdd6fb9fd0757f2ba66048bf94c5126b7efebd12d0090", | |
"sha256:60759ab15c94dd0e1ed88241fd4fa3312db4e91d2c8f5a2d4cf3863fad83d65b", | |
"sha256:65410c7f4398a0047eea5cca9b74009ea61178efd78d1be9847fac1d6716ec1e", | |
"sha256:66b467adfcf628f66ea4ac6430ded0614f5cc06ba530d09571ea404789064adc", | |
"sha256:7199109fa46277be503393be9250b983f325880766f847885607d9b13848f257", | |
"sha256:72251e43ac426ff98ea802a931922c79b8d7596480300eb9f1b1e45e0543571e", | |
"sha256:89e5336f2bec0c726ac7e7cdae181b325a9c0ee24e604704ed830d241c5e47ff", | |
"sha256:89f937b13b8dd17b0099c7c2e22066883c86ca1575a975f754babc8fbf8d69a9", | |
"sha256:9c94cab5054bad82a70b2e77741271790304651d584e2cdfe2041488e753863b", | |
"sha256:9eb551d122fadca7774b97db8a112b77231dcccda8e91a5bc99e79890797175e", | |
"sha256:a1d7995d1023335e67fb070b2fae6f5968f5be3802b15ad6d79d81ecaa014fe0", | |
"sha256:ae61f02b84a0211abb56462a3b6cd1e7ec39d466d3160eb4e1da8bf6717cdbeb", | |
"sha256:b9410c0b6fed4a22554f072a86c361e417f0258838957b78bd063bde2c7f841f", | |
"sha256:c26287dfc888cf1e65181f39ea75e11f42ffc4f4529e5bd19add57ad458996e2", | |
"sha256:c91ec9569facd4757ade0888371eced2ecf49e7982ce5634cc2cf4e7331a4b14", | |
"sha256:ecb5b74c702358cdc21268ff4c37f7466357871f53a30e6f84c686952bef16a9" | |
], | |
"markers": "python_version >= '3.7'", | |
"version": "==1.20.1" | |
}, | |
"torch": { | |
"hashes": [ | |
"sha256:2e49cac969976be63117004ee00d0a3e3dd4ea662ad77383f671b8992825de1a", | |
"sha256:38d67f4fb189a92a977b2c0a38e4f6dd413e0bf55aa6d40004696df7e40a71ff", | |
"sha256:422e64e98d0e100c360993819d0307e5d56e9517b26135808ad68984d577d75a", | |
"sha256:5d76c255a41484c1d41a9ff570b9c9f36cb85df9428aa15a58ae16ac7cfc2ea6", | |
"sha256:6652a767a0572ae0feb74ad128758e507afd3b8396b6e7f147e438ba8d4c6f63", | |
"sha256:a3793dcceb12b1e2281290cca1277c5ce86ddfd5bf044f654285a4d69057aea7", | |
"sha256:af464a6f4314a875035e0c4c2b07517599704b214634f4ed3ad2e748c5ef291f", | |
"sha256:d241c3f1c4d563e4ba86f84769c23e12606db167ee6f674eedff6d02901462e3", | |
"sha256:dd2fc6880c95e836960d86efbbc7f63d3287f2e1893c51d31f96dbfe02f0d73e", | |
"sha256:de84b4166e3f7335eb868b51d3bbd909ec33828af27290b4171bce832a55be3c", | |
"sha256:e000b94be3aa58ad7f61e7d07cf379ea9366cf6c6874e68bd58ad0bdc537b3a7", | |
"sha256:f0aaf657145533824b15f2fd8fde8f8c67fe6c6281088ef588091f03fad90243" | |
], | |
"index": "pypi", | |
"version": "===1.7.1" | |
}, | |
"typing-extensions": { | |
"hashes": [ | |
"sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918", | |
"sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c", | |
"sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f" | |
], | |
"version": "==3.7.4.3" | |
} | |
}, | |
"develop": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment