Data Analysis with Python Projects - Page View Time Series Visualizer

Tell us what’s happening:

Hi everybody,
i compile my code in pycharm and it works but when i try to compile it in gitpod i have an error and i think is the version of python, someone has been with this problem? and knows how can i solve it?
thanks a lot.

Your code so far

https://freecodecam-boilerplate-7j2ke5ydwz7.ws-eu120.gitpod.io/

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36

Challenge Information:

Data Analysis with Python Projects - Page View Time Series Visualizer


1 Like

Hi! Welcome to the community! The issue is mostly due to the use of the deprecated np.float from an older numpy version. You can either downgrade numpy to version 1.23 or simply replace np.float with just float. Good luck!

1 Like

It does appear from your screenshot that you are passing the tests?

This could just be a warning that np.float is deprecated. If you are passing the tests you can ignore it and move on.

I believe np.float is used in the tests, and not your code, correct? (Can’t see your code because you did not share your gitpod correctly)

1 Like

yes, i don’t use the np.float in my code, i will ignore it, how can i share the gitpod code correctly?

thanks, i will try and see if the version is older.

1 Like

follow these steps

No problem. Let us know if that works!