Reputation: 1197
I installed BitTornado without root access by downloading the zip and running command 'pip install -e path/to/bittornado/'. The installation was successful but when I tried using it for downloading the file, the following error occurred --
AttributeError: 'module' object has no attribute 'MutableSet'.
The following screenshot has the details.
I'm new to Python. If someone know what's happening, please help. Thanks in advance.
Upvotes: 0
Views: 8430
Reputation: 70195
BitTornado only supports python3 (and not python2.x). The specific error is due to a change in python3 which makes imports absolute by default (unless the relative import syntax is used) -- as such it is importing the BitTorando.Types.collections
module for import collections
.
I'd suggest making a python3 virtualenv and installing BitTornado there. (Or if you want a system-wide installation, use pip3 install ...
)
Upvotes: 1