opticspy / lightpipes

LightPipes for Python, "Pure Python version"
https://opticspy.github.io/lightpipes/
BSD 3-Clause "New" or "Revised" License
228 stars 53 forks source link

No output in python on Windows #28

Open bkimbrough opened 5 years ago

bkimbrough commented 5 years ago

Hello,

I am running python in jupyter notebook using Anaconda in Windows 10. I installed LightPipes using pip from the Anaconda command window.

I can import LightPipes using: from LightPipes import *

When I run the code: LPtest()

I get no output. I have also run some example code from the website and I still get no output.

Any ideas? Thanks in advance.

Brad

FredvanGoor commented 5 years ago

Brad, When you run LPtest() in a cell of Jupyter, the output from that command (LightPipes for Python: test passed) goes to a terminal window and not to your Jupyter notebook. Maybe that window is hidden behind your browser window? Furthermore their seems to be an issue with Jupyter that it sometimes does not generate output from any command. So for example: print("hello") does nothing. Use Google to find out. Fred

bkimbrough commented 5 years ago

Fred,

Thank you for the input. I ran the LPtest() from a command window and it worked correctly. I tried to run the example code in Jupyter again on my home computer and it worked fine. Not sure what is going on with Jupyter on my other computer, but I'm sure it will get sorted out.

Thanks again. Brad