Re: Request to advise error for python.
Thank you MRAB. As somebody mentioned before, the easiest solution is you can do pip install before typing python. That would work. On Sun, Oct 24, 2021 at 12:00 AM MRAB wrote: > On 2021-10-23 14:53, tommy yama wrote: > > It seems you use windows to install. > > > > > > Then, you need conda. Pip works for Linux. > > > On Windows, 'conda' is for the Anaconda version of Python. If you're > using the standard version of Python from python.org you use pip or, > preferably, py -m pip. > > > Check this out. > > https://numpy.org/install/ > > > > > > On Thu, Oct 21, 2021, 11:35 PM Grant Edwards > > wrote: > > > >> On 2021-10-21, Mats Wichmann wrote: > >> > >> > There are some nuances. If you are on a Linux system, Python is a > >> > system program and you don't want to try to install into system > >> > locations (you'll run into permission problems anyway), so trying a > user > >> > install is useful. So: > >> > > >> > pip install --user numpy > >> > > >> > In fact, if you're on a Linux system you *may* prefer to install the > >> > packaged versions - use the appropriate package manager commands. > >> > >> Not all systems have a 'pip' executable. If a 'pip' exectuable does > >> exist, it might not be the same version as your defualt python > >> executable. It's usually a better idea to do it this way: > >> > >> $ python -m pip install --user numpy > >> > >> That said, if you're on Linux system, you're almostg always better off > >> using your distro's package manger to install numpy. > >> > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
Re: Request to advise error for python.
On 2021-10-23 14:53, tommy yama wrote: It seems you use windows to install. Then, you need conda. Pip works for Linux. On Windows, 'conda' is for the Anaconda version of Python. If you're using the standard version of Python from python.org you use pip or, preferably, py -m pip. Check this out. https://numpy.org/install/ On Thu, Oct 21, 2021, 11:35 PM Grant Edwards wrote: On 2021-10-21, Mats Wichmann wrote: > There are some nuances. If you are on a Linux system, Python is a > system program and you don't want to try to install into system > locations (you'll run into permission problems anyway), so trying a user > install is useful. So: > > pip install --user numpy > > In fact, if you're on a Linux system you *may* prefer to install the > packaged versions - use the appropriate package manager commands. Not all systems have a 'pip' executable. If a 'pip' exectuable does exist, it might not be the same version as your defualt python executable. It's usually a better idea to do it this way: $ python -m pip install --user numpy That said, if you're on Linux system, you're almostg always better off using your distro's package manger to install numpy. -- https://mail.python.org/mailman/listinfo/python-list
Re: Request to advise error for python.
It seems you use windows to install. Then, you need conda. Pip works for Linux. Check this out. https://numpy.org/install/ On Thu, Oct 21, 2021, 11:35 PM Grant Edwards wrote: > On 2021-10-21, Mats Wichmann wrote: > > > There are some nuances. If you are on a Linux system, Python is a > > system program and you don't want to try to install into system > > locations (you'll run into permission problems anyway), so trying a user > > install is useful. So: > > > > pip install --user numpy > > > > In fact, if you're on a Linux system you *may* prefer to install the > > packaged versions - use the appropriate package manager commands. > > Not all systems have a 'pip' executable. If a 'pip' exectuable does > exist, it might not be the same version as your defualt python > executable. It's usually a better idea to do it this way: > > $ python -m pip install --user numpy > > That said, if you're on Linux system, you're almostg always better off > using your distro's package manger to install numpy. > > -- > Grant > > > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
Re: Request to advise error for python.
On 2021-10-21, Mats Wichmann wrote: > There are some nuances. If you are on a Linux system, Python is a > system program and you don't want to try to install into system > locations (you'll run into permission problems anyway), so trying a user > install is useful. So: > > pip install --user numpy > > In fact, if you're on a Linux system you *may* prefer to install the > packaged versions - use the appropriate package manager commands. Not all systems have a 'pip' executable. If a 'pip' exectuable does exist, it might not be the same version as your defualt python executable. It's usually a better idea to do it this way: $ python -m pip install --user numpy That said, if you're on Linux system, you're almostg always better off using your distro's package manger to install numpy. -- Grant -- https://mail.python.org/mailman/listinfo/python-list
Re: Request to advise error for python.
On 10/20/21 23:10, 정성학(대학원생-자동차IT융합전공) via Python-list wrote: Hi There are some errors in order to install numpy as follows. pip install numpy File "", line 1 pip install numpy ^ SyntaxError: invalid syntax. Perhaps you forgot a comma? Would you advise me to correct error and install numpy or pandas? For this one, the command is run outside of Python - in other words, this is a shell command, not a Python command. Quit Python and try again. Extra reading: There are some nuances. If you are on a Linux system, Python is a system program and you don't want to try to install into system locations (you'll run into permission problems anyway), so trying a user install is useful. So: pip install --user numpy In fact, if you're on a Linux system you *may* prefer to install the packaged versions - use the appropriate package manager commands. The numpy site has lots more thoughts on installing - I believe they suggest using the conda installation system. https://numpy.org/install/ -- https://mail.python.org/mailman/listinfo/python-list
Re: Request to advise error for python.
황병희 writes: > Dear 정성학, > [image: image.png] > > If you would like to show us your image, then write down the github/gitlab > link. ... This is example: https://gitlab.com/soyeomul/test/-/commit/80d2b4f5e8eda0238301e9bca5bc33f0127572fd Sincerely, Gopher Byung-Hee -- https://mail.python.org/mailman/listinfo/python-list
Re: Request to advise error for python.
Hi There are some errors in order to install numpy as follows. >>> pip install numpy File "", line 1 pip install numpy ^ SyntaxError: invalid syntax. Perhaps you forgot a comma? Would you advise me to correct error and install numpy or pandas? [image: image.png] === Seonghark Jeong KUL(Kookmin Unmanned vehicle research Laboratory) GSAEK, Kookmin Univ. E-Mail: seongh...@kookmin.ac.kr HP: 82-10-3600-7143 === 2021년 10월 20일 (수) 오전 2:47, 황병희 님이 작성: > Dear 정성학, > > >>> [image: image.png] > > If you would like to show us your image, then write down the github/gitlab > link. Of course i assume you have github/gitlab account. Because Mailing > server does filter for dangerous things such as image file, video clip, > action scripts (computer virus), i think... > > Sincerely, Gopher Byung-Hee > > -- > https://mail.python.org/mailman/listinfo/python-list > -- -- https://mail.python.org/mailman/listinfo/python-list
Re: Request to advise error for python.
Dear 정성학, >>> [image: image.png] If you would like to show us your image, then write down the github/gitlab link. Of course i assume you have github/gitlab account. Because Mailing server does filter for dangerous things such as image file, video clip, action scripts (computer virus), i think... Sincerely, Gopher Byung-Hee -- https://mail.python.org/mailman/listinfo/python-list
Re: Request to advise error for python.
On 10/15/21 5:37 PM, 정성학(대학원생-자동차IT융합전공) via Python-list wrote: > Dear Sir, > > resend request Unfortunately your message is still blank. Attachments such as screenshots are not visible to this list. Whenever you ask questions on the list it is helpful to: - state the operating system you are using - which installer you are using and where you downloaded it from - copy and paste any text error messages you saw - state any information you found doing an internet search for the error message you saw. If you are on Windows, please be sure to read this document: https://docs.python.org/3/using/windows.html -- https://mail.python.org/mailman/listinfo/python-list
Re: Request to advise error for python.
Dear Sir, resend request === Seonghark Jeong KUL(Kookmin Unmanned vehicle research Laboratory) GSAEK, Kookmin Univ. E-Mail: seongh...@kookmin.ac.kr HP: 82-10-3600-7143 === 2021년 10월 16일 (토) 오전 8:08, 정성학(대학원생-자동차IT융합전공) 님이 작성: > Sir, > > I resend the e-mail > > === > Seonghark Jeong > KUL(Kookmin Unmanned vehicle research Laboratory) > GSAEK, Kookmin Univ. > E-Mail: seongh...@kookmin.ac.kr > HP: 82-10-3600-7143 > === > > > 2021년 10월 16일 (토) 오전 8:04, 정성학(대학원생-자동차IT융합전공) 님이 > 작성: > >> Hi Sir, >> >> I had the error below So, I install python many times, and same error >> occur continuously. >> Would you advise how to handle this error? >> >> >> [image: image.png] >> === >> Seonghark Jeong >> KUL(Kookmin Unmanned vehicle research Laboratory) >> GSAEK, Kookmin Univ. >> E-Mail: seongh...@kookmin.ac.kr >> HP: 82-10-3600-7143 >> === >> > -- -- https://mail.python.org/mailman/listinfo/python-list