(Mar-31-2023, 11:00 AM)newbieAuggie2019 Wrote: If I do that in the anaconda prompt on windows, it shows the '"pip-date" is not recognized as an internal or external command [...]' error, which apparently it is due to a wrong... path!!! Alas! (I hate configurating paths, as I usually do it wrong).You most install pip-date when
(base)
environment is active,then it will work.Example.
tom_env) G:\all_flask\2023\web_dir (main) λ pip install pip-date Collecting pip-date Downloading pip_date-1.0.5-py3-none-any.whl (32 kB) Requirement already satisfied: requests in g:\miniconda3\envs\tom_env\lib\site-packages (from pip-date) (2.27.1) Collecting lxml Downloading lxml-4.9.2-cp310-cp310-win_amd64.whl (3.8 MB) |████████████████████████████████| 3.8 MB 3.3 MB/s Requirement already satisfied: charset-normalizer~=2.0.0 in g:\miniconda3\envs\tom_env\lib\site-packages (from requests->pip-date) (2.0.12) Requirement already satisfied: idna<4,>=2.5 in g:\miniconda3\envs\tom_env\lib\site-packages (from requests->pip-date) (3.4) Requirement already satisfied: urllib3<1.27,>=1.21.1 in g:\miniconda3\envs\tom_env\lib\site-packages (from requests->pip-date) (1.26.11) Requirement already satisfied: certifi>=2017.4.17 in g:\miniconda3\envs\tom_env\lib\site-packages (from requests->pip-date) (2022.12.7) Installing collected packages: lxml, pip-date Successfully installed lxml-4.9.2 pip-date-1.0.5 (tom_env) G:\all_flask\2023\web_dir (main) λ pip-date Using cTime for WindowsPE Package Installed (cTime) LastModified (mTime) Version Inst Prec Type Loc ------------------------------------------------------------------------------------------------------------------- absl-py 2021-03-12 11:11:10 0.12.0 pip wheel sys alembic 2021-09-09 02:04:31 1.7.1 pip wheel sys .... ectThis is my own enviroment that i made,i never use
(base)
.If i go back to (base) it will not work.
(tom_env) G:\all_flask\2023\web_dir (main) λ activate base conda.bat activate base (base) G:\all_flask\2023\web_dir (main) λ pip-date 'pip-date' is not recognized as an internal or external command, operable program or batch file. (base) G:\all_flask\2023\web_dir (main)The i haver to install
pip install pip-date
in (base),then it will work,and find package that is only in (base) environment.Understating how environment works is big part of using Anacond/Miniconda.
There is no
paths
problem when a environment is activated
it will use only path for that environment.If i look back so have i answered you before about this,look at this Thread again .