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

No module named tox #43

Closed
chrisk314 opened this issue Nov 10, 2021 · 2 comments
Closed

No module named tox #43

chrisk314 opened this issue Nov 10, 2021 · 2 comments
Labels
invalid This doesn't seem right

Comments

@chrisk314
Copy link

When running tox with the --current-env argument I'm getting an error that the tox module can't be found.

$ source .venv-dev/bin/activate
$ which tox
/common/parent/path/.venv-dev/bin/tox
$ tox --current-env -e lint
/common/parent/path/.tox/.tox/bin/python: No module named tox
@hroncok
Copy link
Member

hroncok commented Nov 10, 2021

I'm gonna need some more information to be able to help you.

  • How did you create .venv-dev?
  • How did you install tox?
  • How did you install tox-current-env?
  • How does your tox config look like?

hroncok added a commit that referenced this issue Nov 10, 2021
This plugin is designed to escape virtual environments.
Even when tox and tox-current-env are installed in a virtual environment,
the tests are executed in the non-virtualenv Python.

Possibly related to #43
hroncok added a commit that referenced this issue Nov 29, 2021
This plugin is designed to escape virtual environments.
Even when tox and tox-current-env are installed in a virtual environment,
the tests are executed in the non-virtualenv Python.

Possibly related to #43
@hroncok hroncok added the invalid This doesn't seem right label Dec 13, 2021
@hroncok
Copy link
Member

hroncok commented Dec 13, 2021

Let me know if you have the answers and I'll gladly reopen this.

@hroncok hroncok closed this as completed Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants