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

Issue running viva on Ubuntu #110

Open
frankiefattorini opened this issue Jul 26, 2022 · 4 comments
Open

Issue running viva on Ubuntu #110

frankiefattorini opened this issue Jul 26, 2022 · 4 comments

Comments

@frankiefattorini
Copy link

Hello

I'm trying to use the viva command to visualise SNP positions in Ubuntu. I've downloaded and run julia (version 1.7.3) and I've attempted to install VariantVisualisation. It seems to have worked (although my computer keeps crashing mid-way through). When I try to run viva, I get the error message /usr/bin/env: ‘julia’: No such file or directory. Is there a known solution for this?

Thank you

@janxkoci
Copy link

janxkoci commented Aug 2, 2022

Hi, I was just installing this on Ubuntu myself - the installation kind of fails because it cannot create a symbolic link in a location that requires sudo:

ERROR: Error building `VariantVisualization`: 
ERROR: LoadError: IOError: symlink("/home/jena/.julia/packages/VariantVisualization/1yoNl/viva", "/usr/local/bin/viva"): permission denied (EACCES)

So you can make the link manually and it will work. I actually did not want to use sudo, so I chose a different location in my PATH:

ln -s /home/jena/.julia/packages/VariantVisualization/1yoNl/viva ~/bin/viva

Note that ~/bin is in my PATH, so the system will find the executable and run it. On Ubuntu, this folder is included in PATH by default, you may just need to create the folder in your home directory, before making the symlink.

I still have some problems with dependencies, but at least now viva is installed in my PATH and I can run it...

@frankiefattorini
Copy link
Author

Thank you, I'll give that a go and see how it runs

@nahanoo
Copy link

nahanoo commented Nov 9, 2023

I got around this issue by launching the julia console with sudo:

sudo julia
]add VariantVisualization

@janxkoci
Copy link

janxkoci commented Nov 9, 2023

@nahanoo Interesting, although most users won't have sudo access at their HPC cluster. It's fine for local use I guess..

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