First, download and install AnacondaFirst to https://www.continuum.io/downloads download Anaconda, now the version has python2.7 version and python3.5 version, download the corresponding version, the corresponding system anaconda, It is actually a sh script file, about 280M or so.This series takes windows7+python3.5 as an example, so we download the version in the Red box:Name is: Anaconda3-2.4.1-windows-x8
1. Installing Anaconda2Once installed, the native Python environment uses Anaconda's python2.7 environment.2. Installing py4jAfter you open the console on the local ctrl+r, use PIP to install py4j directly, because Anaconda has PIP installed by default and, of course, you can use Conda installation.installation command:pip install py4jWhat if I don't install the py4j problem?A: Because the Python version of the API for Spark relies on py4j, the follow
Anaconda Configuring mirroringMac and LinuxConda config--add channels Https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config--set show_channel_ URLs YesWindows Under Windows, create a PIP directory directly in the user directory, such as: C:\Users\xx\pip, new file Pip.ini, the following[Global]index-url = Https://pypi.tuna.tsinghua.edu.cn/simplePIP configuration ImageLinuxModify the ~/.pip/pi
1, if the use of. sh file installation, then in the installation process to select Yes to add anaconda to the environment variables, the installation is complete, the default Python environment is Anaconda, no other action;2, if you copy the compiled Anaconda file, you need to add the environment variable manually: in the terminal input $sudo gedit/etc/profile, o
Tags: Linux highlight pip jupyter fix nts edit sudo conda1, first intsall Anaconda to Tsinghua Mirror https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Bash Ana ...Cannot appear jupyter after installation notebookWorkaround: Set the default browser to the appropriate browser in BASHRC.Open BASHRC:
sudo gedit/home/.bashrc
Then add the last line in BASHRC:
Export Browser=google-chrome
2, In
-rf php/usr/share/man/man1 sudo rm -rf php-config.1 php.1 phpize.1/usr/share/man/man8 sudo rm -rf php-fpm.8
Note: After Apache is restarted, phpinfo () is still displayed.
Then use brew to install php.
brew install php53 --with-apache
Then, the following lines of code are run according to the online tutorial:
Echo 'export PATH = "$ (brew -- prefix homebrew/php/php53)/bin: $ PATH" '>> ~ /. Bash_profile # for php echo 'export PATH = "$ (brew -- prefix homebrew/php/php53)/sbin: $ PATH" '>>
change the installation location, we directly click ' Install '.17.MAC site Apple, you have to put something on its site, you have to verify your identity, we here fill in the login Mac username and password, click ' Install Software '.18. After installation, click ' Close '.19. After the installation is complete, the interface disappears, back to the USB flash drive interface, we check whether the installation is really successful, point ' application '.20. In the application window, we pulled
Python is an easy-to-learn, powerful programming language. It has an efficient advanced data structure and a simple and efficient object-oriented programming approach. Python's elegant syntax and dynamic type, along with its explanatory nature, make it an ideal language for scripting and rapid application development in many areas and most platforms.The following describes how to install the Python Language integrated development environment under OSX
1, pro-test the available environment:
System: OSX 10.10.5
jdk:1.7
xcode:5.1.1 (comes with Xcode 6 in the compilation process, the string header file can not find the error, no solution, change to Xcode 5.1.1 Problem resolution)
Command Line tools:5.1.1
2, the problem encountered during:
①, MacPorts download down installation has been stuck in the installation interface does not move:
It is not clear why, see some say is upda
I'm using opencv for my 4th year design project and setting it up was a huge pain. I had to look through a whole bunch of different sites to figure out what to do. there are varous ways to install it-through package managers such as homebrew or macports, or through the tarball + cmake. now that I 've got it set up, I decided to write this little Post to explain to others how to go about setting it up.
Note:This method does not set up the python Bindings for opencv (still working on that ). it on
The Mac Mini OSX 10.7.5 System encountered the following APC not installed issue during the installation of MediaWiki.Use the Brew method to install the following: command for brew install PHP53-APCApache2 Brew Install PHP53-APC ==> installing PHP53-APC from homebrew/homebrew-php==> Downloadi ng Http://pecl.php.net/get/APC-3.1.10.tgzAlready Downloaded:/library/caches/homebrew/php53-apc-3.1.10.tgz==> patchingpatching file Apc-3.1.10/php_apc.hhunk #1 su
In the iOS development process, the vertical center of a single line of text seems to be a very easy thing, directly with the following code to complete:
123456789101112131415
@interfaceXxview:UIView@end@implementationXxview- (void) DrawRect: (CGRect) rect{ Uifont *font = [Uifont Fontwithname:@ "Helvetica Neue" size:13]; nsdictionary *attributes = @{nsfontattributename:font, Nsforegroundcolorattributename:[uicolor Redcolor]}; nsattributedstring *title = [[Nsattributedstring al
Use of Grapher in osx
Grapher is an application that allows you to create equations and graphs, so you can visualize the results. You can enter various mathematical functions to view them in 2D and 3D graphics. You can even use a graphic to create a video file.
Open Grapher in osx, and enable Examples-Conchoid in sequence. You can see the following 3D example:
Does it look really awesome?
Next we will i
Solve the Problem of restarting the i5-4590K immediately after "root device uuid is..." using Clover boot OSX, i5-4590kuuid
The CPU on the desktop is a i5-4590K, and OSX is booted using Clover 3193 after "root device uuid is..." is restarted immediately.
After checking the information, you can use the Clover Patch to solve the problem.
In the KernelAndKextPatches area, set the value of the KernelPm field
by OSX to monitor and identify the specific causes of the problem, and try to provide a solution as much as possible. In fact, on the other hand, it also involves various possibilities of making the apple machine out of sleep, such as using out-of-the-box software, commands supported by the system, and even self-programming. In short, based on our study of the original official documents of apple, we can further learn about and set up the operating s
OSX: CUPS No printing problem yesterday I met a strange problem, a new VP machine, he told me that he could not print, after the print operation is complete, the printer does not print, the printer disappears after it turns out to be normal, and the machine does not have any error information. In general, this problem is well solved. It is nothing more than a re-installation after deletion, but this case is extraordinary. You can imagine that the simp
Although it is not recommended to use sudo to install NPM packages, you often inevitably go so ⊙﹏⊙ b Khan. For example, we're going to install FISP, the NPM package. $ sudo cnpm install-g fis-plus Results The first line error is: Gyp WARN eacces User "root" does not has permission to access the dev dir "/users/xxx/.node-gyp/5.0.0" Obvious permission problems! But I used sudo (⊙o⊙) Wow!!! So to find the answer to help Google the next key words first went to StackOverflow, someone asked, sure enou
One, set bash:Vim ~/.bash_profile# OSX Terminal color settingsExport clicolor= 1 export lscolors=gxfxcxdxbxegedabagaced export ps1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;34m\ ]\w\[\e[0m\]\$ '# LLalias ll = ' ls-l 'Second, set VIM:Download the vim color file from the following address:Https://github.com/tomasr/molokaiVim ~/.VIMRC1 "Configuration file for Vim2 Set modelines=0 "cve-2007-243834 "Normally we use vim-extensions. If
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.