323,294 views
32 votes
32 votes
Any ideas its python code projectstem.com is what we use, code shown by teacher is the same but cant find the issue to this,

Any ideas its python code projectstem.com is what we use, code shown by teacher is-example-1
User Runningriot
by
2.8k points

1 Answer

14 votes
14 votes

Answer: Bro first read the error and fix it.

Step-by-step explanation:

If it does not work, then it might be bugged, it usually happens when you are doing a large program with any programming language. So maybe save the work, and restart the PC or laptop.

If it still doesn't work, then you should try installing extension or pip for the code you are using, because you might be coding it right but have not installed an extension in the terminal.

What I mean by pip is that a pip is like an extension, and if for example you want to use turtle to draw in a program, you should go to the terminal and write:

pip install extension_name

And if you want to see if the pip is installed then do:

pip -V

or

pip --version

Also, if you want to upgrade the pip, do:

python -m pip install -U pip

It may happen sometimes that your pip current pip version is not supporting your current version of python or machine for that you can downgrade your pip version with the following command.

Note: You can mention the version you want to install

do:

python -m pip install pip==17.0

Note: remember that to install pips, you need to install them in a terminal, please don't do it in your code... It does not work.

fr, last note: always check if you have the last python version installed, and if not, go to the offical python website and install the latest python version possible, or intall python is you don't have it already.

Correct me if i'm wrong,

Happy to help :)

User Jareish
by
3.2k points