bokeh / outreach-programs

A space to coordinate outreach programs like Outreachy and Google Season of Docs.
9 stars 12 forks source link

Project 1 bokeh #34

Open brodocode opened 1 year ago

brodocode commented 1 year ago

I followed up on Pavithra ma'am's comment but the issue is I'm still having trouble from where and how to start. please help me figure this out.

Azaya89 commented 1 year ago

Hi, What do you need to do and what have you done so far?

brodocode commented 1 year ago

I have installed bokeh and understood the basics of it but I have no knowledge how to work on the micro task

PatChizzy commented 1 year ago

I have installed bokeh and understood the basics of it but I have no knowledge how to work on the micro task

Have you decided on which project to work on? I'll link all 3 below. Each one has its own set of microtask. Read through the instructions for project of choice, and tackle the tasks one microtask at a time using the associated microtask link.

The links are in a parent-child structure

  1. https://github.com/bokeh/outreach-programs/issues/1
  2. https://github.com/bokeh/outreach-programs/issues/2
  3. https://github.com/bokeh/outreach-programs/issues/3
PatChizzy commented 1 year ago

I have installed bokeh and understood the basics of it but I have no knowledge how to work on the micro task

Have you decided on which project to work on? I'll link all 3 below. Each one has its own set of microtask. Read through the instructions for project of choice, and tackle the tasks one microtask at a time using the associated microtask link.

The links are in a parent-child structure

  1. [Project] Improve Bokeh's documentation using the Diátaxis framework #1
  2. [Project] Create a blog post series: "Fundamentals of Data Visualization in Bokeh" #2
  3. [Project] Improve the accessibility of Bokeh's Gallery examples #3

Also, if you need help from the mentors, its easiier to tag them to your post

Azaya89 commented 1 year ago

I have installed bokeh and understood the basics of it but I have no knowledge how to work on the micro task

Have you decided on which project to work on? I'll link all 3 below. Each one has its own set of microtask. Read through the instructions for project of choice, and tackle the tasks one microtask at a time using the associated microtask link. The links are in a parent-child structure

  1. [Project] Improve Bokeh's documentation using the Diátaxis framework #1
  2. [Project] Create a blog post series: "Fundamentals of Data Visualization in Bokeh" #2
  3. [Project] Improve the accessibility of Bokeh's Gallery examples #3

Also, if you need help from the mentors, its easiier to tag them to your post

@brodocode You could decide on a project from this linked list and we can guide you on how to start any of them.

brodocode commented 1 year ago

I have installed bokeh and understood the basics of it but I have no knowledge how to work on the micro task

Have you decided on which project to work on? I'll link all 3 below. Each one has its own set of microtask. Read through the instructions for project of choice, and tackle the tasks one microtask at a time using the associated microtask link.

The links are in a parent-child structure

  1. [Project] Improve Bokeh's documentation using the Diátaxis framework #1
  2. [Project] Create a blog post series: "Fundamentals of Data Visualization in Bokeh" #2
  3. [Project] Improve the accessibility of Bokeh's Gallery examples #3

I apologise as i didn't know how to reach to these links. I think I'm new to this open source projects so it will be good to start with the base so, I'll be going with the third project. Thank you.

brodocode commented 1 year ago

I have installed bokeh and understood the basics of it but I have no knowledge how to work on the micro task

Have you decided on which project to work on? I'll link all 3 below. Each one has its own set of microtask. Read through the instructions for project of choice, and tackle the tasks one microtask at a time using the associated microtask link. The links are in a parent-child structure

  1. [Project] Improve Bokeh's documentation using the Diátaxis framework #1
  2. [Project] Create a blog post series: "Fundamentals of Data Visualization in Bokeh" #2
  3. [Project] Improve the accessibility of Bokeh's Gallery examples #3

Also, if you need help from the mentors, its easiier to tag them to your post

@brodocode You could decide on a project from this linked list and we can guide you on how to start any of them.

It will be great to work under your guidance. Please guide me towards the successful completion of this project. Thank you.

Azaya89 commented 1 year ago

OK @brodocode, first of all, you need to check out the project tasks, and take the first steps, which in this case is learning the basics of Bokeh.

I think a good way to get help is to be specific with your enquiry. State what you want to do, what you have tried and what is not working for you.

brodocode commented 1 year ago

