<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Faith Karuga</title>
    <description>The latest articles on DEV Community by Faith Karuga (@faith_karuga).</description>
    <link>https://dev.to/faith_karuga</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1524684%2F23bbd053-88f9-41ac-89b9-72de851a836b.png</url>
      <title>DEV Community: Faith Karuga</title>
      <link>https://dev.to/faith_karuga</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/faith_karuga"/>
    <language>en</language>
    <item>
      <title>HOW TO SET UP A VIRTUAL ENVIRONMENT USING ANACONDA/CONDA</title>
      <dc:creator>Faith Karuga</dc:creator>
      <pubDate>Mon, 27 May 2024 08:23:33 +0000</pubDate>
      <link>https://dev.to/faith_karuga/how-to-set-up-a-virtual-environment-using-anacondaconda-22l4</link>
      <guid>https://dev.to/faith_karuga/how-to-set-up-a-virtual-environment-using-anacondaconda-22l4</guid>
      <description>&lt;p&gt;&lt;strong&gt;HOW TO SETUP VIRTUAL ENVIRONMENT USING CONDA /ANACONDA&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TABLE OF CONTENT&lt;/strong&gt; &lt;br&gt;
    - Introduction to Anaconda and Virtual Environments&lt;br&gt;
    - Installing Anaconda&lt;br&gt;
    - Creating a Virtual Environment&lt;br&gt;
    - Activating the Virtual Environment&lt;br&gt;
    - Deactivating and Deleting the Environment&lt;br&gt;
    - Installing Additional Packages&lt;br&gt;
&lt;strong&gt;Introduction to Anaconda and Virtual Environments&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Anaconda is a distribution of the Python and R programming languages for scientific computing, that aims to simplify package management and deployment. The distribution includes data-science packages suitable for Windows, Linux, and macOS.&lt;br&gt;
A virtual environment is a networked application that allows a user to interact with both the computing environment and the work of other users.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Installing Anaconda&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Download Anaconda&lt;/li&gt;
&lt;li&gt;Visit the Anaconda website and download the Anaconda distribution that matches your operating system (Windows, macOS, or Linux). Choose between Anaconda Individual Edition or Anaconda Team Edition based on your needs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716382445879_Screenshot%2B45.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716382445879_Screenshot%2B45.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Run the Installer&lt;/strong&gt;&lt;br&gt;
Once the download is complete, run the installer by double-clicking on the downloaded file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716383034986_Screenshot%2B47.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716383034986_Screenshot%2B47.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Follow the Installation Wizard&lt;/strong&gt;&lt;br&gt;
The installation wizard will guide you through the installation process.27 u&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716383087969_Screenshot%2B46.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716383087969_Screenshot%2B46.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4.Complete the Installation&lt;/strong&gt;&lt;br&gt;
   Once you've completed theuu installation settings, proceed with the installation process. It may take a few minutes for Anaconda to install all the necessary components.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.Verify the Installation&lt;/strong&gt;&lt;br&gt;
After the installation is complete, you can verify that Anaconda was installed correctly by opening a terminal or command prompt and running the following command:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716437089272_Screenshot%2Bfrom%2B2024-05-22%2B15-29-14.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716437089272_Screenshot%2Bfrom%2B2024-05-22%2B15-29-14.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This command should display the version of Conda that was installed with Anaconda.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Update Anaconda (Optional)&lt;br&gt;
It's a good idea to update Anaconda after installation to ensure you have the latest packages and bug fixes. You can update Anaconda by running:&lt;/p&gt;

&lt;p&gt;conda update --all&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;7. Start Using Anaconda&lt;/strong&gt;&lt;br&gt;
Once Anaconda is installed, you can start using it to create environments, install packages, and manage your Python projects effectively.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install vlc //for our case we created vlc music player
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;1.Creating a Virtual Environment&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bash Anaconda3-2024.3.sh // activate it by 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;2. Run the Installer&lt;/strong&gt;&lt;br&gt;
Once the download is complete, run the installer by double-clicking on the downloaded file. or &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716403850786_Screenshot%2Bfrom%2B2024-05-22%2B15-27-14.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716403850786_Screenshot%2Bfrom%2B2024-05-22%2B15-27-14.png"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716403826529_Screenshot%2Bfrom%2B2024-05-22%2B15-31-25.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716403826529_Screenshot%2Bfrom%2B2024-05-22%2B15-31-25.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Follow the Installation Wizard&lt;/strong&gt;&lt;br&gt;
The installation wizard will guide you through the installation process. You will be prompted to review and accept the license agreement, choose the installation location (default is recommended), and select whether to add Anaconda to your system PATH environment variable (recommended). It should display this on Linux.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716437391157_Screenshot%2Bfrom%2B2024-05-22%2B15-28-59.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716437391157_Screenshot%2Bfrom%2B2024-05-22%2B15-28-59.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;** 4. Complete the installation**&lt;br&gt;&lt;br&gt;
 Once you've completed the installation settings, proceed with the installation process. It may take a few minutes for Anaconda to install all the necessary components. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Verify the Installation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After the installation is complete, you can verify that Anaconda was installed correctly by opening a terminal prompt and running the following command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda --version
