Skip to content

Error installing pyswmm on macOS Ventura" #112

Closed
@ddspot

Description

@ddspot

Describe the bug
I tried installing pyswmm on a macOS venutura. The following error was raised: subprocess-exited-with-error and metadata-generation-failed. Here is the full error log:

× python setup.py egg_info did not run successfully.

exit code: 1
╰─> [8 lines of output]
running egg_info
creating /private/var/folders/ft/8qzbkr994y9gmhkqb5l97lsw0000gq/T/pip-pip-egg-info-h21wwx37/swmm_toolkit.egg-info
writing /private/var/folders/ft/8qzbkr994y9gmhkqb5l97lsw0000gq/T/pip-pip-egg-info-h21wwx37/swmm_toolkit.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/ft/8qzbkr994y9gmhkqb5l97lsw0000gq/T/pip-pip-egg-info-h21wwx37/swmm_toolkit.egg-info/dependency_links.txt
writing requirements to /private/var/folders/ft/8qzbkr994y9gmhkqb5l97lsw0000gq/T/pip-pip-egg-info-h21wwx37/swmm_toolkit.egg-info/requires.txt
writing top-level names to /private/var/folders/ft/8qzbkr994y9gmhkqb5l97lsw0000gq/T/pip-pip-egg-info-h21wwx37/swmm_toolkit.egg-info/top_level.txt
writing manifest file '/private/var/folders/ft/8qzbkr994y9gmhkqb5l97lsw0000gq/T/pip-pip-egg-info-h21wwx37/swmm_toolkit.egg-info/SOURCES.txt
error: package directory 'lib' does not exist
[end of output]

To Reproduce
Notes:

  • I tried to install pyswmm in a virtual environment using pip install pyswwm.
  • Also tried using pip install git+https://github.com/OpenWaterAnalytics/pyswmm.git
  • Both produced the same error as stated above

Desktop (please complete the following information):

  • OS: [ MacOS Ventura]
  • Python Version [e.g. Python 3.10.11]
  • PySWMM Version [1.4.0]

Please let me know how to go about getting this to work. Many thanks in advance.

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