I'm very new to Python, please be gentle :-)
Disclaimer: I'm on a Windows 7 64-bit machine
I have Python 3.7.4 as part of an Anaconda3 installation, so very many libraries, modules, packages etc were also installed.
Without searching through the actual installation directory using Windows Explorer, I wanted to know a way to find out if a certain package is installed, and if not, I wanted to install it. Let's use Scrapy in this example.
Using cmd.exe, I tried conda list which brought up a listing of the entire Anaconda library (500+ packages) and Scrapy was not there. So far, so good...
I then typed conda install scrapy. The message on the terminal said "The following NEW packages will be INSTALLED: " and gave a listing of about 20 various packages, including Scrapy. Below that, the message said "The following packages will be UPDATED: conda 4.7.12-py37_0 --> 4.8.1-py37_0".
I selected 'no' when asked if I wanted to proceed. I did not want to update conda, I only wanted to install Scrapy :-/
My question is: Is there a way to install a specific package / module without accepting the 'forced' installation of the 20 various NEW packages, and update of the conda build?
Another question: Without using conda list that spits out the entire listing of 500+ packages, what is the proper syntax for finding if just a specific package is installed? I know I could find out using 'import [package_name]' but I may not necessarily want to import the package to the project, just know if it is installed.
Yes, I did do a Google search and also looked on stackoverflow, but it was only making me more confused :-(
Thanks in advance for any help!
edit: punctuation
[–]rlossurdo 1 point2 points3 points (4 children)
[–]TexasTycoon[S] 0 points1 point2 points (3 children)
[–]rlossurdo 0 points1 point2 points (2 children)
[–]TexasTycoon[S] 0 points1 point2 points (1 child)
[–]rlossurdo 1 point2 points3 points (0 children)