How to Install Scrapy on PyCharm?

Scrapy is an open-source Python library to extract data from websites, i.e., web scraping. Problem Formulation: Given a PyCharm project. How to install the Scrapy library in your project within a virtual environment or globally? Here’s a solution that always works: Open File > Settings > Project from the PyCharm menu. Select your current project. … Read more

Python Virtual Environment “venv” Cheat Sheet

Virtual Environments in Python How does the tool venv work? The venv module is the new default way of creating basic virtual environments for new Python versions > 3.3. If you dive into virtual environments, you’ll quickly realize that there are a multitude of tools out there such as “virtualenv“, “pyenv“, and many more. My … Read more

How to Install spaCy on PyCharm?

spaCy is an open-source Python library for advanced Natural Language Processing (NLP). Problem Formulation: Given a PyCharm project. How to install the spaCy library in your project within a virtual environment or globally? Here’s a solution that always works: Open File > Settings > Project from the PyCharm menu. Select your current project. Click the … Read more

How to Install SciPy on PyCharm?

SciPy is an open-source Python library for math, science, and engineering. It includes the wildly popular NumPy and Matplotlib libraries. Problem Formulation: Given a PyCharm project. How to install the SciPy library in your project within a virtual environment or globally? Here’s a solution that always works: Open File > Settings > Project from the … Read more

How to Install Spark on PyCharm?

PySpark is a Python library providing an API for Apache Spark. The Spark framework is a distributed engine for set computations on large-scale data facilitating distributed data analytics and machine learning. You can learn more about the career opportunities of Spark developers in my detailed blog guide: Apache Spark — Income and Opportunity Problem Formulation: … Read more

How to Install PyQt5 on PyCharm?

PyQt5 is a Python library for Qt version 5. Qt is a collection of C++ libraries for accessing modern desktop and mobile systems such as location and positioning services, multimedia, NFC and Bluetooth connectivity, web browser, and UI. Problem Formulation: Given a PyCharm project. How to install the PyQt5 library in your project within a … Read more

[Top 5] The Best Python Freelancer Platforms

In this article, you’ll learn about the top 5 freelancer pages that help you start earning money as a Python freelancer. If you want to learn about all, not only the best, freelancing platform ordered by Alexa page rank, check out our full guide on the Finxter blog. Becoming a Python freelancer is extremely attractive … Read more

How Do I List All Files of a Directory in Python?

Problem: Given a directory. How to list all the files in the directory using Python? Video Solution  What is a directory?A directory is a unit organizational structure used to store a collection of programs and subdirectories. Sometimes as a coder you have to deal with the countless number files within different directories. Hence, it becomes … Read more

Creating Virtual Environments in Python with Conda

TLDR; You can create a virtual environment in Python conda using those four steps: 1. Check if Conda is Installed 2. Create Virtual Environment 3. Activate Your Virtual Environment 4. Install Packages in Virtual Environment 5. Deactivate Virtual Environment In this article, you’ll learn about an important concept in Python: virtual environments. Why Virtual Environments? … Read more

How to Install Pillow/PIL on PyCharm?

The Python Imaging Library (Pillow) adds powerful image processing capabilities to your Python project. Problem Formulation: Given a PyCharm project. How to install the Pillow library in your project within a virtual environment or globally? Here’s a solution that always works: Open File > Settings > Project from the PyCharm menu. Select your current project. … Read more

How to Install PyTorch on PyCharm?

PyTorch is a machine learning framework that facilitates development of production-ready machine learning apps. Problem Formulation: Given a PyCharm project. How to install the PyTorch library in your project within a virtual environment or globally? Here’s a solution that always works: Here’s the installation process as a short animated video—it works analogously for PyTorch, just … Read more

How to Install Matplotlib on PyCharm?

Matplotlib is the most important Python library for data visualization and plotting. Every data scientist, machine learning engineer, and financial analyst working with Python needs it! Problem Formulation: Given a PyCharm project. How to install the Matplotlib library in your project within a virtual environment or globally? Here’s a solution that always works: Open File … Read more