anaconda --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This command should display the version of Conda that was installed with Anaconda. &lt;br&gt;
**&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Update Anaconda (Optional)**&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It's a good idea to update Anaconda after installation to ensure you have the latest packages and bug fixes. You can update Anaconda by running:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda update --all
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;7. Start Using Anaconda&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once Anaconda is installed, you can start using it to create environments, install packages, and manage your Python projects effectively.&lt;br&gt;
That's it! You have successfully installed Anaconda on your system. Now you can start using it to manage your Python environmentsand packages.&lt;br&gt;
Creating a Virtual Environment&lt;br&gt;
Now your command prompt will display the active environment’s generic name, which is the name of the environment's root folder:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ cd anaconda
$ conda activate GroupH
(groupH) dennis@dennis-HP-Laptop-15-bs0xx:~$ cd anaconda
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Updating an environment&lt;/p&gt;

&lt;p&gt;Run the following commands&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- conda list
-conda --version
-conda update conda
-conda update anaconda
- conda update anaconda-navigator
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Now Lets Create  A virtual Environment &lt;br&gt;
Use the terminal for the following steps:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. To create an environment:&lt;/strong&gt;&lt;br&gt;
    conda create --name GroupH&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. When conda asks you to proceed, type &lt;code&gt;y&lt;/code&gt;:&lt;/strong&gt;&lt;br&gt;
    proceed ([y]/n)?&lt;/p&gt;

&lt;p&gt;This creates the my env environment in &lt;code&gt;/envs/&lt;/code&gt;. No packages will be installed in this environment.&lt;br&gt;
&lt;strong&gt;3.To create an environment with a specific version of Python:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda create -n GroupH python=3.9
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;4.To create an environment with a specific package:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda create -n GroupH scipy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;or:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda create -n GroupH python
conda install -n GroupH scipy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;5.To create an environment with a specific version of Python and multiple packages:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda create -n GroupH python=3.9 scipy=0.17.3 astroid babel
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Specifying a location for an environment&lt;/p&gt;

