'How to solve the problem with installing google colab?
Tried to solve a simple problem
from google.colab import files
import numpy as np
file = files.upload()
!ls
my_array = np.loadtxt('train_vector.csv', delimiter=',')
type(my_array)
Python writes No module named 'google colab'
I tried to install google colab in the terminal via pip3 install google-colab, it gives the following errors:
Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools":
error: subprocess-exited-with-error
python setup.ру bdist_wheel did not run successfully
error: Failed building wheel for pandas
error: subprocess-exited-with-error Running setup.ру install for pandas did not run successfully
This error originates from a subprocess, and is likely not a problem with pip
Warning: No metadata found in c:\users\amber\appdata\local\programs\python\python310\lib\site-packages
Error: legacy-install-failure
Does anyone know how to solve this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
