forza-map-visualization icon indicating copy to clipboard operation
forza-map-visualization copied to clipboard

Files not loading

Open Chance-Magician opened this issue 1 year ago • 3 comments

whenever I try to run one of the files it says:

File "C:\Users{myname}\OneDrive\Documents\GitHub\forza-map-visualization\src\animated_3d_racing_lines.py", line 1, in import numpy as np ModuleNotFoundError: No module named 'numpy'

how would I go about fixing this?

Chance-Magician avatar Jan 19 '25 17:01 Chance-Magician

Try using pip install numpy in the cmd

Sam170822 avatar Apr 26 '25 02:04 Sam170822

I did that, and now i'm getting this error:

Traceback (most recent call last): File "C:\Users(myname)\AppData\Local\Programs\Python\Python313\Lib\site-packages\matplotlib\style\core.py", line 129, in use style = rc_params_in_file(style) File "C:\Users(myname)\AppData\Local\Programs\Python\Python313\Lib\site-packages\matplotlib_init.py", line 903, in _rc_params_in_file with open_file_or_url(fname) as fd: ~~~~~~~~~~~~~~~~~^^^^^^^ File "C:\Users(myname)\AppData\Local\Programs\Python\Python313\Lib\contextlib.py", line 141, in enter return next(self.gen) File "C:\Users(myname)\AppData\Local\Programs\Python\Python313\Lib\site-packages\matplotlib_init.py", line 880, in _open_file_or_url with open(fname, encoding='utf-8') as f: ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'seaborn'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "C:\Users(myname)\OneDrive\Documents\GitHub\forza-map-visualization\src\animated_3d_racing_lines.py", line 95, in plt.style.use('seaborn') ~~~~~~~~~~~~~^^^^^^^^^^^ File "C:\Users(myname)\AppData\Local\Programs\Python\Python313\Lib\site-packages\matplotlib\style\core.py", line 131, in use raise OSError( ...<2 lines>... f"styles are listed in style.available)") from err OSError: 'seaborn' is not a valid package style, path of style file, URL of style file, or library style name (library styles are listed in style.available)

Chance-Magician avatar Apr 26 '25 12:04 Chance-Magician

Yup, i'm also running into the same issue. It beats me what the problem is, we both really need someone who gets it

Sam170822 avatar Apr 26 '25 20:04 Sam170822