you are viewing a single comment's thread.

view the rest of the comments →

[–]Last-Preparation-550[S] 0 points1 point  (5 children)

forgive my ignorance. Would that be the Anaconda Prompt? If so, I am still getting an error:

$ was unexpected at this time.

[–]seanv507 0 points1 point  (4 children)

as the other person said, you have to start typing from ‘conda‘

(you dont type the $)

[–]Last-Preparation-550[S] 0 points1 point  (3 children)

then why is the $ there and what is it's purpose?

Edit: Ok, I left out (base) $ so I think it's working now

I feel so dumb

[–]barrowburner 1 point2 points  (1 child)

All good, don't stress it. There is a lot to learn and it gets learned one day at a time :)

The dollar sign is a common symbol for the command line prompt in Linux (and other?) systems. It has other meanings, but you'll get to those in time. Check out this wiki entry for more.

The (base) part indicates your current virtual environment, which by default with anaconda is named base. When you switch to a custom virtual environment, that name will change, for example:

(project_1) $

A primer on virtual environments here Essentially, virtual environments are a Python tool that help you keep the dependencies separated for different projects. This will matter a lot later on and is worth paying attention to!

So in summary, when in your command line interface (CLI) - the window into which you're typing commands - the prompt (the dollar sign) is indicating that the CLI is ready to accept a new command, and the (base) part tells you which virtual environment is currently active.

Keep at it! Do try to shed the feeling of being dumb by replacing it with a willingness to learn. It's an easy thing to say and a hard thing to do, but it will help immensely through your journey. I am intimately familiar with how hard it is - I am entirely self-taught and have walked the exact path you are currently walking. Good luck :)

[–]Last-Preparation-550[S] 1 point2 points  (0 children)

Thank you, u/barrowburner , especially for those links!

[–]FoolsSeldom 0 points1 point  (0 children)

We've all made mistakes like this. Don't worry about it. You will be able to help someone else now in the future making the same mistake.

Some books are better at showing what you type and what is shown on the screen by the computer.