OK @brodocode, first of all, you need to check out the project tasks, and take the first steps, which in this case is learning the basics of Bokeh.

I think a good way to get help is to be specific with your enquiry. State what you want to do, what you have tried and what is not working for you.

Yes sure, I have started working on the initial steps according to [Micro task] Set up your local development environment for Bokeh #4 and have installed conda.

brodocode commented 1 year ago

OK @brodocode, first of all, you need to check out the project tasks, and take the first steps, which in this case is learning the basics of Bokeh. I think a good way to get help is to be specific with your enquiry. State what you want to do, what you have tried and what is not working for you.

Yes sure, I have started working on the initial steps according to [Micro task] Set up your local development environment for Bokeh #4 and have installed conda.

While working on the Fork and clone the repository my git is unable to find the remote repositoryas a result of which I cannot proceed further.

PatChizzy commented 1 year ago

OK @brodocode, first of all, you need to check out the project tasks, and take the first steps, which in this case is learning the basics of Bokeh. I think a good way to get help is to be specific with your enquiry. State what you want to do, what you have tried and what is not working for you.

Yes sure, I have started working on the initial steps according to [Micro task] Set up your local development environment for Bokeh #4 and have installed conda.

While working on the Fork and clone the repository my git is unable to find the remote repositoryas a result of which I cannot proceed further.

@brodocode please attach a screenshot of the error message.

The usual step for that is

image

Azaya89 commented 1 year ago

OK @brodocode, first of all, you need to check out the project tasks, and take the first steps, which in this case is learning the basics of Bokeh. I think a good way to get help is to be specific with your enquiry. State what you want to do, what you have tried and what is not working for you.

Yes sure, I have started working on the initial steps according to [Micro task] Set up your local development environment for Bokeh #4 and have installed conda.

While working on the Fork and clone the repository my git is unable to find the remote repository as a result of which I cannot proceed further.

When you do git remote -v from your command line, what do you see?

brodocode commented 1 year ago

OK @brodocode, first of all, you need to check out the project tasks, and take the first steps, which in this case is learning the basics of Bokeh. I think a good way to get help is to be specific with your enquiry. State what you want to do, what you have tried and what is not working for you.

Yes sure, I have started working on the initial steps according to [Micro task] Set up your local development environment for Bokeh #4 and have installed conda.

While working on the Fork and clone the repository my git is unable to find the remote repository as a result of which I cannot proceed further.

When you do git remote -v from your command line, what do you see?

fatal: not a git repository (or any of the parent directories): .git

this is displayed

brodocode commented 1 year ago

OK @brodocode, first of all, you need to check out the project tasks, and take the first steps, which in this case is learning the basics of Bokeh. I think a good way to get help is to be specific with your enquiry. State what you want to do, what you have tried and what is not working for you.

Yes sure, I have started working on the initial steps according to [Micro task] Set up your local development environment for Bokeh #4 and have installed conda.

While working on the Fork and clone the repository my git is unable to find the remote repositoryas a result of which I cannot proceed further.

@brodocode please attach a screenshot of the error message.

The usual step for that is

  • fork bokehs' repo
  • clone the forked version to your local machine

the forked repo will be in your own repo. Use the code provided there to do the git clone.

image

I did that but it is not following the further remote repo

chinmaychahar commented 1 year ago

@brodocode have you forked bokeh's repository? I can't see one here

Edit: Saw that you've named it Spoon-Knife. Why don't you try git clone https://github.com/brodocode/Spoon-Knife.git on your cmd?

Azaya89 commented 1 year ago

fatal: not a git repository (or any of the parent directories): .git

this is displayed

OK, so that means you haven't added any upstream yet.

Here's a complete guide on how to set-up your dev environment for this project https://docs.bokeh.org/en/latest/docs/dev_guide/setup.html

You can clone your forked repository by following the steps here https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository

After that, you can set the main bokeh/bokeh repository as an additional upstream by doing git remote add upstream https://github.com/bokeh/bokeh.git per the steps in the setup link.

Let me know how it goes.

brodocode commented 1 year ago

@brodocode have you forked bokeh's repository? I can't see one here

Edit: Saw that you've named it Spoon-Knife. Why don't you try git clone https://github.com/brodocode/Spoon-Knife.git on your cmd?

it is showing this: fatal: destination path 'Spoon-Knife' already exists and is not an empty directory.

chinmaychahar commented 1 year ago

