Home>
sklearn
scipy
numpy
matplotlib
I want to create artificial intelligence using such things.
PS C: \ Users \ user \ python_app>python digitsData1.py
Traceback (most recent call last):
File "C: \ Users \ user \ python_app \ digitsData1.py", line 2, in<module>
import sklearn.datasets
ModuleNotFoundError: No module named'sklearn'
Corresponding source code
#! python3.8
import sklearn.datasets
digits = sklearn.datasets.load_digits ()
print ("Number of data =", len (digits.images))
print ("image data =", digits.images [0])
print ("What numbers =", digits.target [0]))
What I tried
I'm using python 3.9 and I was able to install anything other than sklearn, but sklearn doesn't currently support 3.9.
I have installed python3.8.
Install 3.8 and at the command prompt
py -3.8 -m pip install scikit-learn
Was executed and installed.
However, even though I wrote #! Python3.8 on the first line, I got an error and could not execute it.
I would appreciate it if you could tell me the cause.
python3.9
python 3.8
sklearn
scipy
numpy
matplotlib
-
Answer # 1
Related articles
- python - about the display screen using django
- python - about scraping using selenium
- about data acquisition using python from becoming a novelist
- about batch change of file name using python
- python - about deep learning programs using keras
- about udp reception (python) with an external device
- python - about the fibonacci sequence using recursion
- ruby on rails - about deploying apps using s3 function
- python 3x - about return code of python3 subprocess
- python - aggregation processing using pandas
- python - i'm not sure about add_axes in matplotlib
- python 3x - please teach about the exchange of information with qthead
- python - about xss measures when the user does {{safe}} when displaying markdown with a template in django
- how to run a file in external storage in python
- about the description of try except in python
- about image output of python
- python 3x - about functions used in python for statement
- about webphp and apiphp when using vuejs with laravel
- [linux] about the mechanism of the load balancer using lvs
Trends
How about running it with?
#!
It is a function of the py launcher that switches the version by looking at (shebang).python script name
When executed with, the first python found in the order of PATH is used.(
#!
Does not consider)If you want to use various versions with the execution command as python, you can easily realize it by using anaconda or pyenv.