Skip to content

Commit 98ed26c

Browse files
committed
Replaced conda with venv
1 parent f1837a6 commit 98ed26c

File tree

17 files changed

+235
-63
lines changed

17 files changed

+235
-63
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.DS_Store
22

33
01-cancer-data-analysis/combined_data.csv
4-
01-cancer-data-analysis/combined_data_cleaned.csv
4+
01-cancer-data-analysis/combined_data_cleaned.csv
5+
6+
gh-cp-venv/

01-cancer-data-analysis/completed-notebooks/fm-ad-notebook-exploration-COMPLETED.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"metadata": {},
4848
"source": [
4949
"### 0. Prerequisites\n",
50-
"To achieve the desired outcome of your analysis, the conda environment.yml file has installed the following packages:\n",
50+
"To achieve the desired outcome of your analysis, the venv requirements.txt file has installed the following packages:\n",
5151
"\n",
5252
"- [NumPy](https://numpy.org/): Fundamental package for numerical computing with support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions.\n",
5353
"- [pandas](https://pandas.pydata.org/): Provides high-performance, easy-to-use data structures and data analysis tools for working with structured data, such as data frames.\n",
@@ -19831,7 +19831,7 @@
1983119831
],
1983219832
"metadata": {
1983319833
"kernelspec": {
19834-
"display_name": "Python 3",
19834+
"display_name": "githubcopilotworkshop2",
1983519835
"language": "python",
1983619836
"name": "python3"
1983719837
},

01-cancer-data-analysis/fm-ad-notebook-exploration.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"metadata": {},
4848
"source": [
4949
"### 0. Prerequisites\n",
50-
"To achieve the desired outcome of your analysis, the conda environment.yml file has installed the following packages:\n",
50+
"To achieve the desired outcome of your analysis, the venv requirements.txt file has installed the following packages:\n",
5151
"\n",
5252
"- [NumPy](https://numpy.org/): Fundamental package for numerical computing with support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions.\n",
5353
"- [pandas](https://pandas.pydata.org/): Provides high-performance, easy-to-use data structures and data analysis tools for working with structured data, such as data frames.\n",
@@ -495,7 +495,7 @@
495495
],
496496
"metadata": {
497497
"kernelspec": {
498-
"display_name": "Python 3",
498+
"display_name": "githubcopilotworkshop2",
499499
"language": "python",
500500
"name": "python3"
501501
},

03-troubleshooting-guides/README.md

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -10,43 +10,4 @@ This document provides solutions for common issues encountered while using GitHu
1010
**Solution 2:**
1111
- Check if `"editor.inlineSuggest.enabled": false` in your settings.
1212
- If it is set to `false`, set it to `true` and GitHub Copilot should be back up again.
13-
- Reference: [Stack Overflow](https://stackoverflow.com/questions/76396755/github-copilot-does-not-suggest-anything-anymore-after-i-fiddled-around-with-vsc)
14-
15-
## Issue: Conda Env Won't Show Up in VS Code Under Kernel Selection
16-
17-
**Solution:**
18-
- Restart VS Code.
19-
20-
## Issue: Conda Env Won't Show Up in VS Code Terminal
21-
22-
**Solution 1:**
23-
- Open your terminal in VS Code.
24-
- Then within the terminal, type: `conda init`.
25-
- Close and reopen the terminal.
26-
- Use Conda normally.
27-
- Reference: [Stack Overflow](https://stackoverflow.com/questions/61986052/visual-studio-code-terminal-doesnt-activate-conda-environment)
28-
29-
**Solution 2:**
30-
- Open up your terminal.
31-
- Activate the environment by running the command: `conda activate githubcopilotworkshop`.
32-
- Start Visual Studio Code from the Anaconda/Miniconda terminal: `code`.
33-
- Reference: [Stack Overflow](https://stackoverflow.com/questions/65064740/error-when-trying-to-use-conda-on-visual-studio-code-conda-the-term-conda)
34-
35-
## Issue: SSL Connection Errors
36-
37-
**Solution:**
38-
- Refer to the [Conda documentation on SSL connection errors](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#the-system-cannot-find-the-path-specified-on-windows:~:text=library%20load%20failed-,SSL%20connection%20errors,-Permission%20denied%20errors).
39-
40-
## Issue: Shell Commands Open from the Wrong Location
41-
42-
**Solution:**
43-
- Refer to the [Conda documentation on shell command issues](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#shell-commands-open-from-the-wrong-location).
44-
45-
## Issue: The System Cannot Find the Path Specified on Windows
46-
47-
**Solution:**
48-
- Refer to the [Conda documentation on path issues](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#the-system-cannot-find-the-path-specified-on-windows).
49-
50-
## More Troubleshooting Guides for Conda
51-
52-
- Visit the [Conda troubleshooting documentation](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html) for more guides.
13+
- Reference: [Stack Overflow](https://stackoverflow.com/questions/76396755/github-copilot-does-not-suggest-anything-anymore-after-i-fiddled-around-with-vsc)

04-simple-website/index.html

Whitespace-only changes.

04-simple-website/script.js

Whitespace-only changes.

04-simple-website/style.css

Whitespace-only changes.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Troubleshooting Guide for VS Code and Conda Issues
2+
3+
This document provides solutions for common issues encountered while using GitHub Copilot, Conda environments, and Visual Studio Code (VS Code). The troubleshooting steps include restarting VS Code, modifying settings, and utilizing command-line instructions. References to relevant discussions and documentation are provided for further assistance.
4+
5+
## Issue: GitHub Copilot Won't Complete Prompts
6+
7+
**Solution 1:**
8+
- Restart VS Code.
9+
10+
**Solution 2:**
11+
- Check if `"editor.inlineSuggest.enabled": false` in your settings.
12+
- If it is set to `false`, set it to `true` and GitHub Copilot should be back up again.
13+
- Reference: [Stack Overflow](https://stackoverflow.com/questions/76396755/github-copilot-does-not-suggest-anything-anymore-after-i-fiddled-around-with-vsc)
14+
15+
## Issue: Conda Env Won't Show Up in VS Code Under Kernel Selection
16+
17+
**Solution:**
18+
- Restart VS Code.
19+
20+
## Issue: Conda Env Won't Show Up in VS Code Terminal
21+
22+
**Solution 1:**
23+
- Open your terminal in VS Code.
24+
- Then within the terminal, type: `conda init`.
25+
- Close and reopen the terminal.
26+
- Use Conda normally.
27+
- Reference: [Stack Overflow](https://stackoverflow.com/questions/61986052/visual-studio-code-terminal-doesnt-activate-conda-environment)
28+
29+
**Solution 2:**
30+
- Open up your terminal.
31+
- Activate the environment by running the command: `conda activate githubcopilotworkshop`.
32+
- Start Visual Studio Code from the Anaconda/Miniconda terminal: `code`.
33+
- Reference: [Stack Overflow](https://stackoverflow.com/questions/65064740/error-when-trying-to-use-conda-on-visual-studio-code-conda-the-term-conda)
34+
35+
## Issue: SSL Connection Errors
36+
37+
**Solution:**
38+
- Refer to the [Conda documentation on SSL connection errors](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#the-system-cannot-find-the-path-specified-on-windows:~:text=library%20load%20failed-,SSL%20connection%20errors,-Permission%20denied%20errors).
39+
40+
## Issue: Shell Commands Open from the Wrong Location
41+
42+
**Solution:**
43+
- Refer to the [Conda documentation on shell command issues](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#shell-commands-open-from-the-wrong-location).
44+
45+
## Issue: The System Cannot Find the Path Specified on Windows
46+
47+
**Solution:**
48+
- Refer to the [Conda documentation on path issues](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#the-system-cannot-find-the-path-specified-on-windows).
49+
50+
## More Troubleshooting Guides for Conda
51+
52+
- Visit the [Conda troubleshooting documentation](https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html) for more guides.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)