-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named "dateparser" #1
Comments
Did you follow the instructions here first? All instructions there are required to be ran first Looks to me though like a python package is missing - something along the lines of |
I did the instructions up to the point where i have to git the file. I took yours . |
Other question. Can i add chia coin to the list ? And how do i do that ? |
As long as the coin is in this list - https://api.coingecko.com/api/v3/coins/list you can add it in! For adding you'll need too
Can't think of anything else off the top of my head, let me know how you get on |
I get the same error no module named dateparser. When i remove the module out of main.py then i get the error no module named pytz. |
What command are you using to run the script? Trying to think of what could be the issue if the modules are installed |
Here is the list of packages I have installed NOTE: There are two versions of dataparser - maybe this is the issue?
|
So after installing the original version we just substitute main and change some lines, correct? |
Any ideas why this is happening? Installed and worked (the original BTC ticker) Traceback (most recent call last): File "/home/pi/zero-btc-screen/main.py", line 99, in main() File "/home/pi/zero-btc-screen/main.py", line 88, in main data_sink.update_observers(prices) File "/home/pi/zero-btc-screen/presentation/observer.py", line 18, in update_observers observer.update(data) File "/home/pi/zero-btc-screen/presentation/screens/epd2in13v2.py", line 54, in update self.form_image(data, self.screen_draw) File "/home/pi/zero-btc-screen/presentation/screens/epd2in13v2.py", line 41, in form_image Plot.candle(prices, size=(SCREEN_WIDTH - 45, 93), position=(41, 0), draw=screen_draw) File "/home/pi/zero-btc-screen/data/plot.py", line 63, in candle open = window[0][0] TypeError: 'float' object is not subscriptable |
Hello, I have made changes in other areas not just main.py You need the whole of this repo cloned |
Did you find a solution? Because I have the same problem. But I cloned the whole repo of Shaun and override it over the files of dr-mod |
I had the same problem with datepraser, so i commend it out on configuration.cfg. But then the problems with epd2in13v3 kicks in. The epd2in13bv3 screen just works fine but on the epd2in13v3 screen this problem appears: pi@pi:~ $ python3 ~/zero-btc-screen/main.py During handling of the above exception, another exception occurred: Traceback (most recent call last): EDIT: I looked into the folder (/cryptoTickerGraph-main\presentation\screens) and there is no file for the edp2in13v3 screen. Only for edp2in13v2 and edp2in13bv3, so it will not work, whatever i do :((( |
For those with the original issue of I've figured this out while re installing this repo You need to run
pip3 install a dateparser, but not the 'right' one, which I don't know why, but i had to uninstall pip3 dataparser, and only have pip dateparser |
You just need to create a folder in /var/log called python It may need the file called cryptoGraph.txt but that should get created |
thank you for the reply. I created the folder, using the python3 command I first get a permission error for that cryptoGraph.txt, using sudo fixes that but then I get an modulenotfound error. |
Can you try either
|
requirements already satisfied.. Oh well I give up. appreciate the help! |
Sorry about that! It's currently not working for me but that's due to the newer version of Raspi i'm running When I get time I'll re install an older version and see if I can get it working with all the required steps |
No worries, you've been very helpful! |
been trying a bit again but got this error now: Traceback (most recent call last): I had this error and have been updating a few lines. Now I don't get such errors anymore but I get and the screen shows the lines for the graph, but no data or price any advice? thanks |
Im getting this error when starting main.py. I did no changes to the files.
The text was updated successfully, but these errors were encountered: