Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 2.36 KB

setup.rst

File metadata and controls

74 lines (51 loc) · 2.36 KB

Setting up acd_cli

The readme describes the recommended PIP installation methods.

If you are worried about Python dependencies or possibly messing up your system, use a virtualenv.

PIP errors

A version incompatibility may arise with PIP when upgrading the requests package. PIP will throw the following error:

ImportError: cannot import name 'IncompleteRead'

Run these commands to fix it:

apt-get remove python3-pip
easy_install3 pip

This will remove the distribution's pip3 package and replace it with a version that is compatible with the newer requests package.

Distribution-specific packages

There are two packages for Arch Linux in the AUR, acd_cli-git and acd_cli.

You can use the Makefile to build Debian (make deb) or RedHat packages (make rpm). It will also build the required requests-toolbelt package.

Dependencies

Python Packages

Recommended packages are not strictly necessary; but they will be preferred to workarounds (in the case of dateutils) and bundled modules (requests-toolbelt).

If you want to the dependencies using your distribution's packaging system and are using a distro based on Debian 'jessie', the necessary packages are python3-appdirs python3-dateutil python3-requests python3-sqlalchemy.

FUSE

For the mounting feature, fuse >= 2.6 is needed according to pyfuse. On a Debian-based distribution, the necessary package should be named simply 'fuse'.

Uninstalling

Please run acd_cli delete-everything first to delete your authentication and node data in the cache path. Then, use pip to uninstall

pip3 uninstall acdcli

Then, revoke the permission for acd_cli_oa to access your cloud drive in your Amazon profile, more precisely at https://www.amazon.com/ap/adam.