Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade docs import non-existent modules #2294

Open
chrisspen opened this issue Jan 17, 2024 · 0 comments
Open

Upgrade docs import non-existent modules #2294

chrisspen opened this issue Jan 17, 2024 · 0 comments

Comments

@chrisspen
Copy link

I'm trying to upgrade an application using Fabric 1 to Fabric 2, so that both coexist.

The docs state that both the old fabric module and fabric2 module can coexist, but this doesn't seem to be true.

Here's an MRE:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
$ python3.12 -m venv .env
$ . .env/bin/activate
(.env) $ pip install fabric fabric2
(.env) $ python -c "from fabric.api import env, run"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'fabric.api'

If that doc page were correct, I shouldn't be getting this error.

This page goes into a little detail about how to install both packages, but not from PyPI.

Could you please clarify how to install both versions without conflicts?

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

No branches or pull requests

1 participant