Ben Chuanlong Du's Blog

It is never too late to learn.

Manage Your Python Project Using Poetry

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. Python Poetry is current the best project management tool for Python!

  2. Python Poetry supports Python package dependencies on GitHub. For example, if a Python package depends on https …

Maven Dependencies

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Properties

<properties>
  <scala.version>2.11.11</scala.version>
</properties>

Dependencies

Unit Test

<dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.11</version>
    <scope>test</scope>
</dependency>

specs

<dependency>
    <groupId …

A JNI Error Has Occured

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Error Messages

Error: A JNI error has occurred, please check your installation and try again

Caused by: java.lang.ClassNotFoundException: org.apache.spark.sql.SparkSession

Cause

Some dependencies (Spark in this …