task_boiler
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
task_boiler [2023/05/21 01:31] – raju | task_boiler [2024/01/22 22:59] – [Issue] raju | ||
---|---|---|---|
Line 4: | Line 4: | ||
Start the first heading with " | Start the first heading with " | ||
- | ===== conda environment file to install different packages from different channels | + | ===== blocked by barrons |
+ | ==== Issue ==== | ||
+ | barrons.com is giving the following error. | ||
+ | < | ||
+ | You have been blocked. | ||
- | Background: | + | Why? |
+ | Something about the behaviour of the browser has caught our | ||
+ | attention. | ||
- | yfinance library is the easiest | + | There are various possible explanations for this: |
+ | * You are browsing | ||
+ | expected of a human being. | ||
+ | * Something | ||
+ | computer. | ||
+ | * There is a robot on the same network (IP WW.XX.YY.ZZ) as you. | ||
- | Goal: | + | Having problems accessing |
- | + | ID: a-b-c-d-e | |
- | The goal here is to pull the yfinance package from conda-forge but everything else from the defaults channel. | + | |
- | + | ||
- | Solution: | + | |
- | + | ||
- | < | + | |
- | % cat env_test_yfinance.yml | stuff.py | + | |
- | name: test_yfinance | + | |
- | channels: | + | |
- | | + | |
- | dependencies: | + | |
- | | + | |
- | | + | |
</ | </ | ||
- | * where stuff.py is a python script to strip out the comments | + | ==== Solution ==== |
- | * The environment file can be downloaded from https:// | + | Click on the extensions button in the top right |
+ | -> Bypass Paywalls Clean -> settings button -> Options | ||
+ | -> scroll down to "BPC settings" | ||
+ | -> check " | ||
+ | -> Save | ||
- | < | + | ==== System Information ==== |
- | % conda env create -f ./ | + | * bypass paywalls clean extension version: 3.5.2.1 (latest asof 2024-01-22) |
- | </ | + | * google chrome: 120.0.6099.200 |
- | + | * OS: Windows 10 Enterprise | |
- | < | + | |
- | % conda list -n test_yfinance | grep conda-forge | + | |
- | multitasking | + | |
- | yfinance | + | |
- | </ | + | |
task_boiler.txt · Last modified: 2024/01/23 22:55 by raju