PythonAnywhere - No module named 'pyvirtualdisplay'
问题 I am trying to run online a project on PythonAnywhere. When I call this function: def getPrice(item_url): from forex_python.converter import CurrencyRates from selenium import webdriver from pyvirtualdisplay import Display #from IPython.display import display with Display(): browser = webdriver.Firefox() try: browser.get(item_url) item_price = browser.find_element_by_xpath("//SPAN[@class='market_table_value normal_price']").text #item_price isn't an integer, it's a string, 'Prezzo iniziale: $