Open xiang-liii opened 1 month ago
hi! wondering if there is any thoughts on this issue?
Hi @xiang-liii we're working on it and let you know when we find the solution to your error. Thank you.
Hello @xiang-liii , thank you for your patience
For me to be of better help, could you clarify some doubts?
1) I can see you are using a Mac, at least based on your terminal. Just wanted to confirm if you followed the instructions specific to Mac, which uses the bash setup.sh
file, or something else
2) Could you confirm that you were able to open the GeoLiftWalkthrough notebook and run all its cells?
3) You are using the version installed in /Users/xli/.pyenv/versions/3.11.4/bin/python
, which, at least based on the name and location, doesn't feel like a virtual environment allocated only for GeoLift. Instead, it feels like you are using your base Python version. Is this the case? If so, this Python version might not have had the requirements installed.
Based on how you executed the code, it feels like the error is originated by how you tried to run it. Also,from the error message, your execution wasn't able to find the osqp.so
object, which is probably a shared library from R, which gives some indication that the problem is originated by the installation/execution method
hi @raphaeltamaki , thanks for taking a look!
I was following option 1 only, but I tried option 2 for mac virtual environment just now and tried to run GeoLiftWalkthrough notebook, same error shown for this code chunk in jupyter notebook
MarketSelections = GeoLift.GeoLiftMarketSelection(data = GeoTestData_PreTest, treatment_periods = IntVector([10,15]), N = IntVector([2, 3, 4, 5]), Y_id = "Y", location_id = "location", time_id = "time", effect_size = r.seq(0, 0.5, 0.05), lookback_window = 1, include_markets = StrVector(['chicago']), exclude_markets = StrVector(['honolulu']), holdout = IntVector([0.5,1]), cpic = 7.50, budget = 100000, alpha = 0.1, Correlations = True, fixed_effects = True, side_of_test = "two_sided")
same error shown for the GeoLiftWalkThrough notebook
yes i was using option one which is the work enviornment, but same alert shown for virtual environment as I illustrated in 1)
Let me know if any findings, appreciate your help!
Bug description
I am following the github python have followed the instructions in README.md and trying to test run demo.py
This Error occurred as I run the file
Session information
Matrix products: default BLAS: /opt/homebrew/Cellar/openblas/0.3.23/lib/libopenblasp-r0.3.23.dylib LAPACK: /opt/homebrew/Cellar/r/4.3.1/lib/R/lib/libRlapack.dylib; LAPACK version 3.11.0
locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: America/New_York tzcode source: internal
attached base packages: [1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached): [1] compiler_4.3.1
pip3 install -r requirements.txt python3 r_lang_requirements.py
!pip3 install -r requirements.txt %run r_lang_requirements.py