faucetsdn / ryu

Ryu component-based software defined networking framework
https://ryu-sdn.org
Apache License 2.0
1.5k stars 1.16k forks source link

When attempting to run `ryu-manager --version` after installing Ryu in a virtual environment, the following ImportError occurs: ImportError: cannot #185

Open engrabdinasir opened 8 months ago

engrabdinasir commented 8 months ago

Ryu Bug Report

Issue Description:

When attempting to run ryu-manager --version after installing Ryu in a virtual environment, the following ImportError occurs:

ImportError: cannot

import name 'ALREADY_HANDLED' from 'eventlet.wsgi' (/path/to/eventlet/wsgi.py)


### Steps to Reproduce:

1. Create a virtual environment:

   python3 -m venv my_ryu_env

2. Activate the virtual environment:

   source my_ryu_env/bin/activate

3. Install Ryu and eventlet:

      pip install ryu eventlet==0.30.2

4. Attempt to run `ryu-manager --version`:

   ```bash
   ryu-manager --version

Expected Behavior:

The ryu-manager --version command should display the Ryu version without any ImportError.

Actual Behavior:

The ImportError occurs, preventing the successful execution of the command.

Environment:

Dependencies:

Additional Information:

Attempts to Resolve:

  1. Tried different versions of eventlet (0.33.3 and 0.30.2).
  2. Checked community forums for similar issues (provide links).

Reproducibility:

The issue is consistently reproducible.

badcodebuilder commented 8 months ago

This error has been mentioned in #166