Closed sylee20 closed 5 months ago
What if you run “sudo pheweb”?
If that doesn’t work, I recommend installing miniconda3 and using that to install pheweb.
On Mon, Aug 21, 2023 at 2:05 AM sylee20 @.***> wrote:
I first tried to install with 'pip3 install pheweb' but got 'permission denied' error.
So I installed with the code suggested in 'detailed install instructions'.
sudo apt-get update sudo apt-get install python3-pip python3-dev libz-dev libffi-dev sudo python3 -m pip install wheel cython sudo python3 -m pip install pheweb
Then I wanted to check if it's properly installed by typing 'pheweb --help' but I got this error:
Traceback (most recent call last): File "/usr/local/bin/pheweb", line 5, in
from pheweb.command_line import main ModuleNotFoundError: No module named 'pheweb.command_line' This is what else I've tried:
- I ran this code:
echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
Then closed the session and opened a new one but got the same error
- When I run this code:
sudo python3 -m pip show pheweb
I get this result:
Name: PheWeb Version: 1.3.16 Summary: A tool for building PheWAS websites from association files Home-page: https://github.com/statgen/pheweb Author: Peter VandeHaar Author-email: @.*** License: UNKNOWN Location: /usr/local/lib/python3.6/dist-packages Requires: boltons, cffi, Flask, Flask-Compress, Flask-Login, gevent, gunicorn, intervaltree, numpy, psutil, pysam, rauth, requests, scipy, tqdm, wget
I tried adding this to /.bashrc file but it didn't workout:
PATH="/usr/local/lib/python3.6/dist-packages:$PATH"
- I uninstalled and re-installed pheweb but still got the same error.
Can you please help me address this issue?
Thank you.
— Reply to this email directly, view it on GitHub https://github.com/statgen/pheweb/issues/211, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSPCNGCKSEPFGFIQ7BL2TXWMJEFANCNFSM6AAAAAA3X7PZWU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Running "sudo pheweb" solved the problem. Thank you so much for your help!
Thanks for letting me know that it worked. I updated the instructions.
On Mon, Aug 21, 2023 at 10:49 PM sylee20 @.***> wrote:
Running "sudo pheweb" solved the problem. Thank you so much for your help!
— Reply to this email directly, view it on GitHub https://github.com/statgen/pheweb/issues/211#issuecomment-1687413877, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSPCMTQLCUH6TEQSUQUGTXWQ24RANCNFSM6AAAAAA3X7PZWU . You are receiving this because you commented.Message ID: @.***>
I first tried to install with
'pip3 install pheweb'
but got'permission denied'
error.So I installed with the code suggested in 'detailed install instructions'.
Then I wanted to check if it's properly installed by typing
'pheweb --help'
but I got this error:This is what else I've tried:
I ran this code:
Then closed the session and opened a new one but got the same error
When I run this code:
I get this result:
I tried adding this to /.bashrc file but it didn't workout:
Can you please help me address this issue?
Thank you.