servicesnsa.blogg.se

How to debug in python jupyter notebook
How to debug in python jupyter notebook








how to debug in python jupyter notebook how to debug in python jupyter notebook

The easiest way to fix this error is to run the first cell (the forgotten one), then to re-run the second cell. When this error occurs, notice that the In : indication to the left of the first cell stays blank whereas the In : indication to the left of the second cell does not. What is the output? # Answer: print ( a ) # TODO: run this cell without running the one above.

how to debug in python jupyter notebook

Partial SolutionĮxercise 16 - Machine Learning - Petrophysical interpretation and Log classificationīonus 2 - Petrophysical Data Review (Fitting probability distributions)īonus 3 - XTGeo computing 3D grid statistics Then, to select the conda environment.Decline Curve Analysis example (Final Solution)Įxercise 4 - Loading data into Google ColabĮxercise 4 - Starting in Jupyter NotebooksĮxercise 5 - Well type using Arps equation for multiple wellsĮxercise 5 - Well type using Arps equation for multiple wells (Partial Solution)Įxercise 6 Empty - Relative Permeability Calculations (Solve the errors)Įxercise 6 - Relative Permeability CalculationsĮxercise 7 Partial Solution - Exploratory Data Analysis (Petrophysical Summary Table)Įxercise 6 - Solution: Relative Permeability CalculationsĮxercise 8 - Solution: Probabilistic Original Oil In PlaceĮxercise 7 Solution - Exploratory Data Analysis (Petrophysical Summary Table)Įxercise 9 - Inflow Performance Relationship (IPR)Įxercise 9 Partial Solution - Inflow Performance Relationship (IPR)Įxercise 11 - Pressure Traverse- Revised Beggs and Brill CorrelationĮxercise 11 Solution - Pressure Traverse- Revised Beggs and Brill CorrelationĮxercise 12 Partial Solution - Integrating IPR and VLPĮxercise 12 Solution - Integrating IPR and VLPĮxercise 13: Working with well-logs. Now run a Jupyter notebook on your local machine using: jupyter notebook Enter the following command: conda install -c anaconda ipykernelĪnd then python -m ipykernel install -user -name=worklab To use for example the environment worklab that we just created in a Jupyter notebook, a solution is to use ipykernel. That returns in my case for example: # conda environments: # base /Users/mb/anaconda3 websitedev /Users/mb/anaconda3/envs/websitedev websitedev2 /Users/mb/anaconda3/envs/websitedev2 worklab * /Users/mb/anaconda3/envs/worklab Use a conda environment in a Jupyter notebook Note: to get a list of your environment, there is the command: conda env list To activate the environment called worklab. Since conda is installed in your system to create an environment (called for example hereafter worklab) use the following command: conda create -name worklab To install conda go to Anaconda Individual Edition.

  • Use a conda environment in a Jupyter notebook.









  • How to debug in python jupyter notebook