Python Forum
installing prospector and updating anaconda packages
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
installing prospector and updating anaconda packages
#1
I have installed anaconda navigator.
In the book "Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and The Cloud", by Prof. Deitel (and also on some web pages), it is mentioned that anaconda pakages can be updated and prospector can be installed using the following commands in the command-line window:
- conda update conda
- pip install prospector

But in the command-line window, some error massages come indicating conda and pip are not excecutable commands or files.
please guide me.
how to run these commands?
Thanks
Reply
#2
Most always activate (base) or own enviroment from command line.
if start eg Anaconda Prompt
Will see that (base) enviroment is active,now can test that pip and conda works.
(base) PS C:\Users\Tom> pip -V
pip 22.1 from C:\Anaconda3\lib\site-packages\pip (python 3.10)
(base) PS C:\Users\Tom> conda -V
conda 4.12.0
(base) PS C:\Users\Tom>
I always active myself when use Anaconda or Miniconda as i use cmder
i just have a comand that to all in go,here is a example of the manually way.
# Cd to Scripts folder
C:\
λ cd Anaconda3\Scripts\

# Activate
C:\Anaconda3\Scripts
λ activate.bat

# See that (base) is now active 
(base) C:\Anaconda3\Scripts

# Swict to one of my own enviroments 
(new_env) C:\Anaconda3\Scripts
λ activate new_env

# Now will pip use only this enviroment 
(new_env) C:\
λ pip -V
pip 20.3.3 from C:\Anaconda3\envs\new_env\lib\site-packages\pip (python 3.10)
Reply
#3
Thank you very much. Your explanation was very clear and helpful.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing python packages in a virtual environment Led_Zeppelin 1 775 Aug-15-2023, 08:18 PM
Last Post: deanhystad
  Installing Modules / packages Oshadha 1 1,706 Feb-05-2021, 08:04 PM
Last Post: Jeff900
  Getting error while installing packages using pip Shreya 2 4,070 Apr-22-2020, 08:03 AM
Last Post: Shreya
  Installing Packages Cydney 6 3,284 Mar-31-2020, 01:13 PM
Last Post: Cydney
  Installing PIP packages issue Renym 2 3,052 Dec-09-2019, 04:44 PM
Last Post: Axel_Erfurt
  Python 3.8 or 3.? Trouble installing packages dn237 5 6,808 Oct-25-2019, 07:21 PM
Last Post: snippsat
  errors while installing packages kavindu 3 5,167 Apr-02-2018, 02:33 AM
Last Post: giri_ginanjar
  installing packages Globally vs Virtually karaokelove 2 3,009 Jan-03-2018, 11:29 PM
Last Post: snippsat
  Installing pyperclip with Anaconda jamesh291183 3 8,292 Mar-13-2017, 10:03 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020