Build Ubantu machine on VirtualBox, install Anaconda,java 8,spark,ipython Notebook, and WordCount example program with Hello World.
Build Spark EnvironmentIn this section we learn to build a spark environment:
Create an isolated development environment on an Ubuntu 14.04 virtual machine without affecting any existing systems
Installs Spark 1.3.0 and its dependencies.
Installing the Anaconda
Python + Theano + keras installation on Windows:
In fact, the process is very simple, first of all, to say the installation conditions:1, Win7 (32 and 64 can be, download the installation package must choose the corresponding)
2, Anaconda (go to the official download, open a little later will come out to download the link.) It was chosen because it built Python,
anaconda+ Creating a Python virtual environment with Condathe difference between Anaconda and CondaConda can be understood as a tool and an executable command whose core function is package management and environmental management.Package management is similar to the use of PIP, and environmental management allows users to easily install different versions of
supports running 40+ programming languages and can be used to write beautiful interactive documents. Using Jupyter notebook to write Python code, you can display the results of the operation in a good interactive.Official website: https://jupyter.orgAnacondaAnaconda Python is a collection of Python science and technology packages, similar in functionality to
variable.Environment variables not configured results congratulations on your success.When you get here, you can start a fun programming trip. However, the more wonderful is still in the back.Second, Anaconda scientific calculation packagePython is a powerful programming language that provides many modules for scientific computing, including NumPy, scipy, and Matplotlib.To use Python for scientific computi
How to view the path of a Python search package:
The path to the Python search package is stored under Sys.path
View Method:
Import Sys
Sys.path
How to temporarily add a Python search package path:
Method 1: (enter Python first) import sysSys.path.append (' path ')
(This approach is only valid for current
This is a Python crawler for small white free teaching course, only 7 section, let the zero basis of your initial understanding of the crawler, followed by the course content to crawl resources. Look at the article, open the computer hands-on practice, an average of 45 minutes to learn a section, if you want, today you can enter the reptile Gate ~Not much to say, formally start our first lesson, "Installation of the
tests, version control. In addition, the IDE provides advanced features to support professional web development under the Django framework;
Komodo and Komodo Edit: the latter is a free lite version of the former;
Spyder: Install the Advanced IDE that comes with Anaconda;
The IDE is available in Pythonwin:activepython or PYWIN32, only for Windows;
SPE (Stani's
One, Windows environment
First of all, of course, install the two different versions of Python you need, I installed 2.7 and 3.4, two version of the installation does not matter, but the following installation will become the default (since I was installed after the Python 3.4, it becomes the default Python).
Then go to the Python27 folder to rename the Python.
This is a Python crawler for small white free teaching course, only 7 section, let the zero basis of your initial understanding of the crawler, followed by the course content to crawl resources. Look at the article, open the computer hands-on practice, an average of 45 minutes to learn a section, if you want, today you can enter the reptile Gate ~Not much to say, formally start our first lesson, "Installation of the
-mingw32/lib;)
New environment variable: Pythonpath:e:/anaconda/lib/site-packages/theano;
Theano Win7 64-bit installation, can refer to: Deep Learning Development Tools Theano Installation Configuration I pc (32-bit) installation Anaconda and Theano steps:1. First install the MinGW, the default installation in C:/mingw, configure the environment variable: path= ...; C:/mingw/bin 2. Install
know more about the technical issues of Python, follow these steps.
For more information, see:Mingli.com
A friend needs to add a ball :,
Development Environment
● IDLE: Python built-in IDE (provided with the python installation package) ● PyCharm: For details, see PyCharm in Baidu encyclopedia, developed by the famous JetBrains company, A complete set of tools a
: Python built-in IDE (provided with the python installation package)
● PyCharm: For details, see Baidu Baike PyCharm, developed by the famous JetBrains company, with a complete set of tools to help users improve their efficiency when developing using the Python language, such as debugging, syntax highlighting, Project management, code jump, smart prompts, Automa
:
Fast computing Speed: NumPy and pandas are written in C language, pandas is based on NumPy, is an upgrade version of NumPy.
Consume less resources: using a matrix operation, it will be much faster than Python's own dictionary or list
Second, installation
There are two installation methods, the first of which is to install using the Anaconda Integration Pack environment, and the second is to install using the PIP command
1.
I just started to touch python not long, of course, this is also for beginners to better get started Python, my computer running on both Windows and Red Hat Linux, compared to the development I still prefer the Linux system, many development tools Red Hat company has provided.So here we first talk about the Linux under the Python,linux Red Hat in the CD-ROM integ
tools that are widely used to write high-performance server software. Another gevent, the popular third-party library, is also capable of supporting high-performance, highly concurrent network development. 1.3.2 GUI Developmentpython itself contains a tkinter library that supports the development of a simple GUI (graphical User Interface). But more and more Python programmers choose GUI packages such as Wxpython or PYQT to develop cross-platform desk
frameworks, such as django,turbogears,web2py,zope, can make it easy for programmers to develop and manage complex web programs.
Operating System Management, server operations Automation scriptsIn many operating systems, Python is the standard system component. Most Linux distributions, as well as NetBSD, OpenBSD, and Mac OS X, are integrated with Python and can be run directly under the terminal. Some inst
package
Whether the __all__ in the __init__.py of the package contains the module to be used (for importing from the packages import *)
So, when the import is wrong again, we only need to check the above four points, basically can solve most of the problems.InstanceFirst I created a project with two packages, with the following directory structure:Let's look at the various scenarios for package import:
Import Python's own package or external package
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.