I know how to install external modules using the pip command but for Scikit-learn I need to install NumPy and Matplotlib as well.
How can I install these modules using the pip command?
旧帖子,但正确的答案是,对于python2是'sudo pip install -U numpy matplotlib --upgrade'或对于python3是'sudo pip3 install -U numpy matplotlib --upgrade'
Using Python 3.4, I run the following from the command line:
c:\\python34\\python.exe -m pip install package_name
So you would substitute "numpy" and "matplotlib" for 'package_name'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.