Anaconda windows installer8/3/2023 ![]() Add BornAgain examples to VSCodeīy default, the VSCode editor opens a welcome screen.Īdd the folder with the BornAgain Python examples to the workspaceīy clicking Add workspace folder as shown in the screenshot below.Ĭhoose the directory with the BornAgain Python examples at C:/BornAgain-1.19.0/Examples/pythonĬhoose any example and run it in terminal using the right mouse button. If this was not the case, you will have to adjust the path to the BornAgain Python example accordingly.Īlways use the Anaconda navigator to start VSCode in the correct environment. The used path implies, that BornAgain was installed to the default location. ![]() python C:/BornAgain-1.19.0/Examples/scatter2d/CylindersAndPrisms.py Type (or copy-and-paste) the command below to see a scattering image appearing on the screen. To run a BornAgain example from the command line, launch Anaconda Prompt and If no errors will come up, and you also see the BornAgain version number printed on the screen, your installation is working.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |