Skip to content

setuptools module needed #75

Closed
Closed
@wpyoga

Description

@wpyoga

When trying to install this module from source, we need the setuptools module.

This is what I get:

(venv) william@x99:~/python-onvif-zeep-async$ python setup.py install
Traceback (most recent call last):
  File "/home/william/python-onvif-zeep-async/setup.py", line 5, in <module>
    from setuptools import find_packages, setup
ModuleNotFoundError: No module named 'setuptools'

I have done a little googling and found two noteworthy discussions online:

From the above discussion, it seems that setuptools should have been installed if we have pip. However, it is not the case in my situation, both on Ubuntu 24.04.1, and on Arch Linux (fully updated).

This is on Ubuntu 24.04.1:

(venv) william@x99:~/python-onvif-zeep-async$ python3 setup.py install
Traceback (most recent call last):
  File "/home/william/python-onvif-zeep-async/setup.py", line 5, in <module>
    from setuptools import find_packages, setup
ModuleNotFoundError: No module named 'setuptools'

This is on Arch Linux:

(venv) [william@t480s python-onvif-zeep-async]$ python setup.py install
Traceback (most recent call last):
  File "/home/william/python-onvif-zeep-async/setup.py", line 5, in <module>
    from setuptools import find_packages, setup
ModuleNotFoundError: No module named 'setuptools'

After installing setuptools inside the virtual environment, I was able to install the package (inside the virtual environment).

So I'm thinking setuptools should be included in either requirements.txt or requirements_dev.txt... right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions