Python Forum
Use different Anaconda environments on Linux Mint and Spyder
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use different Anaconda environments on Linux Mint and Spyder
#1
I'm trying to use and install packages in more than one environment through Anaconda 4.9.2 (I use Linux Mint 20 and Spyder 4.1.5). I created an environment called phdenv, and it seems to me that I was able to install Python 3.7, but when trying to activate the environment through the command
conda activate phdenv
the error that appears is the following:

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

     $ init init <SHELL_NAME>

Currently supported shells are:
   - bash
   - fish
   - tcsh
   - xonsh
   - zsh
   - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.



Note: you may need to restart the kernel to use updated packages.
what am I doing wrong?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Best practice on using virtual environments in Python bytecrunch 6 810 Feb-14-2024, 03:22 PM
Last Post: snippsat
  Virtual Environments - Organization (VS Code) JaysonWonder 11 1,825 Jan-26-2023, 11:34 PM
Last Post: Larz60+
  Keeping up with IDEs and Virtual Environments... bytecrunch 7 2,490 Sep-05-2022, 08:04 PM
Last Post: snippsat
  I don't understand pip and environments snakes 3 1,230 Jul-31-2022, 08:17 PM
Last Post: snakes
  pip and venv virtual environments soupworks 2 2,280 Dec-30-2020, 11:38 PM
Last Post: soupworks
  Anaconda-install on MX-Linux Version 19.xy - but somehow got stuck apollo 1 2,542 May-04-2020, 11:27 AM
Last Post: snippsat
  Anaconda Spyder erratically reset by distutils C extension OTAGOHARBOUR 4 2,412 Nov-27-2019, 01:51 PM
Last Post: ThomasL
  Virtual Environments pneveux 1 1,822 Apr-04-2019, 09:15 PM
Last Post: Larz60+
  Embedding, windows, and virtual environments mariofutire 0 3,030 Sep-14-2018, 10:30 AM
Last Post: mariofutire
  visual studio code gives an error on Mint HakolYahol 4 3,132 Aug-21-2018, 09:58 AM
Last Post: HakolYahol

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020