Re: Python Error

2020-11-24 Thread Mayukh Chakraborty via Python-list
Thanks - I am able to launch 'py' from the command prompt and it gives me the python versions installed in my machine from python.org website. However, when I am trying to execute a python program from command prompt, I am getting the error below. I had reinstalled python packages (numpy, pandas

Re: Python Error

2020-11-24 Thread Barry
Two observations. Python.exe is not on your PATH. But that does not matter as you can use the py command instead And nymph may not be available for python 3.9 yet. Check on pypi to see if there is a build for 3.9. Maybe use 3.8 for the time being. Barry > On 24 Nov 2020, at 11:18, Mayukh Chak

Re: Python Error

2020-11-24 Thread Mayukh Chakraborty via Python-list
Thanks. I updated the path and was able to launch python.exe for v3.8. I got rid of the other errors but now facing an error with 'pandas' although  it is installed ok and the path correctly updated. C:\Users\mchak>pythonPython 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 b

Why can't numpy array be restored to saved value?

2020-11-24 Thread pjfarley3
Why isn't the final value of the numpy array npary in the following code the same as the initial value before some but not all elements of the array were changed to a new value? I know I am missing something basic here. I thought I understood the concepts of immutable vs mutable values but obviou