&lt;p&gt;:You can control where a conda environment lives by providing a path to a target directory when creating the environment. For example, the following command will create a new environment in a subdirectory of the current working directory called &lt;code&gt;envs&lt;/code&gt;:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda create --prefix ./envs jupyterlab=3.2 matplotlib=3.5 numpy=1.21
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;You then activate an environment created with a prefix using the same command used to activate environments created by name:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda activate ./envs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Specifying a path to a subdirectory of your project directory when creating an environment has the following benefits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It makes it easy to tell if your project uses an isolated environment by including the environment as a subdirectory.&lt;/li&gt;
&lt;li&gt;It makes your project more self-contained as everything, including the required software, is contained in a single project directory. Activate Environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;To activate a Conda virtual environment, use the following command:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda activate groupH
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This will switch your current terminal session to use the specified Conda environment. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deactivating Environment.&lt;/strong&gt;&lt;br&gt;
To deactivate a Conda virtual environment, use the following command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda deactivate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This command will switch your terminal session back to the base environment, effectively deactivating the current virtual environment. You can then switch to another environment or continue using the base environment for your work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Building identical conda environments&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can use explicit specification files to build an identical conda environment on the same operating system platform, either on the same machine or on a different machine.&lt;br&gt;
Use the terminal for the following steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Run &lt;code&gt;conda list --explicit&lt;/code&gt; to produce a spec list such as:
@EXPLICIT
&lt;a href="https://repo.anaconda.com/pkgs/free/osx-64/numpy-1.11.1-py35_0.tar.bz2" rel="noopener noreferrer"&gt;https://repo.anaconda.com/pkgs/free/osx-64/numpy-1.11.1-py35_0.tar.bz2&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716555970943_Screenshot%2B50.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716555970943_Screenshot%2B50.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://repo.anaconda.com/pkgs/free/osx-64/pip-8.1.2-py35_0.tar.bz2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716555980972_Screenshot%2B51.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716555980972_Screenshot%2B51.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://repo.anaconda.com/pkgs/free/osx-64/python-3.5.2-0.tar.bz2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716556139228_Screenshot%2B52.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_44C0AF156A871C1E8A1D9B1FD6FB9D782B32B6CA6AECDAA50CC7FF6996BD1ACE_1716556139228_Screenshot%2B52.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://repo.anaconda.com/pkgs/free/osx-64/sqlite-3.13.0-0.tar.bz2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="/static/img/pixel.gif" class="article-body-image-wrapper"&gt;&lt;img src="/static/img/pixel.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To create this spec list as a file in the current working directory, run:
conda list --explicit &amp;gt; spec-file.txt&lt;/li&gt;
&lt;li&gt;Note&lt;/li&gt;
&lt;li&gt;You can use &lt;code&gt;spec-file.txt&lt;/code&gt; as the filename or replace it with a filename of your choice.&lt;/li&gt;
&lt;li&gt;An explicit spec file is not usually cross platform, and therefore has a comment at the top such as &lt;code&gt;# platform: osx-64&lt;/code&gt; showing the platform where it was created. This platform is the one where this spec file is known to work. On other platforms, the packages specified might not be available or dependencies might be missing for some of the key packages already in the spec.&lt;/li&gt;
&lt;li&gt;To use the spec file to create an identical environment on the same machine or another machine:
conda create --name myenv --file spec-file.txt&lt;/li&gt;
&lt;li&gt;To use the spec file to install its listed packages into an existing environment:
conda install --name myenv --file spec-file.txt&lt;/li&gt;
&lt;li&gt;Conda does not check architecture or dependencies when installing from a spec file. To ensure that the packages work correctly, make sure that the file was created from a working environment, and use it on the same architecture, operating system, and platform, such as linux-64 or osx-64.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Creating a virtual environment with Anaconda is a breeze.&lt;br&gt;
Here's how you can do it:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Open Anaconda Prompt or Terminal&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Windows: You can find Anaconda Prompt in the Start menu.&lt;/li&gt;
&lt;li&gt;macOS/Linux: Open a Terminal.&lt;/li&gt;
&lt;li&gt;Create a New Virtual Environment&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To create a new virtual environment, you can use the &lt;code&gt;conda create&lt;/code&gt; command. For example, to create an environment named groupH:&lt;/p&gt;

&lt;p&gt;conda create --name groupH&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also specify a particular Python version for your environment:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda create --name groupH python=3.9
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;3. Activate the Virtual Environment:&lt;/strong&gt;&lt;br&gt;
Once the environment is created, you need to activate it. On Windows, use:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda activate groupH
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;On macOS/Linux:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;source activate groupH
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;4. Deactivate the Virtual Environment&lt;/strong&gt;&lt;br&gt;
To deactivate the environment, simply use:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda deactivate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;source deactivate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;5. List Environments&lt;/strong&gt;&lt;br&gt;
To see a list of all your created environments, use:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda env list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;6. Remove an Environment&lt;/strong&gt;&lt;br&gt;
If you want to remove an environment, you can do so with:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda remove --name groupH --all
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;After successful installation of packages -your dashboard should look like this :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716440060550_dash.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716440060550_dash.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Nagivate to Enviroments and Click GroupH  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716440664113_conta%2BGroupH%2BLIST.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716440664113_conta%2BGroupH%2BLIST.png" alt="Launch Visual studio or any other text Editor"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install VLC and Python Libraries&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install Python Librarie27 perjo .

