#๐Ÿ”’ matplotlib not showing up

38 messages ยท Page 1 of 1 (latest)

fleet swallow
tepid mantleBOT
#

@fleet swallow

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

fleet swallow
rugged roost
#

what happens when you run python -m pip install -U matplotlib

fleet swallow
rugged roost
#

are you using a virtual environment? I'm wondering if you have it installed, but not in the correct place.

rugged roost
#

virtual environment. or venv

fleet swallow
#

๐Ÿคท havent heard of that

#

im simply using vscode normally

rugged roost
#

Are you running your python script using the command line or through vscode somehow?

#

If your running it through vs code, try running your python script through the command line

fleet swallow
#

im running it through vscode

rugged roost
#

See if that makes any difference

fleet swallow
#

it found a nonexistent error

#

o shi its red too

#

this is odd, it worked just fine a few months ago

#

but suddenly matplotlib bricked

rugged roost
#

Is there a venv folder in your project?

fleet swallow
#

venv folder?

#

where is that

rugged roost
#

yes a folder in your python project called 'venv'

fleet swallow
#

๐Ÿคท in the folder where this project is in there isn't a venv folder

#

this is a simple calculator

rugged roost
#

ok. i was just confirming that.

fleet swallow
#

btw diakrinousa is a discriminant

#

it checks for roots of a polynomial, sorry for writing it in greeklish

rugged roost
#

Try running your code using the system terminal instead of the vs code terminal and see if that makes a difference. I'm just throwing ideas out there to see if anything sticks. It seems like your issue is matplot lib

rugged roost
#

yes

#

or powershell

#

or terminal on mac

fleet swallow
#

it runs them one by one ๐Ÿ‘

rugged roost
#

python main.py or whatever your file name is.

tepid mantleBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.