Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error on Windows #13

Closed
CamiloMM opened this issue Jan 9, 2013 · 6 comments
Closed

Syntax error on Windows #13

CamiloMM opened this issue Jan 9, 2013 · 6 comments

Comments

@CamiloMM
Copy link

CamiloMM commented Jan 9, 2013

I really wanted this so I just installed Python 3.3.0, and tried to install howdoi.

Seemingly I could not compile lxml, but that was sorted out getting a binary here

Problem is, when I run howdoi, it gives me this:

  File "howdoi.py", line 81
    print instructions
                     ^
SyntaxError: invalid syntax

Why? I am completely clueless and know nothing about Python to sort it out. I have all dependencies (even installed argparse just now, seeing this)

Edit: just in case it matters, I installed using pip install howdoi, then I tried the setup.py later, and even tried it all again after installing the lxml binary for Windows, but still nothing happens. Oh, and I have the python directory in my path, also python/Scripts one. Tested on Windows XP 32-bit.

@gleitz
Copy link
Owner

gleitz commented Jan 9, 2013

Sorry for the trouble, CamiloMM. howdoi currently only works with Python <=2.7. Please try installing Python 2.7 for Windows (the link is http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi) and giving it another go!

@gleitz gleitz closed this as completed Jan 9, 2013
@CamiloMM
Copy link
Author

CamiloMM commented Jan 9, 2013

Thanks for the quick response @gleitz . Do I have to uninstall Python 3.3?

@gleitz
Copy link
Owner

gleitz commented Jan 9, 2013

A fine question! I don't think that is required but it might reduce confusion.

You might also want to install pip using this guide (which I found using howdoi, haha!)

@CamiloMM
Copy link
Author

CamiloMM commented Jan 9, 2013

That's inceptastic! I'm posting now to confirm that it works - however I installed pip with this handy installer.

Ah, such awesome goodness right in the commandline!

@gleitz
Copy link
Owner

gleitz commented Jan 9, 2013

Wow thank you Professor Gohlke of the Laboratory for Fluorescence Dynamics!

@CamiloMM
Copy link
Author

CamiloMM commented Jan 9, 2013

At first I thought "what are you talking about?" and then I noticed that the guy that made those installers available has such a title :D

gleitz pushed a commit that referenced this issue Apr 14, 2021
# This is the 1st commit message:

move from print_err to logging

# This is the commit message #2:

change sanity check message

# This is the commit message #3:

flake8 linting

# This is the commit message #4:

flake8 linting

# This is the commit message #5:

pylint updates

# This is the commit message #6:

pylint updates

# This is the commit message #7:

pylint updates for errors.py

# This is the commit message #8:

update changes from #344

# This is the commit message #9:

update formatting

# This is the commit message #10:

update formatting

# This is the commit message #11:

add consuructor to class

# This is the commit message #12:

refactor logging levels and messages

# This is the commit message #13:

refactor logging levels and messages

# This is the commit message #14:

pylint recomendations

# This is the commit message #15:

flake8 formating

# This is the commit message #16:

flake8 formating

# This is the commit message #17:

change logging to print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants