LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How to install natsort on Anaconda. (https://www.linuxquestions.org/questions/programming-9/how-to-install-natsort-on-anaconda-4175735884/)

ajiten 04-10-2024 08:58 PM

How to install natsort on Anaconda.
 
Unable to find any details, and at best could get the result on googling; which seems to be of no use to me.

If the results are worthwhile, kindly elaborate how, else please suggest a way; as need natsort for ordering files in a (sub)directory, as was the need in my last post.

grail 04-11-2024 12:53 AM

Have you installed pip or conda? (look up your distro to learn how)

Once done your tutorial would seem to have all the other answers

ajiten 04-11-2024 01:24 AM

Quote:

Originally Posted by grail (Post 6495264)
Have you installed pip or conda? (look up your distro to learn how)

Once done your tutorial would seem to have all the other answers

Please send some good links for the suggestion given by you, if possible. I feel my search is not correctly framed so far; hence better start with something better.

pan64 04-11-2024 01:43 AM

is this that difficult? https://anaconda.org/anaconda/natsort

ajiten 04-11-2024 05:56 AM

Quote:

Originally Posted by pan64 (Post 6495269)

Seems am not clear, in expressing that needed what steps are needed. Anyway, followed the video got on googling with query, and have started following the steps given in result video.

As am learning to use pip the first time, hence going to follow the same, unless advised otherwise. Though this video would take some more time, but felt better, as am new.

But, face issues at 0:44, as the command: 'pip search pyserial', gives error:
Code:

ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search). Please use https://pypi.org/search (via a browser) instead. See https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods for more information.

Saw no logic in searching in browser, when needed information about if the package pysearch is installed in my system.

Please tell what went wrong.

--------------

Edit: On querying the reason, got the result, which states the command:
dpkg -l | grep python3

Can you please tell why on running the same, get:
Code:

C:\Windows\system32>dpkg -l | grep python3
'dpkg' is not recognized as an internal or external command,
operable program or batch file.



All times are GMT -5. The time now is 12:03 AM.