Hi,
I want to create virtual environment in my Anaconda Python installation. What are the steps for creation of virtual environment in anaconda python?
Hi,
Here are steps for: anaconda python create virtual environment
Step 1: Open anaconda prompt
Step 2: Create a new virtual environment with following command
conda create -n py_crawler python=3.7 anaconda
Here is the output:
The following packages will be downloaded:
package | build ---------------------------|----------------- aiohttp-3.8.1 | py37h2bbff1b_1 492 KB aiosignal-1.2.0 | pyhd3eb1b0_0 12 KB alabaster-0.7.12 | py37_0 18 KB anaconda-2022.05 | py37_0 19 KB anaconda-client-1.9.0 | py37haa95532_0 170 KB anaconda-project-0.10.2 | pyhd3eb1b0_0 218 KB anyio-3.5.0 | py37haa95532_0 166 KB argon2-cffi-21.3.0 | pyhd3eb1b0_0 15 KB argon2-cffi-bindings-21.2.0| py37h2bbff1b_0 36 KB arrow-1.2.2 | pyhd3eb1b0_0 92 KB astroid-2.6.6 | py37haa95532_0 308 KB astropy-4.3.1 | py37hc7d831d_0 6.0 MB async-timeout-4.0.1 | pyhd3eb1b0_0 10 KB asynctest-0.13.0 | py_0 26 KB attrs-21.4.0 | pyhd3eb1b0_0 51 KB automat-20.2.0 | py_0 31 KB autopep8-1.6.0 | pyhd3eb1b0_0 42 KB backports-1.1 | pyhd3eb1b0_0 4 KB bcrypt-3.2.0 | py37he774522_0 44 KB beautifulsoup4-4.11.1 | py37haa95532_0 190 KB bitarray-2.4.1 | py37h2bbff1b_0 150 KB bkcharts-0.2 | py37_0 131 KB bleach-4.1.0 | pyhd3eb1b0_0 123 KB bokeh-2.4.2 | py37haa95532_0 7.7 MB boto3-1.21.32 | pyhd3eb1b0_0 71 KB botocore-1.24.32 | pyhd3eb1b0_0 4.3 MB bottleneck-1.3.4 | py37h080aedc_0 108 KB brotlipy-0.7.0 |py37h2bbff1b_1003 337 KB ca-certificates-2022.3.29 | haa95532_1 122 KB cachetools-4.2.2 | pyhd3eb1b0_0 13 KB cffi-1.15.0 | py37h2bbff1b_1 222 KB chardet-4.0.0 |py37haa95532_1003 209 KB click-8.0.4 | py37haa95532_0 153 KB clyent-1.2.2 | py37_1 19 KB colorcet-2.0.6 | pyhd3eb1b0_0 1.4 MB comtypes-1.1.10 |py37haa95532_1002 235 KB conda-4.13.0 | py37haa95532_0 911 KB conda-package-handling-1.8.1| py37h8cc25b3_0 730 KB constantly-15.1.0 | py37h28b3542_0 13 KB cookiecutter-1.7.3 | pyhd3eb1b0_0 79 KB cryptography-3.4.8 | py37h71e12ea_0 634 KB cssselect-1.1.0 | pyhd3eb1b0_0 18 KB curl-7.82.0 | h2bbff1b_0 140 KB cycler-0.11.0 | pyhd3eb1b0_0 12 KB cython-0.29.28 | py37hd77b12b_0 1.7 MB cytoolz-0.11.0 | py37he774522_0 279 KB daal4py-2021.5.0 | py37h8cb3d55_0 8.0 MB dal-2021.5.0 | haa95532_796 23.2 MB datashader-0.13.0 | pyhd3eb1b0_1 14.0 MB datashape-0.5.4 | py37haa95532_1 104 KB debugpy-1.5.1 | py37hd77b12b_0 2.6 MB decorator-5.1.1 | pyhd3eb1b0_0 12 KB distributed-2021.10.0 | py37haa95532_0 1011 KB docutils-0.17.1 | py37haa95532_1 683 KB entrypoints-0.4 | py37haa95532_0 17 KB et_xmlfile-1.1.0 | py37haa95532_0 10 KB filelock-3.6.0 | pyhd3eb1b0_0 12 KB frozenlist-1.2.0 | py37h2bbff1b_0 76 KB fsspec-2022.2.0 | pyhd3eb1b0_0 98 KB future-0.18.2 | py37_1 646 KB gensim-4.1.2 | py37hd77b12b_0 18.2 MB google-api-core-1.25.1 | pyhd3eb1b0_0 64 KB google-auth-1.33.0 | pyhd3eb1b0_0 80 KB google-cloud-core-1.7.1 | pyhd3eb1b0_0 25 KB google-cloud-storage-1.41.0| pyhd3eb1b0_0 72 KB google-crc32c-1.1.2 | py37h2bbff1b_0 25 KB google-resumable-media-1.3.1| pyhd3eb1b0_1 41 KB googleapis-common-protos-1.53.0| py37h2eaa2aa_0 134 KB greenlet-1.1.1 | py37hd77b12b_0 82 KB grpcio-1.42.0 | py37hc60d5dd_0 1.8 MB h5py-2.10.0 | py37h5e291fa_0 808 KB hdf5-1.10.4 | h7ebc959_0 7.9 MB holoviews-1.14.8 | pyhd3eb1b0_0 3.2 MB hvplot-0.7.3 | pyhd3eb1b0_1 2.9 MB hyperlink-21.0.0 | pyhd3eb1b0_0 70 KB idna-3.3 | pyhd3eb1b0_0 49 KB imagecodecs-2021.8.26 | py37ha1f97ea_0 6.1 MB imagesize-1.3.0 | pyhd3eb1b0_0 9 KB importlib-metadata-4.11.3 | py37haa95532_0 40 KB importlib_metadata-4.11.3 | hd3eb1b0_0 12 KB importlib_resources-5.2.0 | pyhd3eb1b0_1 21 KB incremental-21.3.0 | pyhd3eb1b0_0 17 KB inflection-0.5.1 | py37haa95532_0 12 KB intake-0.6.5 | pyhd3eb1b0_0 178 KB ipykernel-6.9.1 | py37haa95532_0 201 KB ipython-7.31.1 | py37haa95532_0 1018 KB itemadapter-0.3.0 | pyhd3eb1b0_0 13 KB itemloaders-1.0.4 | pyhd3eb1b0_1 14 KB jedi-0.18.1 | py37haa95532_1 979 KB jinja2-time-0.2.0 | pyhd3eb1b0_3 9 KB jmespath-0.10.0 | pyhd3eb1b0_0 22 KB jpeg-9e | h2bbff1b_0 292 KB jq-1.6 | haa95532_1 992 KB jsonschema-4.4.0 | py37haa95532_0 137 KB jupyter-1.0.0 | py37_7 6 KB jupyter_core-4.9.2 | py37haa95532_0 96 KB jupyter_server-1.13.5 | pyhd3eb1b0_0 259 KB jupyterlab-3.3.2 | pyhd3eb1b0_0 3.6 MB jupyterlab_server-2.10.3 | pyhd3eb1b0_1 48 KB keyring-23.4.0 | py37haa95532_0 72 KB kiwisolver-1.3.2 | py37hd77b12b_0 56 KB lazy-object-proxy-1.6.0 | py37h2bbff1b_0 30 KB libcrc32c-1.1.1 | ha925a31_2 24 KB libcurl-7.82.0 | h86230a5_0 296 KB libiconv-1.16 | h2bbff1b_2 651 KB liblief-0.11.5 | hd77b12b_1 2.1 MB libprotobuf-3.19.1 | h23ce68f_0 1.9 MB libssh2-1.10.0 | hcd4344a_0 222 KB libwebp-1.2.2 | h2bbff1b_0 658 KB llvmlite-0.38.0 | py37h23ce68f_0 13.3 MB locket-0.2.1 | py37haa95532_2 12 KB lxml-4.8.0 | py37h1985fb9_0 952 KB markdown-3.3.4 | py37haa95532_0 144 KB markupsafe-2.0.1 | py37h2bbff1b_0 24 KB matplotlib-3.5.1 | py37haa95532_1 29 KB matplotlib-base-3.5.1 | py37hd77b12b_1 5.6 MB mccabe-0.6.1 | py37_1 14 KB menuinst-1.4.18 | py37h59b6b97_0 95 KB mistune-0.8.4 |py37hfa6e2cd_1001 55 KB mkl-service-2.4.0 | py37h2bbff1b_0 49 KB mkl_fft-1.3.1 | py37h277e83a_0 135 KB mkl_random-1.2.2 | py37hf11a4ad_0 216 KB mpmath-1.2.1 | py37haa95532_0 775 KB msgpack-python-1.0.2 | py37h59b6b97_1 75 KB multidict-5.1.0 | py37h2bbff1b_2 85 KB multipledispatch-0.6.0 | py37_0 22 KB mypy_extensions-0.4.3 | py37haa95532_1 10 KB nbclassic-0.3.5 | pyhd3eb1b0_0 22 KB nbclient-0.5.13 | py37haa95532_0 108 KB nbconvert-6.4.4 | py37haa95532_0 518 KB nbformat-5.3.0 | py37haa95532_0 145 KB nest-asyncio-1.5.5 | py37haa95532_0 16 KB nltk-3.7 | pyhd3eb1b0_0 1010 KB nose-1.3.7 | pyhd3eb1b0_1008 142 KB notebook-6.4.8 | py37haa95532_0 4.5 MB numba-0.55.1 | py37hf11a4ad_0 3.4 MB numexpr-2.8.1 | py37hb80d3ca_0 118 KB numpy-1.21.5 | py37h7a0a035_1 25 KB numpy-base-1.21.5 | py37hca35cd5_1 4.4 MB numpydoc-1.2 | pyhd3eb1b0_0 45 KB olefile-0.46 | py37_0 49 KB openssl-1.1.1n | h2bbff1b_0 4.8 MB packaging-21.3 | pyhd3eb1b0_0 36 KB pandas-1.3.5 | py37h6214cd6_0 8.4 MB pandocfilters-1.5.0 | pyhd3eb1b0_0 11 KB panel-0.13.0 | py37haa95532_0 11.0 MB param-1.12.0 | pyhd3eb1b0_0 75 KB paramiko-2.8.1 | pyhd3eb1b0_0 139 KB parsel-1.6.0 | py37haa95532_0 351 KB parso-0.8.3 | pyhd3eb1b0_0 70 KB partd-1.2.0 | pyhd3eb1b0_1 18 KB patsy-0.5.2 | py37haa95532_1 271 KB pep8-1.7.1 | py37_0 68 KB pillow-9.0.1 | py37hdc2b20a_0 916 KB pkginfo-1.8.2 | pyhd3eb1b0_0 27 KB plotly-5.6.0 | pyhd3eb1b0_0 2.7 MB pluggy-1.0.0 | py37haa95532_1 29 KB prometheus_client-0.13.1 | pyhd3eb1b0_0 47 KB protego-0.1.16 | py_0 2.2 MB protobuf-3.19.1 | py37hd77b12b_0 238 KB psutil-5.8.0 | py37h2bbff1b_1 345 KB py-1.11.0 | pyhd3eb1b0_0 76 KB py-lief-0.11.5 | py37hd77b12b_1 1.6 MB pyasn1-0.4.8 | pyhd3eb1b0_0 54 KB pyasn1-modules-0.2.8 | py_0 72 KB pycosat-0.6.3 | py37h2bbff1b_0 75 KB pycparser-2.21 | pyhd3eb1b0_0 94 KB pycrypto-2.6.1 | py37he774522_10 380 KB pyct-0.4.8 | py37_0 76 KB pycurl-7.44.1 | py37hcd4344a_1 65 KB pydispatcher-2.0.5 | py37haa95532_2 20 KB pyerfa-2.0.0 | py37h2bbff1b_0 358 KB pygments-2.11.2 | pyhd3eb1b0_0 759 KB pyhamcrest-2.0.2 | pyhd3eb1b0_2 31 KB pylint-2.9.6 | py37haa95532_1 506 KB pynacl-1.4.0 | py37h62dcd97_1 1.2 MB pyodbc-4.0.32 | py37hd77b12b_1 72 KB pyqt-5.9.2 | py37hd77b12b_6 3.3 MB pyreadline-2.1 | py37_1 143 KB pyrsistent-0.18.0 | py37h196d8e1_0 89 KB pysocks-1.7.1 | py37_1 28 KB pytables-3.6.1 | py37h1da0976_0 2.2 MB pytest-7.1.1 | py37haa95532_0 471 KB python-3.7.13 | h6244533_0 15.0 MB python-fastjsonschema-2.15.1| pyhd3eb1b0_0 29 KB python-snappy-0.6.0 | py37hd77b12b_3 31 KB pyviz_comms-2.0.2 | pyhd3eb1b0_0 23 KB pywavelets-1.3.0 | py37h2bbff1b_0 3.4 MB pywin32-302 | py37h2bbff1b_2 5.6 MB pywin32-ctypes-0.2.0 | py37_1001 39 KB pywinpty-2.0.2 | py37h5da7b33_0 202 KB pyyaml-6.0 | py37h2bbff1b_1 144 KB pyzmq-22.3.0 | py37hd77b12b_2 618 KB qtawesome-1.0.3 | pyhd3eb1b0_0 761 KB qtconsole-5.3.0 | pyhd3eb1b0_0 93 KB qtpy-2.0.1 | pyhd3eb1b0_0 40 KB queuelib-1.5.0 | py37haa95532_0 258 KB regex-2022.3.15 | py37h2bbff1b_0 316 KB requests-2.27.1 | pyhd3eb1b0_0 54 KB requests-file-1.5.1 | pyhd3eb1b0_0 8 KB rope-0.22.0 | pyhd3eb1b0_0 129 KB rsa-4.7.2 | pyhd3eb1b0_1 28 KB rtree-0.9.7 | py37h2eaa2aa_1 49 KB ruamel_yaml-0.15.100 | py37h2bbff1b_0 271 KB s3transfer-0.5.0 | pyhd3eb1b0_0 57 KB scikit-image-0.19.2 | py37hf11a4ad_0 9.4 MB scikit-learn-1.0.2 | py37hf11a4ad_1 4.9 MB scikit-learn-intelex-2021.5.0| py37haa95532_0 69 KB scipy-1.7.3 | py37h0a974cb_0 13.8 MB scrapy-2.6.1 | py37haa95532_0 387 KB service_identity-18.1.0 | pyhd3eb1b0_1 13 KB setuptools-61.2.0 | py37haa95532_0 1.0 MB sip-4.19.13 | py37hd77b12b_0 260 KB six-1.16.0 | pyhd3eb1b0_1 18 KB smart_open-5.1.0 | pyhd3eb1b0_0 43 KB snappy-1.1.9 | h6c2663c_0 2.2 MB sniffio-1.2.0 | py37haa95532_1 15 KB snowballstemmer-2.2.0 | pyhd3eb1b0_0 61 KB soupsieve-2.3.1 | pyhd3eb1b0_0 34 KB sphinx-4.4.0 | pyhd3eb1b0_0 1.2 MB spyder-5.1.5 | py37haa95532_1 9.4 MB spyder-kernels-2.1.3 | py37haa95532_0 111 KB sqlalchemy-1.4.32 | py37h2bbff1b_0 1.9 MB sqlite-3.38.2 | h2bbff1b_0 807 KB statsmodels-0.13.2 | py37h2bbff1b_0 8.3 MB sympy-1.10.1 | py37haa95532_0 9.3 MB tabulate-0.8.9 | py37haa95532_0 55 KB tbb-2021.5.0 | h59b6b97_0 149 KB tbb4py-2021.5.0 | py37h59b6b97_0 77 KB tenacity-8.0.1 | py37haa95532_0 38 KB terminado-0.13.1 | py37haa95532_0 31 KB tldextract-3.2.0 | pyhd3eb1b0_0 81 KB tomli-1.2.2 | pyhd3eb1b0_0 17 KB toolz-0.11.2 | pyhd3eb1b0_0 49 KB tornado-6.1 | py37h2bbff1b_0 592 KB tqdm-4.64.0 | py37haa95532_0 153 KB traitlets-5.1.1 | pyhd3eb1b0_0 84 KB twisted-22.2.0 | py37h2bbff1b_0 4.1 MB twisted-iocpsupport-1.0.2 | py37h2bbff1b_0 45 KB typed-ast-1.4.3 | py37h2bbff1b_1 134 KB typing-extensions-4.1.1 | hd3eb1b0_0 8 KB typing_extensions-4.1.1 | pyh06a4308_0 28 KB ujson-5.1.0 | py37hd77b12b_0 50 KB urllib3-1.26.9 | py37haa95532_0 188 KB w3lib-1.21.0 | pyhd3eb1b0_0 22 KB watchdog-2.1.6 | py37haa95532_0 110 KB webencodings-0.5.1 | py37_1 19 KB websocket-client-0.58.0 | py37haa95532_4 69 KB werkzeug-2.0.3 | pyhd3eb1b0_0 221 KB widgetsnbextension-3.5.2 | py37haa95532_0 646 KB win_inet_pton-1.1.0 | py37haa95532_0 35 KB win_unicode_console-0.5 | py37_0 33 KB wrapt-1.12.1 | py37he774522_1 49 KB xarray-0.20.1 | pyhd3eb1b0_1 563 KB xlsxwriter-3.0.3 | pyhd3eb1b0_0 113 KB xlwings-0.24.9 | py37haa95532_0 896 KB yarl-1.5.1 | py37he774522_0 135 KB zipp-3.7.0 | pyhd3eb1b0_0 12 KB zlib-1.2.12 | h8cc25b3_2 116 KB zope-1.0 | py37_1 4 KB zope.interface-5.4.0 | py37h2bbff1b_0 301 KB ------------------------------------------------------------ Total: 312.4 MB The following NEW packages will be INSTALLED:
Step 3: Activate the new environment with following command
Finally you can activate the environment with following command:
conda activate py_crawler
Thanks
Ads