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

[python-lessons] Anaconda installer may not be available to all learners #10

Open
bsmith89 opened this issue Feb 13, 2023 · 6 comments
Open

Comments

@bsmith89
Copy link
Contributor

Some community members have suggested that a subset of learners may not have free access to the Anaconda installer that the Carpentries recommends for obtaining Python and most of its packages.

A discussion of this issue with more details is ongoing here: swcarpentry/python-novice-gapminder#620.

@coatless
Copy link
Member

coatless commented Feb 13, 2023

Yes, this is a problem. We probably want to loop the carpentries legal officer in to verify any change.

The gist of the issue is starting in 2020 anaconda shifted its Terms of Service to prohibit commercial usage of its default channels. Thus, Anacodna, miniconda, and even conda are problematic to use as distributed with the default channel configuration. The simple fix is to change/remove defaults channel in favor of using conda-forge.

# View all channels currently set
conda config --show channels

# Remove the problematic defaults channel
conda config --remove channels defaults

# Setup conda-forge as the main channel
conda config --add channels conda-forge

Alternatively, we can replace the installation with {miniforge}. This distribution of miniconda sets conda-forge as the default (and only) channel to avoid any issues.

Note: Anacodna, miniconda, and conda are all released under BSD license. The problem is more the distribution channel.

@Gina123-P
Copy link
Contributor

We could recommend pycharm.

@bsmith89
Copy link
Contributor Author

Hmm, can you say more @Gina123-P ? I didn't realize that PyCharm came with an installation of the packages that we need (but, honestly, I haven't used it recently, so I don't know what might have changed).

Googling around, the PyCharm documentation seems to suggest that you need to install Python separately, and they mention conda as one way to do that. Perhaps I'm missing something.

Also, does anyone know what the licensing is like for PyCharm? I know it's a commercial offering; is it more permissive than Anaconda?

@annajiat
Copy link

annajiat commented Mar 3, 2023

Faced this issue while teaching a workshop last week where participants informed that they cannot use anaconda. I would like to add that, manually installing and running jupyter required some troubleshooting as it was a common mistake to miss a space or hyphen while typing. In general, a lot of messages appearing on the screen during the installation was confusing for the learners. This happened even though a setup document tailored to the organization’s environment was prepared and shared beforehand. More than half of the learners were able to follow the guidelines.

@mhagdorn
Copy link

We also cannot use anaconda. I think we would also require licenses for pycharm. So, I think some official guidance of what to use instead would be good.

@RabeaMue
Copy link

facing the same issue for our workshops. A official guidance of how to use eg miniforge or miniconda would be useful for us as well 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants