zeekay / soundcloud-cli

Soundcloud command-line interface.
MIT License
47 stars 13 forks source link

does not upload #9

Closed jmontiel closed 8 years ago

jmontiel commented 8 years ago

Hello,

I just installed soundcloud-cli, but when I try to upload a file I get this error

root@redmine:~# sc 28.m4a Traceback (most recent call last): File "/usr/local/bin/sc", line 3, in cli.main() File "/usr/local/lib/python2.7/dist-packages/soundcloud_cli/cli.py", line 216, in main args.command(args) File "/usr/local/lib/python2.7/dist-packages/soundcloud_cli/utils.py", line 37, in wrapper return f(_args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/soundcloud_cli/cli.py", line 139, in command_upload artwork=args.artwork) File "/usr/local/lib/python2.7/dist-packages/soundcloud_cli/api/upload.py", line 87, in upload (data, content_type) = requests.packages.urllib3.filepost.encode_multipart_formdata(data) AttributeError: 'module' object has no attribute 'packages'

jmontiel commented 8 years ago

I found out the problem is Ubuntu 14.04, nothing to do with your app.

http://stackoverflow.com/questions/28967785/attribute-error-installing-with-pip/30310206#30310206

Once I followed the instructions, it all worked properly

Note: read warning on link above

zeekay commented 8 years ago

Ah interesting! Thanks for sharing :)