SoFunction
Updated on 2024-11-13

Teach you how to install opencv,tensorflow,keras in pycharm

I couldn't get it to load after installing the environment and messed with it for a long time, so now I'm here to write about the experience.

I. First install Anaconda, python and pycharm.

There are many tutorials out there, so I won't go into them here

II. First install opencv

1. Click on Terminal in the lower left hand corner

在这里插入图片描述

2. Type pip install opencv-python and press enter on your keyboard (it works).

在这里插入图片描述

3. See successfully means that the installation is ready!

在这里插入图片描述

III. Installing tensorflow and kerass

1. Tap File in the upper left corner and select Settings.
Find the python Interpreter in the picture

在这里插入图片描述

2. Find the environment that you are well matched with

在这里插入图片描述

3. Click on the plus sign

在这里插入图片描述

4. Search for the frame you want to install on the above box

在这里插入图片描述

5. Specify version in front of the box to check the box, select a suitable version (note that the version is not too high)

在这里插入图片描述

6. Click Install Package

在这里插入图片描述

7. This is generally enough, keras is also the same drops

IV. Summary

If you seem to many tutorials under the software many times and still did not succeed, you can refer to the following suggestions (I have not tried it myself, just take a look)
First find the file where you installed anaconda3, then find envs, copy the files that others have already configured in this folder. (e.g. BY, pytorch_envs are all configured environments)

在这里插入图片描述

The point is to check the already configured environment (the one that someone else just configured)

在这里插入图片描述

All that's left is to find the libraries you want to install and download them as I wrote above, and you're done.

Since everyone's computer is different, my method may not work for everyone, so forgive me if it didn't work for you.

to this article on how to teach you to install opencv, tensorflow, keras in pycharm article is introduced to this, more related pycharm install opencv, tensorflow, keras content, please search for my previous posts or continue to browse the following related articles I hope that you will support me more in the future!