paladini / aax2mp3-easy

Convert Audible AAX (.aax) files to MP3 (.mp3) with no effort.
MIT License
72 stars 19 forks source link

ImportError: No Module named requests from audible-activator-master/audible-activator.py #25

Open jackfusion opened 3 years ago

jackfusion commented 3 years ago

what running ./aax2mp3_easy.sh username password ABreathofSnowandAshesOutlanderBook6_ep6.aax

I get this error.

Traceback (most recent call last): File "audible-activator-master/audible-activator.py", line 10, in import requests ImportError: No module named requests

paladini commented 3 years ago

@jackfusion Hey there, are you running on Linux, right?

Try to install requests library from pip:

pip install requests

You can install for Python3 too:

pip3 install requests

(Not necessary if previous steps already worked) Other possible pip installation commands, that will work only according on how your environment is configured:

pip2.7 install requests
pip2 install requests
pip2.6 install requests
pip3 install requests
pip3.6 install requests

That should solve your problem!

dougg0k commented 2 years ago

Didnt work.

> pip3 install requests

Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.22.0)

though both pip and pip3 goes to python3

cedricdelpoux commented 2 years ago

I have the same error :

Traceback (most recent call last):
  File "audible-activator-master/audible-activator.py", line 10, in <module>
    import requests
ImportError: No module named requests

I tried to install requests using pip3 install requests

But the error still appears