Skip to content

Error installing, missing distutils #360

@EmmanuelMess

Description

@EmmanuelMess
python3 -m pip install devsimpy
Collecting devsimpy
  Using cached devsimpy-5.1.1-py3-none-any.whl.metadata (8.6 kB)
Collecting wxpython>=4.2.2 (from devsimpy)
  Using cached wxPython-4.2.3.tar.gz (58.9 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting psutil (from devsimpy)
  Using cached psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (22 kB)
Requirement already satisfied: pyYAML in /usr/lib/python3/dist-packages (from devsimpy) (5.4.1)
Collecting PyPubSub (from devsimpy)
  Using cached Pypubsub-4.0.3-py3-none-any.whl.metadata (2.2 kB)
Collecting ruamel.yaml (from devsimpy)
  Using cached ruamel.yaml-0.18.14-py3-none-any.whl.metadata (24 kB)
Requirement already satisfied: matplotlib in /usr/lib/python3/dist-packages (from devsimpy) (3.5.1)
Collecting chart_studio (from devsimpy)
  Using cached chart_studio-1.1.0-py3-none-any.whl.metadata (1.3 kB)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from devsimpy) (59.6.0)
Collecting pusher (from devsimpy)
  Using cached pusher-3.3.3-py2.py3-none-any.whl.metadata (1.0 kB)
Collecting ollama (from devsimpy)
  Using cached ollama-0.5.1-py3-none-any.whl.metadata (4.3 kB)
Collecting openai (from devsimpy)
  Using cached openai-1.93.0-py3-none-any.whl.metadata (29 kB)
Collecting plotly (from devsimpy)
  Using cached plotly-6.2.0-py3-none-any.whl.metadata (8.5 kB)
Collecting pyzo (from devsimpy)
  Using cached pyzo-4.19.0-py3-none-any.whl.metadata (4.3 kB)
Collecting pyro4 (from devsimpy)
  Using cached Pyro4-4.82-py2.py3-none-any.whl.metadata (2.2 kB)
Collecting whichpy (from devsimpy)
  Using cached whichpy-0.1.tar.gz (1.4 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      ERROR: Can not execute `setup.py` since setuptools failed to import in the build environment with exception:
      Traceback (most recent call last):
        File "<pip-setuptools-caller>", line 14, in <module>
        File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 10, in <module>
          import distutils.core
      ModuleNotFoundError: No module named 'distutils'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions