Skip to content

Install tox with pip --user to avoid permission issues #116

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

Merged
merged 1 commit into from
Dec 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ commands:
circleci step halt
fi
jobs:
test:
build:
docker:
- image: circleci/python:3.6.1

Expand All @@ -30,7 +30,7 @@ jobs:

- run:
name: Install tox
command: pip install tox
command: sudo pip install tox
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pip install tox --user won't do it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swilly22 I tried it, 4 ways:

  • pip install tox - not working (not permission to install)
  • pip install --user tox - not working (tox command not found on next command)
  • sudo pip install --user tox - not working tox command not found
  • sudo pip install tox - is only working option

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be pip install tox --user


- run:
name: Test package build
Expand Down Expand Up @@ -62,7 +62,7 @@ workflows:
version: 2
commit:
jobs:
- test
- build
nightly:
triggers:
- schedule:
Expand All @@ -72,4 +72,4 @@ workflows:
only:
- master
jobs:
- test
- build