Python Forum
Installing python packages in a virtual environment
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing python packages in a virtual environment
#1
I will ask question again since I did not see it post.

1. I create a virtual environment.

2. I installed some packages by command line. pip install python 3.7

3. I then install jupyter notebook in same virtual environment.

4.I bring up the virtual environment.

5. Should those command line installed packages be in my Jupyter notebook install?

Led_Zeppelin
Reply
#2
1. Create virtual environment
2. ACTIVATE VIRTUAL ENVIRONMENT
3. INSTALL PACKAGES IN VIRTUAL ENVIRONMENT USING pip install package

If you don't activate the virtual environment, packages will not install in the virtual environment.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with creating folder and "virtual environment" AudunNilsen 1 249 Mar-21-2024, 04:41 AM
Last Post: deanhystad
  Best practice on using virtual environments in Python bytecrunch 6 859 Feb-14-2024, 03:22 PM
Last Post: snippsat
  Virtual Env changing mysql connection string in python Fredesetes 0 383 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  Installation of packages to newest Python version from previous one Andrzej_Andrzej 3 846 Jul-15-2023, 11:32 AM
Last Post: snippsat
  Understanding venv; How do I ensure my python script uses the environment every time? Calab 1 2,289 May-10-2023, 02:13 PM
Last Post: Calab
  Python development environment standenman 3 1,646 May-04-2023, 07:24 PM
Last Post: snippsat
  Problem with virtual environment standenman 2 1,013 Feb-23-2023, 07:09 PM
Last Post: standenman
Question Virtual Environment (using VS Code) Ashcora 4 14,131 Feb-15-2023, 07:17 PM
Last Post: snippsat
  installing prospector and updating anaconda packages amir 2 997 Dec-24-2022, 06:13 AM
Last Post: amir
  Python Scripting Environment jpotter0 1 1,721 Nov-19-2022, 03:07 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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