Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pycharm : import Boto 3

I followed the steps on this installation guide : https://boto3.readthedocs.org/en/latest/guide/quickstart.html#guide-quickstart

After I did all the steps I still can't import boto3 in my Pycharm python file. I'm using python 3.4.3.

like image 445
user5488652 Avatar asked Nov 20 '15 10:11

user5488652


People also ask

How do I import a boto3 module in Python?

Type “ pip install boto3 ” (without quotes) in the command line and hit Enter again. This installs boto3 for your default Python installation. The previous command may not work if you have both Python versions 2 and 3 on your computer. In this case, try "pip3 install boto3" or “ python -m pip install boto3 “.

Does Boto work with Python 3?

The AWS SDK for Python (also known as Boto) has been updated and is now compatible with Python 3. You can now build AWS applications using versions 2.6, 2.7, 3.3, and 3.4 of Python.

How do I import libraries into PyCharm?

PyCharm can do both. Type the name of the package and hit Alt-Enter , then choose Install and Import package . PyCharm will do both: you'll see a notification during the installation, then the import will be generated in the right way, according to your project styles.


1 Answers

In Pycharm

  • Press Ctr + Alt + s
  • On left, Project <your project here> > Project Interpreter
  • On right, click on +
  • At the top, search for boto3
  • At the bottom, click on Install Package
like image 54
Lakshya Srivastava Avatar answered Nov 12 '22 02:11

Lakshya Srivastava