physica Posted February 7, 2016 Posted February 7, 2016 (edited) I've come a fair way in python 3. I am having trouble installing modules on my mac. Poured hours into it and it's still not working, documentation on the internet that I have managed to find is vague at best. I've used pip and typed: sudo install XlsxWriter into the command line and got the following: usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... Then back to another command prompt... is it ready to use? I'm finding installing modules extremely frustrating Update: I tried running a script and it said ImportError: No module named 'xlsxwriter' Edited February 7, 2016 by physica
fiveworlds Posted February 7, 2016 Posted February 7, 2016 (edited) Dunno worked fine for me on windows. I downloaded newest version of python inside is a folder called scripts with pip inside. On windows I had to copy the script to the main python folder with the python.exe file. Then I had to use command prompt cd folder python.exe pip.exe install XlsxWriter and it ran fine. So maybe try downloading from github or something. Edited February 7, 2016 by fiveworlds 1
physica Posted February 8, 2016 Author Posted February 8, 2016 Thanks for looking into this. It turns out I was installing it to pip as opposed to pip3. It now works
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now