Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Installing a new package using pip in conda environment
Does a package also gets installed in conda environment if I use pip to install packages not included in Anaconda?

I am currently working on a Django project and want to install an additional Django (app) package called "tinymce". I've installed Anaconda just recently and I'm not used to commands related to conda. I often used to pip install packages from the command prompt. But now I'm really confused if I really should just use the same pip install or use other conda commands (if there are any) to install that package. Also, does that affect anything, if I am to frequently use that packages?

FYI: I'm on Windows & using Python 3.7 using the recent Anaconda release.
No they are separate version) or Anaconda(standalone disruption)
Do pip -V from command line cmd or cmder(as i use).
λ pip -V
pip 19.3.1 from c:\python37\lib\site-packages\pip (python 3.7)
Python 3.7 my main version in Windows Path.
So if i now do eg pip install requests will install to version shown over.

If i want to the same in Anaconda,i could do it from Scripts folder(where pip and conda placed).
λ pip -V
pip 19.3.1 from g:\anaconda3\lib\site-packages\pip (python 3.7)

λ conda -V
conda 4.7.12
So if do this now pip install requests or conda install requests will install to Anaconda.

Or if i activate base,it will always install to Anaconda.
This is what Anaconda prompt(cmd shell) dos,it's comes with Anaconda.
λ activate base

(base) G:\Anaconda3\Scripts
λ c:

(base) C:\Users\Tom
λ cd ..

(base) C:\Users
λ cd ..

# Now in C:\,but now will install to Anaconda
(base) C:\
λ pip -V
pip 19.3.1 from g:\anaconda3\lib\site-packages\pip (python 3.7)
Some link to look at:
Python 3.6/3.7 and pip installation under Windows
Anaconda and other ways to run Python.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Installing a python package using pip anthonymoss78 0 123 Jul-14-2020, 01:52 PM
Last Post: anthonymoss78
  Error: How to to close and restart your shell after running 'conda init' angelica 3 481 May-27-2020, 10:00 AM
Last Post: snippsat
  Creating Conda env from requirments.txt file ErnestTBass 7 1,048 Apr-23-2020, 06:57 PM
Last Post: snippsat
  Auto activate conda env in Pycharm terminal ntuttle 0 1,485 Mar-08-2019, 03:56 PM
Last Post: ntuttle
  sys library and how to import using conda michavardy 0 583 Feb-26-2019, 08:25 AM
Last Post: michavardy
  Which package installation methods to use inside a python virtual environment? python_user_03 2 884 Dec-26-2018, 03:00 PM
Last Post: gehrenfeld
  pip not installing any package on windows royhimo855 0 1,229 Dec-10-2018, 07:58 AM
Last Post: royhimo855
  pip installing package using c++ boost in windows 6hearts 2 1,997 Feb-16-2018, 06:09 PM
Last Post: 6hearts
  Installing blpapi in two different conda environments snicolaou 0 2,095 Jan-09-2018, 02:12 PM
Last Post: snicolaou
  How to update pymqi version from conda ? tracy786 2 1,659 Dec-30-2017, 01:09 PM
Last Post: snippsat

Forum Jump:

Users browsing this thread: 1 Guest(s)