how to setup for localhost:8000
Hi, I am working on window 7 and Python 3.5 to setup a localhost:8000 but it did not get through as shown below: > python -m http.server Serving HTTP on 0.0.0.0 port 8000 ... But it did not show the results. Can someone help me how to setup the localhost? Thanks, Wen-Ruey -- https://mail.python.org/mailman/listinfo/python-list
Re: how to setup for localhost:8000
On Thursday, April 14, 2016 at 2:23:36 PM UTC-4, Andrew Farrell wrote: > What happens when you type > > http://localhost:8000 > > Into the address bar of your browser as this is running? > > On Thu, Apr 14, 2016 at 12:46 PM, wrote: > > > Hi, > > > > I am working on window 7 and Python 3.5 to setup a localhost:8000 but it > > did not get through as shown below: > > > python -m http.server > > Serving HTTP on 0.0.0.0 port 8000 ... > > > > But it did not show the results. > > > > Can someone help me how to setup the localhost? > > > > Thanks, > > Wen-Ruey > > > > -- > > https://mail.python.org/mailman/listinfo/python-list > > hi Andrew, Yes. after I type http:\\localhost:8000, the browser did not show anything except a empty page without any errors. Thanks, Wen-Ruey -- https://mail.python.org/mailman/listinfo/python-list
help install numpy and scipy in window 7 and 3.5.0 shell
Hi all, I have downloaded the numpy-1.11.01 and scipy-0.17.0 but after running setup files over IDLE in numpy and scipy, it still can not get through. Can someone give me a hand? or you can provide the installation instruction for both. Thanks, Wen-Ruey -- https://mail.python.org/mailman/listinfo/python-list
Re: help install numpy and scipy in window 7 and 3.5.0 shell
On Friday, April 15, 2016 at 10:56:28 AM UTC-4, Bob Gailer wrote: > On Apr 15, 2016 10:40 AM, wrote: > > > > Hi all, > > > > I have downloaded the numpy-1.11.01 and scipy-0.17.0 but after running > setup files over IDLE in numpy and scipy, it still can not get through. Can > someone give me a hand? or you can provide the installation instruction for > both. > > Can you be more specific? "Can not get through" is not very informative. > What opeting system are you using? What version of python? What messages or > symptoms do you get? The more you help us the easier it is for us to help > you. We do welcome your questions thank you Hi Bob, First I would like to have your input of installation instruction for numpy and scipy. I don't know what I did to run the setup.py is correct. The operating system is on window 7 and the version of python is 3.5.0. By the way, after I ran the setup.py of numpy over IDLE, it shows "Running from numpy source directory." and I can import numpy. But after I ran setup.py of scipy over IDLE, it shows === RESTART: C:\PythonFiles\scipy-0.17.0\setup.py === Traceback (most recent call last): File "C:\PythonFiles\scipy-0.17.0\setup.py", line 265, in setup_package() File "C:\PythonFiles\scipy-0.17.0\setup.py", line 253, in setup_package from numpy.distutils.core import setup ImportError: No module named 'numpy' If you have further suggestion, please let me know. Thanks, Wen-Ruey -- https://mail.python.org/mailman/listinfo/python-list
Re: how to setup for localhost:8000
On Friday, April 15, 2016 at 3:04:09 PM UTC-4, Pierre Quentel wrote: > Le jeudi 14 avril 2016 22:50:33 UTC+2, wrh...@gmail.com a écrit : > > On Thursday, April 14, 2016 at 2:23:36 PM UTC-4, Andrew Farrell wrote: > > > What happens when you type > > > > > > http://localhost:8000 > > > > > > Into the address bar of your browser as this is running? > > > > > > On Thu, Apr 14, 2016 at 12:46 PM, wrote: > > > > > > > Hi, > > > > > > > > I am working on window 7 and Python 3.5 to setup a localhost:8000 but it > > > > did not get through as shown below: > > > > > python -m http.server > > > > Serving HTTP on 0.0.0.0 port 8000 ... > > > > > > > > But it did not show the results. > > > > > > > > Can someone help me how to setup the localhost? > > > > > > > > Thanks, > > > > Wen-Ruey > > > > > > > > -- > > > > https://mail.python.org/mailman/listinfo/python-list > > > > > > > > hi Andrew, > > > > Yes. after I type http:\\localhost:8000, the browser did not show anything > > except a empty page without any errors. > > > > Thanks, > > Wen-Ruey > > Hi, > > When you type http://localhost:8000, do you see something in the console > after the line "Serving HTTP on 0.0.0.0 port 8000 ..." ? > > If the server actually serves requests on port 8000 you should see a log > message such as > > 127.0.0.1 - - [15/Apr/2016 20:57:32] "GET / HTTP/1.1" 200 - Hi Pierre, When I type http://localhost:8000, I did not see anything in the console after the line "Serving HTTP on 0.0.0.0 port 8000 ... I believe the way I ran was not correct as shown below: > python -m http.server Serving HTTP on 0.0.0.0 port 8000 ... Also if I use internet Explorer, it shows HTTP 404 errors. Do you think the way I am doing of the localhost:8000 setting was not correct? Thanks, Wen-Ruey -- https://mail.python.org/mailman/listinfo/python-list
Re: how to setup for localhost:8000
On Sunday, April 17, 2016 at 1:11:39 PM UTC-4, Pierre Quentel wrote: > > > 127.0.0.1 - - [15/Apr/2016 20:57:32] "GET / HTTP/1.1" 200 - > > Hi Pierre, > > > > When I type http://localhost:8000, I did not see anything in the console > > after the line "Serving HTTP on 0.0.0.0 port 8000 ... I believe the way I > > ran was not correct as shown below: > > > python -m http.server > > Serving HTTP on 0.0.0.0 port 8000 ... > > > > Also if I use internet Explorer, it shows HTTP 404 errors. > > Do you think the way I am doing of the localhost:8000 setting was not > > correct? > > > > Thanks, > > Wen-Ruey > > If you're not seeing anything there, it is sure that the Python server > doesn't serve requests on port 8000. But if you're seeing a blank screen or a > 404 error instead of a message saying that a connection couldn't be set up, > it is likely that another HTTP server is running on your machine on port 8000. > > Could you try to start the server on another port, eg "python -m http.server > 8085" and see what happens in the browser with "http://127.0.0.1:8085"; ? I followed your instruction but the page shows: The 127.0.0.1 page isn't working 127.0.0.1 didn't send any data. ERR_EMPTY_RESPONSE and a lot of messages show on the command window.. -- https://mail.python.org/mailman/listinfo/python-list