it is showing this: fatal: destination path 'Spoon-Knife' already exists and is not an empty directory.

Okay, that means you've already cloned it. You should do cd Spoon-Knife from your cmd next and try to open the directory in your code editor like VS Code or something.

brodocode commented 1 year ago

it is showing this: fatal: destination path 'Spoon-Knife' already exists and is not an empty directory.

Okay, that means you've already cloned it. You should do cd Spoon-Knife from your cmd next and try to open the directory in your code editor like VS Code or something.

yeap did that..now the new problem is that it is not able to create conda environment.

brodocode commented 1 year ago

fatal: not a git repository (or any of the parent directories): .git this is displayed

OK, so that means you haven't added any upstream yet.

Here's a complete guide on how to set-up your dev environment for this project https://docs.bokeh.org/en/latest/docs/dev_guide/setup.html

You can clone your forked repository by following the steps here https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository

After that, you can set the main bokeh/bokeh repository as an additional upstream by doing git remote add upstream https://github.com/bokeh/bokeh.git per the steps in the setup link.

Let me know how it goes.

yes I followed it from the start and did it but now I'm stuck at creating the conda environment.. still figuring it out.

chinmaychahar commented 1 year ago

yeap did that..now the new problem is that it is not able to create conda environment.

can you show the error message?

Fyi, you just have to go step by step through the guide - https://docs.bokeh.org/en/latest/docs/dev_guide/setup.html Everything is mentioned in great detail here and if you're still stuck with some issues, I would recommend pinging the mentors because they would be help you out the best!

brodocode commented 1 year ago
Screenshot 2023-03-24 125212

yeap did that..now the new problem is that it is not able to create conda environment.

can you show the error message?

Fyi, you just have to go step by step through the guide - https://docs.bokeh.org/en/latest/docs/dev_guide/setup.html Everything is mentioned in great detail here and if you're still stuck with some issues, I would recommend pinging the mentors because they would be help you out the best!

chinmaychahar commented 1 year ago

You don't have conda installed on your system :)

Please visit https://www.anaconda.com/products/distribution and install it.

brodocode commented 1 year ago

You don't have conda installed on your system :)

Please visit https://www.anaconda.com/products/distribution and install it.

got it working on it.

PatChizzy commented 1 year ago
Screenshot 2023-03-24 125212

yeap did that..now the new problem is that it is not able to create conda environment.

can you show the error message? Fyi, you just have to go step by step through the guide - https://docs.bokeh.org/en/latest/docs/dev_guide/setup.html Everything is mentioned in great detail here and if you're still stuck with some issues, I would recommend pinging the mentors because they would be help you out the best!

This terminal looks like git bash. After installing Anaconda, use anaconda prompt to run the code instead of git bash

brodocode commented 1 year ago
Screenshot 2023-03-24 125212

yeap did that..now the new problem is that it is not able to create conda environment.

can you show the error message? Fyi, you just have to go step by step through the guide - https://docs.bokeh.org/en/latest/docs/dev_guide/setup.html Everything is mentioned in great detail here and if you're still stuck with some issues, I would recommend pinging the mentors because they would be help you out the best!

This terminal looks like git bash. After installing Anaconda, use anaconda prompt to run the code instead of git bash

Yes i did that and currently Ihave no problem.

chinmaychahar commented 1 year ago

You forgot to put a .

The command is pip install -e .

brodocode commented 1 year ago

You've forgot to put a .

The command is pip install -e .

OOH! OKAY thank you

brodocode commented 1 year ago

You forgot to put a .

The command is pip install -e .

it is still showing the error.

Screenshot 2023-03-24 222057
chinmaychahar commented 1 year ago

Put a space between e and .

brodocode commented 1 year ago
Screenshot 2023-03-24 222242

still the error

chinmaychahar commented 1 year ago

Are you in the directory as instructed in the guide? I can see you in C/Users/hp

brodocode commented 1 year ago

Are you in the directory as instructed in the guide? I can see you in C/Users/hp

which directory should i be in? I'm unable to find the local source directory I found it, I got it but it resulted in an error after download

Screenshot 2023-03-24 225410

.

Azaya89 commented 1 year ago

What directory did you run the pip install -e . command from?

brodocode commented 1 year ago

What directory did you run the pip install -e . command from?

bokeh directory

brodocode commented 1 year ago

What directory did you run the pip install -e . command from?

