We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I copied and pasted all codes from
example_1_pyloric_network.ipynb
and ran in Spyder with Python3.7.
I didn't run the plotting codes to test if the codes work. There is an error, and the error message says
Cannot find Microsoft Visual Studio, You can try to set the path to vcvarsall.bat via the codegen.cpp.msvc_vars_location preference explicitly.
Should I use Visual Studio instead?
The text was updated successfully, but these errors were encountered:
Hi @yxu148 . For efficiency reasons, the example switches on code generation for C++ with the line:
set_device('cpp_standalone', build_on_run=False)
For this to work, you need to have a working C++ compiler installed as explained here: https://brian2.readthedocs.io/en/stable/introduction/install.html#requirements-for-c-code-generation
Alternatively, you can remove the set_device(...) line – the simulation will run, but just not as fast.
set_device(...)
Sorry, something went wrong.
Hi Marcel,
Thanks for your reply. Problems solved!
No branches or pull requests
Hi,
I copied and pasted all codes from
and ran in Spyder with Python3.7.
I didn't run the plotting codes to test if the codes work. There is an error, and the error message says
Should I use Visual Studio instead?
The text was updated successfully, but these errors were encountered: