Skip to content

Installation in development mode doesn't work if virtual environment is created with python venv #2

@mdiamantaki

Description

@mdiamantaki

Following instructions and creating the virtual environment with python -m venv and run:

# Install in development mode
pip install -e .

I get the error:

ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /Users/maria/Documents/github/ethopy_analysis
(A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)

If virtual environment is created with conda, installation is fine.

If I do package installation pip install ethopy-analysis, also fine (both for python venv and conda).

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