bokeh directory

is it necessary to follow point 5 & 6 when hooks were uninstalled at the end and we have to rebuild bokehjs everytime we use pip install .

Azaya89 commented 1 year ago

What directory did you run the pip install -e . command from?

bokeh directory

is it necessary to follow point 5 & 6 when hooks were uninstalled at the end and we have to rebuild bokehjs everytime we use pip install .

When you install the hooks, you don't have to uninstall it again. It is there to serve as checks for when you what to push your commits.

That said, have you been able to install it successfully now?

brodocode commented 1 year ago

I think I have hooks installed but again I'm having trouble installing the 6 build and install locally point. why is it uninstalling bokeh version that I have already installed on my system and installing bokeh version 0.0.1

brodocode commented 1 year ago

I think I have hooks installed but again I'm having trouble installing the 6 build and install locally point. why is it uninstalling bokeh version that I have already installed on my system and installing bokeh version 0.0.1

moreover when I had the bokeh version 3.0.1 and tested it , then it showed the correct versions but upon installing pip install -e . it showed many errors. for bokeh 3.0.1 version:

Screenshot 2023-03-25 164557

for bokeh 0.0.1 version:

Screenshot 2023-03-25 165234
Azaya89 commented 1 year ago

I don't know what the issue could be but are you trying the installation in the activated conda environment? It doesn't look like it at first glance. You have to make sure your dev environment is active before installation by running conda activate bkdev in your source checkout directory first.

brodocode commented 1 year ago

I don't know what the issue could be but are you trying the installation in the activated conda environment? It doesn't look like it at first glance. You have to make sure your dev environment is active before installation by running conda activate bkdev in your source checkout directory first.

bkdev is not activating and the issue is not working in it also.

Screenshot 2023-03-25 200330

no I was previously using command prompt cuz it is not working here but the above one is of ananconda after i tried it again

Azaya89 commented 1 year ago

I can see that you have not created your development environment yet. You have to use Conda for the installation and setup. Check this again https://docs.bokeh.org/en/latest/docs/dev_guide/setup.html and see where you left off before the error started. Also, what ever you do should at least start from the source checkout directory (The folder where the cloned version of Bokeh is stored in your local computer).

brodocode commented 1 year ago
Screenshot 2023-03-26 043420

I follwed the steps from the start once again but it resulted in the same error again. what does it mean by try user/package

Azaya89 commented 1 year ago

You entered the wrong command for setting up the dev environment. Here's the correct command from the link: conda env create -n bkdev -f conda/environment-test-3.10.yml

You can substitute 3.10 for 3.11 if you wish to use Python 3.11 in the environment.

brodocode commented 1 year ago

You entered the wrong command for setting up the dev environment. Here's the correct command from the link: conda env create -n bkdev -f conda/environment-test-3.10.yml

You can substitute 3.10 for 3.11 if you wish to use Python 3.11 in the environment.

Screenshot 2023-03-29 201020

it still has the problem, sorry for replying so late .. currently my mid term examinations are going on in the university.

brodocode commented 1 year ago
Screenshot 2023-03-29 210825

i got it done but the command is differnt from the one mentioned

Azaya89 commented 1 year ago

From your screenshot, it looks like you created the environment in your home directory. You're supposed to create the environment in the directory where you cloned Bokeh (users\hp\bokeh). That's why the first command didn't work.

Edit: If you can get on a Google Meet call, I could guide you on how to set it up correctly via screensharing.

brodocode commented 1 year ago

From your screenshot, it looks like you created the environment in your home directory. You're supposed to create the environment in the directory where you cloned Bokeh (users\hp\bokeh). That's why the first command didn't work.

Edit: If you can get on a Google Meet call, I could guide you on how to set it up correctly via screensharing.

yes sure, that is great.

Azaya89 commented 1 year ago

OK. You can join a Meet call here in the next 35 mins. That is, 6pm GMT+1

brodocode commented 1 year ago

From your screenshot, it looks like you created the environment in your home directory. You're supposed to create the environment in the directory where you cloned Bokeh (users\hp\bokeh). That's why the first command didn't work. Edit: If you can get on a Google Meet call, I could guide you on how to set it up correctly via screensharing.

yes sure, that is great.

Screenshot 2023-03-29 215432

and this happened and is still loading . i think i messed it all up. please tell me the suitable time so that i can get u on the google meet call.