&lt;ul&gt;
&lt;li&gt;You might need libraries like &lt;code&gt;python-vlc&lt;/code&gt; for interfacing with VLC from Python.&lt;/li&gt;
&lt;li&gt;Install the required libraries in your environment:
conda install vlc &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716441024244_image.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fpaper-attachments.dropboxusercontent.com%2Fs_B463B3373C5E799C73D48FBD4A40C0B4CAE0C3A08791104C0683EF8265AD4B75_1716441024244_image.png" alt="simple code vlc music player"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Storage is Local Drive (for this case study )&lt;br&gt;
**&lt;br&gt;
References **&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.anaconda.com/download/success" rel="noopener noreferrer"&gt;https://www.anaconda.com/download/success&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.anaconda.com/index.html" rel="noopener noreferrer"&gt;https://docs.anaconda.com/index.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.anaconda.com/download" rel="noopener noreferrer"&gt;https://www.anaconda.com/download&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.digitalocean.com/community/tutorials/how-to-install-the-anaconda-python-distribution-on-ubuntu-20-04" rel="noopener noreferrer"&gt;https://www.digitalocean.com/community/tutorials/how-to-install-the-anaconda-python-distribution-on-ubuntu-20-04&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>TECHNOLOGY IN ARTS AND MUSIC</title>
      <dc:creator>Faith Karuga</dc:creator>
      <pubDate>Mon, 27 May 2024 07:40:22 +0000</pubDate>
      <link>https://dev.to/faith_karuga/technology-in-arts-and-music-3086</link>
      <guid>https://dev.to/faith_karuga/technology-in-arts-and-music-3086</guid>
      <description>&lt;p&gt;&lt;strong&gt;TABLE OF CONTENTS&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Introduction to technology in arts and music

&lt;ol&gt;
&lt;li&gt;The impacts of technology on music
Positive
Negative&lt;/li&gt;
&lt;li&gt;The Impacts of Technology on Arts
Positive
Negative&lt;/li&gt;
&lt;li&gt;Conclusion.&lt;/li&gt;
&lt;/ol&gt;


&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;INTRODUCTION TO TECHNOLOGY IN ARTS AND MUSIC&lt;/strong&gt;&lt;br&gt;
Music and arts are both used since ancient times up to date as a way of entertainment and as a way of also giving out ideas and information.&lt;br&gt;
On the digital world Technology has really captured music and arts. If we speak about music there is online platforms that now give out classes if one is interested in pursuing music as a careers. &lt;br&gt;
Arts now is getting even much wider since now children are even engaging in such, The CBC as a good example it nurtures the kids who have a talent in either arts and music.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;THE IMPACT OF TECHNOLOGY ON MUSIC&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Positive:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Global Reach&lt;/strong&gt;: Nowadays, musicians don’t only rely on conventional record labels to release their work. Independent artists are able to disseminate and market their work worldwide through digital media, examples(social media platforms):youtube, TikTok, Tubidy ,Spotify and Boomplay. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frgb0y5jgo2y8zn784his.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frgb0y5jgo2y8zn784his.jpeg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Accessibility :&lt;/strong&gt; Introduction of mobile data and availability of internet has made it easier to access to access any music of your choice from the comfort of your mobile phone and at a lower cost.&lt;br&gt;
&lt;strong&gt;- Real-time Analytics :&lt;/strong&gt; Musicians have access to data and analytics about the performance of their work in real-time. They may make data-driven decisions, improve their marketing strategy, and gain a deeper understanding of their audience with the use of this information, examples through Youtube , views, comments and subscribers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hG2_f-t7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://paper-attachments.dropboxusercontent.com/s_00344D4E49DD2FB2646A65A00CD1C7E74D40652196110FB8096BD0598DC9CBFF_1716792980418_image2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hG2_f-t7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://paper-attachments.dropboxusercontent.com/s_00344D4E49DD2FB2646A65A00CD1C7E74D40652196110FB8096BD0598DC9CBFF_1716792980418_image2.png" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;-Production:&lt;/strong&gt;Music production is a  difficult task to do until the rise of technology. Now the invention of software such as Ableton and Avid Pro Tools have made it easier to produce better quality&lt;br&gt;
&lt;strong&gt;- Audio editing with technology:&lt;/strong&gt; Artificial intelligence (AI) is enabling software tools to help producers and artists with chores like mixing, mastering, and auto-tuning. These instruments can improve audio quality and expedite the creative process.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BeGTy-6O--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://paper-attachments.dropboxusercontent.com/s_00344D4E49DD2FB2646A65A00CD1C7E74D40652196110FB8096BD0598DC9CBFF_1716793180999_AI-in-data-analytics-banners-01-1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BeGTy-6O--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://paper-attachments.dropboxusercontent.com/s_00344D4E49DD2FB2646A65A00CD1C7E74D40652196110FB8096BD0598DC9CBFF_1716793180999_AI-in-data-analytics-banners-01-1.png" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Distribution:&lt;/strong&gt; Introduction of software such as Amuse, Soundrop and Routenote have made it easier for artists to distribute their music to fans.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Money Streams and Monetization :&lt;/strong&gt; Digital platforms provide musicians with a number of money sources, such as product(Music) sales, digital downloads .Artists are able to support their professions more successfully through this approach.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Rp3QuYje--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://paper-attachments.dropboxusercontent.com/s_00344D4E49DD2FB2646A65A00CD1C7E74D40652196110FB8096BD0598DC9CBFF_1716794966582_13407.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rp3QuYje--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://paper-attachments.dropboxusercontent.com/s_00344D4E49DD2FB2646A65A00CD1C7E74D40652196110FB8096BD0598DC9CBFF_1716794966582_13407.jpeg" width="800" height="570"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Negative:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Technology takeover:&lt;/strong&gt; Over-reliance on digital tools in music creation can make music sound artificial and downplay the importance of actual musical skill.&lt;br&gt;
&lt;strong&gt;- Unrealness in flaw of music:&lt;/strong&gt; Editing software can create an unrealistic expectation of flawless, polished music. This pressure can take away the raw energy and imperfections that make music interesting.&lt;br&gt;
&lt;strong&gt;- Live show confusions:&lt;/strong&gt; Technical problems with sound systems or digital tools can disrupt live shows and kill the vibe.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Impacts of Technology on Arts&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Positive :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Partnership:&lt;/strong&gt; Technology facilitates collective effort across distances. Artists can work together in real-time through digital platforms, combining different forms of art. This has led to rise of collaborative projects and collective art.&lt;br&gt;
&lt;strong&gt;- Accessibility:&lt;/strong&gt; Technology broadens access to art by making tools and resources more accessible. Online tutorials, software, and digital platforms lower the barriers to entry for aspiring artists, fostering a more inclusive artistic community. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;-  Preservation:&lt;/strong&gt; Digital reproduction technologies help preserve works of art and make them accessible to wider audiences. High-resolution imaging and 3D scanning can create digital copies of physical creations, ensuring their long-lastingness and facilitating research.&lt;br&gt;
&lt;strong&gt;- Creation:&lt;/strong&gt;Advancement in technology has completely changed the way in which artists make their work. Artists can now use digital creating tools to perform their work such as creating, editing etc. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;-  Distribution&lt;/strong&gt;&lt;br&gt;
Artists can now display their work online using social media platforms or websites and clients or customers can locate and trace them across the world.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Negative:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;-  Overreliance on technology:&lt;/strong&gt; Too much dependency on technology makes artists vulnerable to technical failures that lead to data loss , cyber threats and malware. This leads the artists to constantly update their data and skills to enhance relevance over time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Illegitimacy-&lt;/strong&gt; In this case the artists’ content slowly loses its originality in terms of the artist’s voice and personal expression thus reducing the authenticity of the artwork.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Copyright and piracy issues -&lt;/p&gt;

