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

Latest Release Installation Error #38

Closed
foobar94 opened this issue Feb 12, 2019 · 3 comments
Closed

Latest Release Installation Error #38

foobar94 opened this issue Feb 12, 2019 · 3 comments

Comments

@foobar94
Copy link

foobar94 commented Feb 12, 2019

The installation guide says to run python3 -m http.server 5000 --bind 127.0.0.1 --directory build

However, when I run this I get an error (on ubuntu 16.04):

usage: server.py [-h] [--cgi] [--bind ADDRESS] [port] server.py: error: unrecognized arguments: --directory build
If I first cd to build and then run python3 -m http.server 5000 --bind 127.0.0.1 everything works properly

@jtobin
Copy link
Contributor

jtobin commented Feb 12, 2019

Your Python version is likely a bit older. The --directory option seems to have been added to server.py somewhere after Python 3.6.5, judging by #35.

@foobar94
Copy link
Author

Ah yup, thank you. Closing the issue.

@jtobin
Copy link
Contributor

jtobin commented Feb 12, 2019

I've added a note about this to the instructions section of the README, since it has popped up a couple of times now.

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