curseDownloader icon indicating copy to clipboard operation
curseDownloader copied to clipboard

"No module called 'appdirs'"

Open bigyihsuan opened this issue 9 years ago • 8 comments

Currently using Python 3.5.0 and attempting to download the Anti-Material Energy pack.

C:\Users\kids>C:\Users\kids\Desktop\Python\python.exe C:\Users\kids\Desktop\Games\Minecraft\curseDownloader-master\downloader.py C:\Users\kids\Desktop\manifest.json Traceback (most recent call last): File "C:\Users\kids\Desktop\Games\Minecraft\curseDownloader-master\downloader.py", line 4, in <module> import appdirs ImportError: No module named 'appdirs'

bigyihsuan avatar Feb 19 '16 01:02 bigyihsuan

You're missing the required module. Use pip to install the appdirs, and probably the requests module if you're missing that too.

helkarakse avatar Feb 21 '16 04:02 helkarakse

I've installed pip, and I'm trying to download appdirs from here using pip, but if gives an error saying that it can't read the format of a file.

bigyihsuan avatar Feb 21 '16 14:02 bigyihsuan

I used the command line to install it, via python -m pip install appdirs

I don't use python, so I don't know why it fails for you.

helkarakse avatar Feb 21 '16 20:02 helkarakse

Try using pip3 instead of pip, considering this uses python3.4.

ibsavage avatar Mar 05 '16 18:03 ibsavage

The readme has been updated to include linux setup - is this still an issue?

inverse avatar Jul 10 '16 12:07 inverse

If you have python 3 and pip3 already: pip3 install appdirs requests It would be neat to have a requirements.txt or whatever.

kemball avatar Oct 13 '16 22:10 kemball

Is requests an actual requirement? I didn't need to install it.

inverse avatar Oct 16 '16 08:10 inverse

I actually had this exact same problem. I came here to find the solution, but I found a solution myself. instead of calling it with python call it as python3, which I guess makes sense, as appdirs is only installed for python3, so that is why it is telling you the module doesn't exits

cmhulbert avatar Jan 22 '17 04:01 cmhulbert