But I'd like to use Python 3 and can't seem to continue with it. The frustrating thing is that boto3 works totally fine on Python 2.7.10 which came with my macOS install. Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.6/site-packages (from python-dateutil=2.1->botocore=1.5.0->boto3) Requirement already satisfied: python-dateutil=2.1 in /usr/local/lib/python3.6/site-packages (from botocore=1.5.0->boto3) Requirement already satisfied: docutils>=0.10 in /usr/local/lib/python3.6/site-packages (from botocore=1.5.0->boto3) Requirement already satisfied: s3transfer=0.1.10 in /usr/local/lib/python3.6/site-packages (from boto3) Requirement already satisfied: jmespath=0.7.1 in /usr/local/lib/python3.6/site-packages (from boto3) Requirement already satisfied: botocore=1.5.0 in /usr/local/lib/python3.6/site-packages (from boto3) Requirement already satisfied: boto3 in /usr/local/lib/python3.6/site-packages Requirement already satisfied: boto in /usr/local/lib/python3.6/site-packages Workspace: pip3 install boto pip3 install boto3 Requirement already satisfied: six>=1.5 in /Library/Python/2.7/site-packages (from python-dateutil=2.1-> botocore=1.5.0->boto3) Requirement already satisfied: python-dateutil=2.1 in /Library/Python/2.7/site-packages (from botocore=1.5.0->boto3) Requirement already satisfied: docutils>=0.10 in /Library/Python/2.7/site-packages (from botocore=1.5.0- >boto3) Requirement already satisfied: futures=2.2.0 python_version = "2.6" or python_version = "2.7" in / Library/Python/2.7/site-packages (from s3transfer=0.1.10->boto3) Requirement already satisfied: botocore=1.5.0 in /Library/Python/2.7/site-packages (from boto3) Requirement already satisfied: s3transfer=0.1.10 in /Library/Python/2.7/site-packages (from boto3) Requirement already satisfied: jmespath=0.7.1 in /Library/Python/2.7/site-packages (from boto3) Requirement already satisfied: boto3 in /Library/Python/2.7/site-packages Requirement already satisfied: boto in /Library/Python/2.7/site-packages Workspace: sudo pip install boto sudo pip install boto3 Here's my full setup: workspace: which python workspace: python -c "import boto"įile "/usr/local/lib/python3.6/site-packages/boto3/_init_.py", line 16, in įile "/usr/local/lib/python3.6/site-packages/boto3/session.py", line 18, in īut it's Python 3 that's giving me the problem as you can see above. ![]() In corporate environments located behind a firewall, you may require the use of an HTTP proxy server to redirect internal traffic to, or any other repository that hosts Python packages. I've also installed boto and boto3 for both Python2 and Python3. By default pip installs third party packages from the Python Package Index (PyPI). I've used HomeBrew to install Python3 and then I've installed pip and pip3 for my python 2 and python 3 versions respectively. ![]() Pygobject needs some external dependencies to be installed.Currently trying to configure Python3 correctly with boto3 to utilize the AWS Dynamo Python SDK. Pygobject package could not be updated.Ĭommand Ĭommand '('pkg-config', '-print-errors', '-exists', 'gobject-introspection-1.0 >= 1.46.0')' returned non-zero exit status 1.Ĭommand "/usr/bin/python3 -u -c "import setuptools, tokenize _file_='/tmp/pip-install-tayqn2l3/pycairo/setup.py' f=getattr(tokenize, 'open', open)(_file_) code=f.read().replace('\r\n', '\n') f.close() exec(compile(code, _file_, 'exec'))" install -record /tmp/pip-record-jj3i8kig/install-record.txt -single-version-externally-managed -compile" failed with error code 1 in /tmp/pip-install-tayqn2l3/pycairo/ You may use -ignore-installed flag to update them. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.ĭistutils installed packages does not provide needed metadata to provide "update" feature. pip/pip.conf with following context: ĭistutils installed packages could not be deleted or updated. You can use -format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the section) to disable this warning.Ĭreate. DEPRECATION: The default format will switch to columns in the future. Pip install -ignore-installed pip pip3 list gives DEPRECATION format error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |