Creating a Conda environment
Executed:
aadmin@uvm0:~$ source /home/aadmin/miniconda3/bin/activate
(base) aadmin@uvm0:~$ conda env list
(base) aadmin@uvm0:~$ python --version
(base) aadmin@uvm0:~$ conda create --name ansible python --only-deps
(base) aadmin@uvm0:~$ conda env list
(base) aadmin@uvm0:~$ conda activate ansible
(ansible) aadmin@uvm0:~$ python --version
(ansible) aadmin@uvm0:~$ pip install pyvmomi
(ansible) aadmin@uvm0:~$ conda install requests
(ansible) aadmin@uvm0:~$ conda list
(ansible) aadmin@uvm0:~$ conda deactivate
(base) aadmin@uvm0:~$ conda deactivate
Details
(base) aadmin@uvm0:~$ conda env list
# conda environments:
#
base * /home/aadmin/miniconda3
(base) aadmin@uvm0:~$ python --version
Python 3.12.4
(base) aadmin@uvm0:~$ conda create --name ansible python --only-deps
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/aadmin/miniconda3/envs/ansible
added / updated specs:
- python
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2024.11.26 | h06a4308_0 131 KB
expat-2.6.3 | h6a678d5_0 176 KB
ld_impl_linux-64-2.40 | h12ee557_0 710 KB
libmpdec-4.0.0 | h5eee18b_0 86 KB
openssl-3.0.15 | h5eee18b_0 5.2 MB
pip-24.2 | py313h06a4308_0 2.4 MB
python-3.13.0 |hf623796_100_cp313 36.0 MB
python_abi-3.13 | 0_cp313 6 KB
setuptools-75.1.0 | py313h06a4308_0 1.9 MB
tzdata-2024b | h04d1e81_0 115 KB
wheel-0.44.0 | py313h06a4308_0 138 KB
------------------------------------------------------------
Total: 46.9 MB
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
_openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu
bzip2 pkgs/main/linux-64::bzip2-1.0.8-h5eee18b_6
ca-certificates pkgs/main/linux-64::ca-certificates-2024.11.26-h06a4308_0
expat pkgs/main/linux-64::expat-2.6.3-h6a678d5_0
ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.40-h12ee557_0
libffi pkgs/main/linux-64::libffi-3.4.4-h6a678d5_1
libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1
libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1
libmpdec pkgs/main/linux-64::libmpdec-4.0.0-h5eee18b_0
libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1
libuuid pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0
ncurses pkgs/main/linux-64::ncurses-6.4-h6a678d5_0
openssl pkgs/main/linux-64::openssl-3.0.15-h5eee18b_0
pip pkgs/main/linux-64::pip-24.2-py313h06a4308_0
python pkgs/main/linux-64::python-3.13.0-hf623796_100_cp313
python_abi pkgs/main/linux-64::python_abi-3.13-0_cp313
readline pkgs/main/linux-64::readline-8.2-h5eee18b_0
setuptools pkgs/main/linux-64::setuptools-75.1.0-py313h06a4308_0
sqlite pkgs/main/linux-64::sqlite-3.45.3-h5eee18b_0
tk pkgs/main/linux-64::tk-8.6.14-h39e8969_0
tzdata pkgs/main/noarch::tzdata-2024b-h04d1e81_0
wheel pkgs/main/linux-64::wheel-0.44.0-py313h06a4308_0
xz pkgs/main/linux-64::xz-5.4.6-h5eee18b_1
zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_1
Proceed ([y]/n)? ENTER
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate ansible
#
# To deactivate an active environment, use
#
# $ conda deactivate
(base) aadmin@uvm0:~$ conda env list
# conda environments:
#
base * /home/aadmin/miniconda3
ansible /home/aadmin/miniconda3/envs/ansible
(base) aadmin@uvm0:~$ conda activate ansible
(ansible) aadmin@uvm0:~$ python --version
Python 3.13.0
(ansible) aadmin@uvm0:~$ pip install pyvmomi
Collecting pyvmomi
Downloading pyvmomi-8.0.3.0.1.tar.gz (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 1.8 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting six>=1.7.3 (from pyvmomi)
Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: pyvmomi
Building wheel for pyvmomi (setup.py) ... done
Created wheel for pyvmomi: filename=pyvmomi-8.0.3.0.1-py2.py3-none-any.whl size=1977836 sha256=1a6a58e89ab9bfeab14ed43d84ec5e418296a0fba58902d404f87d4c189412a3
Stored in directory: /home/aadmin/.cache/pip/wheels/ae/30/be/57cfa4d9b674ef3bcea5311b5f10f438672ecdc4cf97415ecd
Successfully built pyvmomi
Installing collected packages: six, pyvmomi
Successfully installed pyvmomi-8.0.3.0.1 six-1.16.0
(ansible) aadmin@uvm0:~$ conda install requests
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/aadmin/miniconda3/envs/ansible
added / updated specs:
- requests
The following packages will be downloaded:
package | build
---------------------------|-----------------
brotli-python-1.0.9 | py313h6a678d5_8 317 KB
certifi-2024.8.30 | py313h06a4308_0 161 KB
idna-3.7 | py313h06a4308_0 104 KB
pysocks-1.7.1 | py313h06a4308_0 35 KB
requests-2.32.3 | py313h06a4308_1 125 KB
urllib3-2.2.3 | py313h06a4308_0 225 KB
------------------------------------------------------------
Total: 968 KB
The following NEW packages will be INSTALLED:
brotli-python pkgs/main/linux-64::brotli-python-1.0.9-py313h6a678d5_8
certifi pkgs/main/linux-64::certifi-2024.8.30-py313h06a4308_0
charset-normalizer pkgs/main/noarch::charset-normalizer-3.3.2-pyhd3eb1b0_0
idna pkgs/main/linux-64::idna-3.7-py313h06a4308_0
pysocks pkgs/main/linux-64::pysocks-1.7.1-py313h06a4308_0
requests pkgs/main/linux-64::requests-2.32.3-py313h06a4308_1
urllib3 pkgs/main/linux-64::urllib3-2.2.3-py313h06a4308_0
Proceed ([y]/n)? ENTER
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(ansible) aadmin@uvm0:~$ conda list
# packages in environment at /home/aadmin/miniconda3/envs/ansible:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
brotli-python 1.0.9 py313h6a678d5_8
bzip2 1.0.8 h5eee18b_6
ca-certificates 2024.11.26 h06a4308_0
certifi 2024.8.30 py313h06a4308_0
charset-normalizer 3.3.2 pyhd3eb1b0_0
expat 2.6.3 h6a678d5_0
idna 3.7 py313h06a4308_0
ld_impl_linux-64 2.40 h12ee557_0
libffi 3.4.4 h6a678d5_1
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
libmpdec 4.0.0 h5eee18b_0
libstdcxx-ng 11.2.0 h1234567_1
libuuid 1.41.5 h5eee18b_0
ncurses 6.4 h6a678d5_0
openssl 3.0.15 h5eee18b_0
pip 24.2 py313h06a4308_0
pysocks 1.7.1 py313h06a4308_0
python 3.13.0 hf623796_100_cp313
python_abi 3.13 0_cp313
pyvmomi 8.0.3.0.1 pypi_0 pypi
readline 8.2 h5eee18b_0
requests 2.32.3 py313h06a4308_1
setuptools 75.1.0 py313h06a4308_0
six 1.16.0 pypi_0 pypi
sqlite 3.45.3 h5eee18b_0
tk 8.6.14 h39e8969_0
tzdata 2024b h04d1e81_0
urllib3 2.2.3 py313h06a4308_0
wheel 0.44.0 py313h06a4308_0
xz 5.4.6 h5eee18b_1
zlib 1.2.13 h5eee18b_1
(ansible) aadmin@uvm0:~$ conda deactivate
(base) aadmin@uvm0:~$ conda deactivate