&lt;p&gt;Piracy is the unauthorized sharing of someone’s work without their consent.&lt;br&gt;
It is hard for artists to make their work private and safe due to piracy.&lt;br&gt;
This makes them loose money hence bringing more harm to them than benefits. Artists displaying their work all over the socials makes their work be accessible to plagiarism. Artists find a hard time to protect their property rights.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;- Non-physical interactions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the digital online forum some artworks such as drawing might seem virtual or downloaded instead of being drawn or designed.&lt;br&gt;
Some works like paintings are cool and real when seen eye on eye.&lt;br&gt;
Technology has digitalized art to a point that it feels not real.&lt;br&gt;
The art before technology was improved art and was meaningful in that it could be touched and so.&lt;br&gt;
Also the relationship between people was grown unlike now.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Cultural shift -&lt;/strong&gt; Technology has changed the culture for example instead of people going to concerts in person or to visit museums  they prefer viewing all these online in social media platforms thus affecting the museums or the places  that display art work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
In conclusion, technology has really brought a big impact on music and art.&lt;br&gt;
Musicians are nowadays using improved tools to record their music making their music appealing to a large audience.&lt;br&gt;
Whereas, in art, technology has changed a lot.&lt;br&gt;
Artists make their work online and are able to share to people across the world.&lt;br&gt;
People from different locations are able to stream in apps like showmax and watch their interested artists perform.&lt;/p&gt;

&lt;p&gt;Technology provides a good platform for people to be creative and substantive.&lt;br&gt;
As far as it is concerned, technology should be used carefully so as to be productive.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
