Comments (4)
Thank you for reporting this. It seems to be a problem with nteract as what I use follows the specification how things should work https://github.com/JuliaLang/IJulia.jl#julia-projects (and they work this way for me).
Before we move forward - please confirm that you start Jupyter Notebook in the directory where Project.toml is located (I assume yes). If this is the case then I will report the issue in https://github.com/JuliaLang/IJulia.jl.
CC @stevengj as you maybe know about this issue already.
from dataframes.
You are welcome. I did more tests just now to reproduce this issue:
- Step 1: Download the "1. Environment setup.ipynb" from the link below the tutorial video on JuliaAcademy and put it under "./Introduction to DataFrames.jl/"
- Step 2: Double-click to run the notebook with nteract. (At this time, the Project.toml file doesn't exist. The folder only contains one notebook file.)
- Step 3: Yesterday when I reached "isfile.(["Project.toml", "Manifest.toml"])" I realized I need these two files from GitHub. So I downloaded as zip archive and extracted the files to the same folder where the "1. Environment setup.ipynb" from Step 1 located. (At this time, the "1. Environment setup.ipynb" was still open in nteract.)
- Step 4: Run "isfile.(["Project.toml", "Manifest.toml"])" to get two 1s.
- Step 5: Run "] status" to get "~/.julia/environments/v1.4/Project.toml" checked instead of the "./Introduction to DataFrames.jl/Project.toml"
I tried to run the same notebook with Project.toml already exists in the same folder. It correctly recognized the path "./Introduction to DataFrames.jl/Project.toml" without an issue.
I guess IJulia has a mechanism to look for Project.toml file in the same folder as the notebook first, if it doesn't exist, then fallback to the default Julia path.
If this is true, then this issue can be avoided if a student clones all notebooks and toml files from GitHub directly instead of just download one notebook from JuliaAcademy. Or just add "] activate ./" before “] status” as a safe net.
from dataframes.
So - you are correct. Project.toml is looked for when you start the notebook. A standard procedure is - as you indicated - to clone the whole repository first (rather than downloading a single file). I will update README.md to highlight that.
from dataframes.
Thank you professor! 👍
from dataframes.
Related Issues (11)
- Incompatibility with version of CategoricalArrays HOT 4
- Sound quality for 'First Steps With Data Frames' video makes it very difficult to endure HOT 2
- Tutorial set-up needs corrections HOT 7
- Local Project.toml needs to be activated HOT 1
- Lesson 2: xlim / ylim HOT 2
- Activate step is needed HOT 3
- CERTIFICATE OF COMPLETION logo error
- Update to DataFrames.jl 1.1.1 HOT 2
- Make sure that participants can generate certificates HOT 1
- Error in descriptive text in part 3 of Introduction to DataFrames.jl HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataframes.