Skip to content

Conversation

@turboOrange
Copy link

@turboOrange turboOrange commented Apr 30, 2025

Description of the problem

Trying to set up this code for development for the first time, I followed the instructions without thinking too much, and it didn't work. I got this message when running maturin develop:

💥 maturin failed Caused by: Couldn't find a virtualenv or conda environment, but you need one to use this command. For maturin to find your virtualenv you need to either set VIRTUAL_ENV (through activate), set CONDA_PREFIX (through conda activate) or have a virtualenv called .venv in the current or any parent folder. See https://virtualenv.pypa.io/en/latest/index.html on how to use virtualenv or usematurin buildandpip install <path/to/wheel>instead.

Solution

What was missing were the commands related to setting up the virtual environment.

@turboOrange turboOrange deleted the add_venv_to_contributing_doc branch April 30, 2025 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant