nikhil-sarin / redback

A Bayesian inference software package for end-to-end fitting and interpretation of electromagnetic transients
GNU General Public License v3.0
47 stars 24 forks source link

PhantomJS not working on multiple OS #197

Closed GPLamb closed 8 months ago

GPLamb commented 8 months ago

Have tried examples for data loading from Swift for GRB data on multi[ple OS -- Mac, Linux (Mint, Ubuntu, Android) PhantomJS is installed and opened as per instructions in examples. Each system returns an error -- can PhantomJS be replaced for web-scraping Swift data.

nikhil-sarin commented 8 months ago

Hey @GPLamb - yeah, this is in progress. It's more work than it otherwise appeared to be, but it will be done soon.

nikhil-sarin commented 8 months ago

@GPLamb could you try the following code block? You'd first need to update selenium via pip install --upgrade selenium

Then in python, if you have Chrome installed. Try;

from selenium import webdriver driver = webdriver.Chrome() driver.get("https://www.google.com/")

If google.com opens for you then there's an easier fix I can do instead.

GPLamb commented 8 months ago

Yes, Google.com opens with this... and then closes

nikhil-sarin commented 8 months ago

@GPLamb can you try using pull request #198 - it should work for you.

nikhil-sarin commented 8 months ago

closing as fixed by #198