When you open Jupyter using Anaconda, it will open in a default directory.
You'll have to put your files in that directory or in a subdirectory of
that one. This may be helpful if you want to change the default directory:
https://stackoverflow.com/questions/35254852/how-to-change-the-jupyter-start-up-folder

Jason
moorepants.info
+01 530-601-9791


On Wed, Mar 17, 2021 at 6:34 PM Stefan Oste <[email protected]> wrote:

> Thanks Jonathan. I've emailed them asking for help. Can you think of any
> person who is well-versed in this matter who would be willing to walk me
> through this if I screen-shared? I'm open to paying them. I appreciate
> everyone's help. I am just very aware of how I learn. I just need to see it
> done and explained in real-time and be able to ask questions along the way.
>
> On Wed, Mar 17, 2021 at 10:31 AM Jonathan Gutow <[email protected]> wrote:
>
>> Stefan,
>>
>> I cannot provide more help. It appears you are running up against a
>> setting in the Anaconda environment. You will need to investigate the
>> instructions and help for Anaconda. This is not really a Jupyter issue.
>>
>> Sorry,
>> Jonathan
>>
>> On Wednesday, March 17, 2021 at 12:28:51 PM UTC-5 Stefan Oste wrote:
>>
>>> Hi Jonathan,
>>> I'm not launching from a command line, but from the Anaconda
>>> application. I really just need somebody to work through this live with me.
>>>
>>> On Wed, Mar 17, 2021 at 10:26 AM Jonathan Gutow <[email protected]> wrote:
>>>
>>>> Stefan,
>>>> If I understand correctly, you installed Jupyter and other tools you
>>>> need using Anaconda on the computer you are working on. If you launch
>>>> Jupyter from a command line, you need to make sure that you are in a
>>>> directory that is above any directories you need to access in your
>>>> directory structure.
>>>> For example. If you want to access stuff in <your
>>>> home>/Documents/Datasets. You should make sure your command line is running
>>>> in <your home> or <your home>/Documents. So I would open your terminal and
>>>> issue the following commands:
>>>> ```
>>>> $ cd <path-to-your home>
>>>> $ jupyter notebook
>>>> ```
>>>> Then when Jupyter opens up in your browser you should be able to
>>>> navigate to the Datasets directory.
>>>>
>>>> Jonathan
>>>>
>>>> On Wednesday, March 17, 2021 at 12:17:39 PM UTC-5 Stefan Oste wrote:
>>>>
>>>>> Hi Jonathan,
>>>>> I am using Anaconda, then opening Jupyter notebooks. I have figured
>>>>> out how to upload files into the Datasets folder. When I open a new
>>>>> notebook, I need to know how to read in the files from the Datasets 
>>>>> folder.
>>>>>
>>>>> On Wed, Mar 17, 2021 at 10:14 AM Jonathan Gutow <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Oh, are you using Jupyter on a server? If so you do need to upload
>>>>>> the files to the server before you can access them with code in Jupyter. 
>>>>>> I
>>>>>> though you were running Jupyter locally on your machine. Are you using
>>>>>> Jupyter in a "Hub"? If so there should be an upload option.
>>>>>>
>>>>>> On Wednesday, March 17, 2021 at 12:12:08 PM UTC-5 Stefan Oste wrote:
>>>>>>
>>>>>>> Thank you Jonathan... I really have no idea how to do that. I think
>>>>>>> what I'm learning toward is uploading my datasets to my Jupyter page, 
>>>>>>> then
>>>>>>> accessing them from there. Still would need help on doing that. I'm a 
>>>>>>> smart
>>>>>>> person, just have very little background on computer stuff and can't 
>>>>>>> really
>>>>>>> make sense of it when I read a bunch of stuff online. I'm an educator by
>>>>>>> training and know that my learning style is guided/interactive. Would 
>>>>>>> you
>>>>>>> be willing to show me?
>>>>>>>
>>>>>>> On Wed, Mar 17, 2021 at 10:08 AM Jonathan Gutow <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> It looks to me as if you are trying to access a directory that is
>>>>>>>> not below the directory in which you launched Jupyter. If you want 
>>>>>>>> access
>>>>>>>> to your whole directory structure you will need to launch Jupyter in 
>>>>>>>> your
>>>>>>>> root directory.
>>>>>>>>
>>>>>>>> On Wednesday, March 17, 2021 at 12:05:44 PM UTC-5 Stefan Oste wrote:
>>>>>>>>
>>>>>>>>> I can get the os.chdir() command to execute, then when i run "pwd"
>>>>>>>>> to see if it updated, i get:
>>>>>>>>>
>>>>>>>>> ERROR:root:Internal Python error in the inspect module.
>>>>>>>>> Below is the traceback from this internal error.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Mar 17, 2021 at 9:58 AM Stefan Oste <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I have tried the exact thing you suggested with the OS finding
>>>>>>>>>> paths. Doesn't work. Hench my frustration and reach out to a 
>>>>>>>>>> community of
>>>>>>>>>> people who could help me in real time. I'm appreciative of the 
>>>>>>>>>> response.
>>>>>>>>>>
>>>>>>>>>> On Wed, Mar 17, 2021 at 9:53 AM Layne Sadler <[email protected]>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Have you used JupyterLab? `pip install jupyterlab` then launch
>>>>>>>>>>> with `jupyter lab`
>>>>>>>>>>> It provides a file explorer similar to RStudio.
>>>>>>>>>>>
>>>>>>>>>>> `os.chdir('/path/to/files')` works 100% of the time for me. Hard
>>>>>>>>>>> to help you without you sharing the commands you ran.
>>>>>>>>>>>
>>>>>>>>>>> On Wednesday, March 17, 2021 at 12:50:32 PM UTC-4 Stefan Oste
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi everyone.
>>>>>>>>>>>>
>>>>>>>>>>>> I'm new to the community, transitioning over from R, and am
>>>>>>>>>>>> feeling pretty frustrated over what would seem to be a simple 
>>>>>>>>>>>> issue.
>>>>>>>>>>>>
>>>>>>>>>>>> I've been trying to set a new working directory straight to my
>>>>>>>>>>>> desktop.
>>>>>>>>>>>> I've tried using the os method of chdir(), but to no avail.
>>>>>>>>>>>>
>>>>>>>>>>>> The other workaround I've been looking at is uploading my
>>>>>>>>>>>> datasets straight to my "Datasets" folder on the main Jupyter 
>>>>>>>>>>>> Files page.
>>>>>>>>>>>> From here, how would I actually read the file into a notebook.
>>>>>>>>>>>>
>>>>>>>>>>>> I've researched extensively on the internet and youtube to no
>>>>>>>>>>>> avail. I'm looking for a real person who would be I would be 
>>>>>>>>>>>> willing to
>>>>>>>>>>>> share 5-10 minutes of their time to walk me through it. I would 
>>>>>>>>>>>> even be
>>>>>>>>>>>> willing to pay.
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you in advance for your help.
>>>>>>>>>>>> Stefan
>>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> You received this message because you are subscribed to a topic
>>>>>>>>>>> in the Google Groups "Project Jupyter" group.
>>>>>>>>>>> To unsubscribe from this topic, visit
>>>>>>>>>>> https://groups.google.com/d/topic/jupyter/lA022g4UGgw/unsubscribe
>>>>>>>>>>> .
>>>>>>>>>>> To unsubscribe from this group and all its topics, send an email
>>>>>>>>>>> to [email protected].
>>>>>>>>>>> To view this discussion on the web visit
>>>>>>>>>>> https://groups.google.com/d/msgid/jupyter/3df8773c-8ecf-4da2-8251-2d31497b74den%40googlegroups.com
>>>>>>>>>>> <https://groups.google.com/d/msgid/jupyter/3df8773c-8ecf-4da2-8251-2d31497b74den%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to a topic in
>>>>>>>> the Google Groups "Project Jupyter" group.
>>>>>>>> To unsubscribe from this topic, visit
>>>>>>>> https://groups.google.com/d/topic/jupyter/lA022g4UGgw/unsubscribe.
>>>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>>>> [email protected].
>>>>>>>>
>>>>>>> To view this discussion on the web visit
>>>>>>>> https://groups.google.com/d/msgid/jupyter/01872ad6-785c-4173-994a-5605ea2b43acn%40googlegroups.com
>>>>>>>> <https://groups.google.com/d/msgid/jupyter/01872ad6-785c-4173-994a-5605ea2b43acn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> --
>>>>>> You received this message because you are subscribed to a topic in
>>>>>> the Google Groups "Project Jupyter" group.
>>>>>> To unsubscribe from this topic, visit
>>>>>> https://groups.google.com/d/topic/jupyter/lA022g4UGgw/unsubscribe.
>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>> [email protected].
>>>>>>
>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/jupyter/c0378556-68e4-45c1-8cec-845cfc4170e5n%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/jupyter/c0378556-68e4-45c1-8cec-845cfc4170e5n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "Project Jupyter" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/jupyter/lA022g4UGgw/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>>
>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/jupyter/21c0fdaa-08a9-4eb5-b8b0-754a70820865n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/jupyter/21c0fdaa-08a9-4eb5-b8b0-754a70820865n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Project Jupyter" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jupyter/lA022g4UGgw/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/5e518f11-6d7c-497e-a8cb-771825232566n%40googlegroups.com
>> <https://groups.google.com/d/msgid/jupyter/5e518f11-6d7c-497e-a8cb-771825232566n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CA%2B-SZ7E04TtDks7EfrBkwCvGfzHJz__AAjeGMqZwq6gFxSrSrQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CA%2B-SZ7E04TtDks7EfrBkwCvGfzHJz__AAjeGMqZwq6gFxSrSrQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAP7f1AjDSx13Dx4G7Xh67dnQJHW4%2BZCBOvQrVmr4mi_sCexHxA%40mail.gmail.com.

Reply via email to