Skip to content

Latest commit

 

History

History
executable file
·
68 lines (35 loc) · 1.5 KB

Installation.md

File metadata and controls

executable file
·
68 lines (35 loc) · 1.5 KB

Install python

Installed python 3.6.6 on anaconda, and there were some problem.

[Problem 1]:Anaconda install python 3.6.6 happen: ModuleNotFoundError: No module named 'tensorflow'..

Reproduce the problem by the following command:

$ python3

$ import tensorflow

(Happen ModuleNotFoundError: No module named 'tensorflow' !!!)

$ quit()

[Solution 1]:

$ source activate tensorflow

$ conda install tensorflow

(Happen FutureWarning: Conversion of the second argument of issubdtype from float to np.floating)

The command can fix the problems:

$ pip install h5py==2.8.0rc1 (upgrade h5py to fix the problem)

Check the tensorflow version:

$ python3.6

$ tensorflow.__version__

[Reference Link]: Link1 Link2

Install OpenCV v3.4.2 on anaconda

Search the "opencv" in Anaconda cloud server

In my case, the following is my target: anaconda / opencv 3.4.2

$ conda install opencv=3.4.2

check cv2 version:

$ python

$ import cv2

$ cv2.__version__

Install FFMPEG

$ sudo add-apt-repository ppa:djcj/hybrid

$ sudo apt-get update

$ sudo apt-get install ffmpeg

Install Jupyter Notebook

install tutorial