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

pip install does not work as documented #230

Open
patrickelectric opened this issue Nov 7, 2024 · 4 comments
Open

pip install does not work as documented #230

patrickelectric opened this issue Nov 7, 2024 · 4 comments

Comments

@patrickelectric
Copy link

ubuntu@ip:~/briefer$ pip install briefer --break-system-packages --user
Requirement already satisfied: briefer in /home/ubuntu/.local/lib/python3.12/site-packages (0.0.14)
Requirement already satisfied: docker in /home/ubuntu/.local/lib/python3.12/site-packages (from briefer) (7.1.0)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from briefer) (2.31.0)
Requirement already satisfied: urllib3>=1.26.0 in /usr/lib/python3/dist-packages (from docker->briefer) (2.0.7)
ubuntu@ip:~/briefer$ python3 -m briefer
/usr/bin/python3: No module named briefer.__main__; 'briefer' is a package and cannot be directly executed
ubuntu@ip:~/briefer$ briefer
briefer: command not found
ubuntu@ip:~/briefer$ 
@patrickelectric
Copy link
Author

Tested on both ubuntu and mac

@vieiralucas
Copy link
Member

Hi @patrickelectric thanks for your issue.
Can you double check if $HOME/.local/bin is in your $PATH?

@patrickelectric
Copy link
Author

Hi @patrickelectric thanks for your issue. Can you double check if $HOME/.local/bin is in your $PATH?

Yes, it's.

@lucasfcosta
Copy link
Member

@patrickelectric is this still happening if you pull the latest docker image?

docker run -d \
-p 3001:3000 \
-v briefer_psql_data:/var/lib/postgresql/data \
-v briefer_jupyter_data:/home/jupyteruser \
-v briefer_briefer_data:/home/briefer \
--env ALLOW_HTTP="true" \
--pull-always \
briefercloud/briefer

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

3 participants