These are chat archives for spyder-ide/public
```) s above and below the code sections, as otherwise (as you can see) it does not display properly and I will have to remove it.
with open('first_names.txt') as f:
student_name_list = f.read().splitlines()
for name in student_name_list:
for name in student_name_list:
how can i insert the first_names.txt folder in the same file?
Sorry, but that sounds like a general Python question, not anything related to Spyder IDE (the latter of which, of course, is the purpose of this chat room). I suggest asking that in a more appropriate place, like a beginner python help forum.
I think i messed up between packages installed with the package manager and those with pip...
@lordcenzin Thanks for letting us know. Yes, this is very likely to cause problems, and why we recommend using Anaconda/Miniconda over these installation methods unless you're an expert willing and able to solve these user-specific problems (as there isn't much we can do about them). However, we do maintain fully functional
wheel-s and work closely with downstream distro package maintainers to accommodate those who may choose that approach.
can i install spyder without anaconda
@Slanish Yes; if you'd read our installation guide you'd have seen we offer numerous installation methods, including Anaconda, Miniconda,
wheel, WinPython, Fink/MacPorts/Homebrew, distro packages for most of the major Linux distributions, and running from source via Github. For a likely beginner like yourself, if you don't want the hefty bulk of an Anaconda install,
Miniconda provides just the
conda environment manager and nothing else extra, so you can simply install just Spyder rather than tens of gigabytes of other packages you don't need. You can then use that copy of Spyder to work with any Python installation/environment on your machine (or even remote machines), so long as it has
spyder-kernels installed. If you'd rather use another Python install, just using standard
venv would be the most straightforward option, if you're an expert willing to fix things yourself if problems result.
just use your package manager, search for spyder
While we do work with downstream maintainers to try to improve this, we recommend avoiding distro-provided Spyder packages if possible, since many tend to be out of date , occasionally have extra bugs, and make dependency management much more complex and conflict-prone.
For example, despite numerous requests, the maintainers of our Debian and Ubuntu packages have been consistently anywhere from a few months to sometimes close to a year behind our current release, and their package metadata/information being much, much older, some dating back to the original release of Spyder nearly a decade ago, and the documentation pointed to being so old it no longer exists anymore. Furthermore, @lordcenzin 's issue itself had to do with a problem between distro- and
pip-installed packages as they stated, which is the very sort of thing working within a
conda environment will avoid. However, again, you are welcome to explore the other methods we provide; just understand you are doing so at your own risk. Best of luck!