Jun-09-2018, 06:08 AM
With the window searcher(Type here to search) I can have python 3.6, but not 3.5
all weird things !
all weird things !
Troubles with numpy
|
Jun-09-2018, 06:08 AM
With the window searcher(Type here to search) I can have python 3.6, but not 3.5
all weird things !
Jun-09-2018, 01:12 PM
With the file manager I see Python35(at C:). Not Python36. I guess all my troubles come from that. I don't know how to replace Python35 by Python36.
Jun-09-2018, 01:16 PM
in interactive window, type: python -V
This will show your version
Jun-09-2018, 01:31 PM
Python 3.5.4. There are months I worked with python 3.6.4. If I desire I can have a console with 3.6.4. I don'nt know how 3.5.4 came up. With the window searcher I find 3.6 but not 3.5. Many weirds ! Thanks for your help.
sylas Wrote:I am sure python 3.6 is installed. Why pip speaks of python 3.5 instead of 3.6 ??Did you mark of Add python 3.6 to Path under install?[Image: 4Qfi5o.jpg] If 3.5 still in path,you will need to change Environment Variables Path sylas Wrote:With the file manager I see Python35(at C:). Not Python36. I guess all my troubles come from that. I don't know how to replace Python35 by Python36.Did you follow tutorial and also changed path of python 3.6? snippsat Wrote:Here also choose Path C:\Python36If you not change path under install it will be in path far away: C:\Users\<username>\AppData\Local\Programs\Python\Python36 Not to be rude but you have to read what i post several times, because in many of your post you really struggle with the most basic stuff. Maybe easier for you to uninstall 3.5 and 3.6,then follow step exactly as i post in tutorial.
Jun-09-2018, 04:36 PM
I uninstalled 3.5 and 3.6. I installed python 3.4.5; As for numpy , always python cannot find numpy. May I know if your numpy is located at C:\python35\lib\site-packages ?
Jun-09-2018, 04:55 PM
(Jun-09-2018, 04:36 PM)sylas Wrote: I uninstalled 3.5 and 3.6. I installed python 3.4.5yet first line of traceback says
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs
python point correct to 3.6.5.
Do this to check to check path and pip. # Check where python is installed C:\ λ python -c "import sys; print(sys.executable)" C:\python36\python.exe # Check version C:\ λ python -V Python 3.6.5 # Check pip C:\ λ pip -V pip 10.0.1 from c:\python36\lib\site-packages\pip (python 3.6)If It look like this all is correct and what you should have if follow tutorial. Now can you install numpy: λ pip install numpy Collecting numpy Downloading https://files.pythonhosted.org/packages/6c/49/2bcf9d0484b33a6d7c5312121344a190d4a3d5f7826fcb3480cb62109073/numpy-1.14.4-cp36-none-win32.whl (9.8MB) 100% |████████████████████████████████| 9.8MB 125kB/s Installing collected packages: numpy Successfully installed numpy-1.14.4Now is numpy installed to 3.6,and all you install with pip will be installed to 3.6
Jun-09-2018, 05:21 PM
You are right buran. Now my pip -V gives:pip 9.0.3 from c:\program files\python36\lib\site-packages (python 3.6)
But after deleting old numpy I tried "pip install numpy", without success
You need to run cmd or same with cmder as Administrator
Upgrade pip: C:\ λ python -m pip install --upgrade pipThen as Administrator same install of numpy as you have. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[Numpy] How to store different data type in one numpy array? | water | 7 | 540 |
Mar-26-2024, 02:18 PM Last Post: snippsat |
|
Numpy returns "TypeError: unsupported operand type(s) for *: 'numpy.ufunc' and 'int'" | kalle | 2 | 2,602 |
Jul-19-2022, 06:31 AM Last Post: paul18fr |
|
"erlarge" a numpy-matrix to numpy-array | PhysChem | 2 | 2,976 |
Apr-09-2019, 04:54 PM Last Post: PhysChem |