Skip to content
New issue

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

Download NEST for working with Python #3143

Open
Wiss opened this issue Mar 11, 2024 · 4 comments
Open

Download NEST for working with Python #3143

Wiss opened this issue Mar 11, 2024 · 4 comments
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority stale Automatic marker for inactivity, please have another look here T: Discussion Still searching for the right way to proceed / suggestions welcome

Comments

@Wiss
Copy link

Wiss commented Mar 11, 2024

Describe the flaw
I think a lot of people would like to download NEST to use it with Python. However, many users may face difficulty linking NEST to Python after installing it on Ubuntu due to unclear instructions in the installation guide.

Suggest an improvement
When installing NEST, the /bin/nest_vars.sh containing all the required PATHs for using NEST with Python is installed.
My suggestion is the following:
In the installation instructions for downloading NEST , it would be nice to have an extra note for the ubuntu installation, saying:
Using NEST with Python:
After installing NEST, locate the /bin/nest_vars.sh file, which contains essential PATHs for Python integration. To use NEST with Python, run the following command:

source /bin/nest_vars.sh

Alternatively, you can add it to your .bashrc file directly:

echo 'source /bin/nest_vars.sh' >> ~/.bashrc

And remember to restart your terminal or run source ~/.bashrc after making changes to apply them.

@jessica-mitchell
Copy link
Contributor

Hi @Wiss thanks for your contribution.

Installing NEST with the conda package or docker should not require you to set the environment variables. This should only be necessary if you are installing NEST from source, and in that case, the documentation does include the instructions: https://nest-simulator.readthedocs.io/en/latest/installation/condaenv_install.html

But perhaps there is some confusion here in the documentation differentiating between the conda package of NEST and installing NEST from source in a conda environment?

Please let us know if you have any further comments or questions.

@jessica-mitchell jessica-mitchell added T: Discussion Still searching for the right way to proceed / suggestions welcome S: Normal Handle this with default priority I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Mar 18, 2024
@jessica-mitchell jessica-mitchell added this to To do in Documentation via automation Mar 18, 2024
@Wiss
Copy link
Author

Wiss commented Mar 18, 2024

I understand now. I've been discussing the local installation of NEST on Linux, excluding Docker or Conda setups. It seems I referred to the installation instructions for the stable version of NEST on Linux (the original link I included), rather than those for the latest version (the link you sent). The link you provided offers clear instructions. Unfortunately, the one that I used (for the stable version) its not that clear in my opinion; at least the instruction for setting the environment variables is missing. I realized that when you enter the download link in NEST webpage, and then click user documentation you arrive to the stable version of the documentation. Maybe that's why other people are facing a similar confusion. In fact, I talked with some colleagues about their NEST installation process and they said that they spent more time than expected trying to locate those instructions.

@jessica-mitchell
Copy link
Contributor

@Wiss the stable version is tied with the most recent version of NEST whereas latest is tied with master, and is subject to change at any time- so I'm sorry if I confused you there. But I'm glad to hear the most recent changes are clearer. When we release the next version of NEST the stable documentation will be closer to what you see in latest.

And thanks for sharing your and your colleagues experiences; we are always trying to make the documentation easier to access and understand, and the feedback is very valuable.

Copy link

Issue automatically marked stale!

@github-actions github-actions bot added the stale Automatic marker for inactivity, please have another look here label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority stale Automatic marker for inactivity, please have another look here T: Discussion Still searching for the right way to proceed / suggestions welcome
Projects
Documentation
  
To do
Development

No branches or pull requests

2 participants