man-c / pycoingecko

Python wrapper for the CoinGecko API
MIT License
1.04k stars 268 forks source link

pycoingecko module error #61

Open phatso444 opened 2 years ago

phatso444 commented 2 years ago

Am i missing a step? getting the error below with the code below

ModuleNotFoundError: No module named 'pycoingecko'

from pycoingecko import CoinGeckoAPI cg = CoinGeckoAPI()_ import json import requests import pandas as pd from datetime import date

Create a ouput shell for data

today = date.today() stdate = date(2017,1,1) # Your start date here tdelta = today - stdate DT = pd.date_range(stdate,periods=tdelta.days,freq='D') shell = pd.DataFrame(index=DT)

cg = CoinGeckoAPI()