ni / ni/nisystemlink-clients-python

PyPI does not automatically install setuptools - leads to import errors of some SL modules

Open
#77 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10
Forks
32
Avg merge
12h 42m
Merged PRs (30d)
2

Description

fresh installation of Python (from python.org)

using pip to install nisystemlink-clients

pip installl nisystemlinkclients

after that, opening python
tag example works

from nisystemlink.clients.tag import DataType, TagData, TagManager, TagValueReader

example for fileclient and dataframe

from nisystemlink.clients.dataframe import DataFrameClient
and
from nisystemlink.clients.file import FileClient
both throw error:
ModuleNotFoundError: No module named 'pkg_resources'

error is gone after installing setuptools

pip install setuptools

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the package metadata used for the PyPI installation and reproduce the imports in a clean Python environment without setuptools preinstalled. Verify that installing the package brings in the dependency needed by the fileclient and dataframe imports, then confirm both imports work after a fresh installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.