Python Forum
Deitel book "Python for Programmers"
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deitel book "Python for Programmers"
#3
(Apr-08-2023, 01:00 PM)snippsat Wrote:
(Apr-08-2023, 11:57 AM)ricardian Wrote: I have installed Anaconda3, python 3.10.10 and issued commands from Terminal, Anaconda command prompt (logged in as administrator)
You most also activate (base) environment,if use Anaconda Prompt it will do it automatic.
Eg here i use Minicona and do i manuel.
G:\miniconda3
λ cd Scripts\

G:\miniconda3\Scripts
λ activate.bat

(base) G:\miniconda3\Scripts
λ cd ..

(base) G:\miniconda3
λ conda -V
conda 22.11.1

(base) G:\miniconda3
λ pip -V
pip 22.3.1 from G:\miniconda3\lib\site-packages\pip (python 3.9)
The important part here is that (base) environment is now activate.
I do not use (base) envriomty,but my own.

Also when install jupyter-labextension it need Node.js.
conda install -c conda-forge ipympl
conda install nodejs
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib

Thank you for your reply. The shortcut for "Anaconda Prompt" on my machine includes the "activate.bat" command, in full it is:
%windir%\System32\cmd.exe "/K" C:\Users\ricar\anaconda3\Scripts\activate.bat C:\Users\ricar\anaconda3
and I have already issued the command "conda install nodejs"
Reply


Messages In This Thread
Deitel book "Python for Programmers" - by ricardian - Apr-08-2023, 11:57 AM
RE: Deitel book "Python for Programmers" - by ricardian - Apr-08-2023, 01:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Beginner stuck in Python book for kids mic81k 11 1,447 Nov-27-2023, 04:28 AM
Last Post: deanhystad
  best " Learning Python " book for a beginner alok 4 3,147 Jul-30-2021, 11:37 AM
Last Post: metulburr
  Nested Python functions (Dan Bader's book) Drone4four 4 2,676 Jun-26-2021, 07:54 AM
Last Post: ndc85430
  I really need help, I am new to python, I am using a book that helps me to learn JaprO 5 3,092 Nov-28-2020, 02:30 PM
Last Post: JaprO
  creating an 'adress book' in python using dictionaries? apollo 6 15,017 May-06-2019, 12:03 PM
Last Post: snippsat
  3 easy questions for python programmers but 3 pain in the ass for me grjmmr 6 4,121 Jul-22-2018, 08:41 PM
Last Post: Larz60+
  IndentationError message could be confusing to new programmers insearchofanswers87 1 2,409 May-16-2018, 05:05 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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