Comments (8)
from py4fi2nd.
Are you saying that it worked once but not a second time?
With your description alone it is hard to tell what might go wrong.
from py4fi2nd.
from py4fi2nd.
I'm pretty new to linux, so I may be making some really basic mistakes here.
from py4fi2nd.
I think I'll try the whole procedure again from scratch :)
from py4fi2nd.
Ok, still have the same problem.
I follow the receipe in chapter Using Cloud Instances.
My expected outcome is a fully set up python workspace.
Pre-requisites:
- I have created a droplet on DigitalOcean, and acquired access via ssh, so that I can move files across.
- This is my welcome screen:
- I have updated Jupyter notebook config file with a new password
- I have put all these install files (install.sh, jupyter_notebook_config.py, reset_droplet.sh, setup.sh) in a folder named cloud under my user
- using root user, I have run the command bash setup.sh my.ip.address
- the software does not find the files, it seems like a problem finding the IP address?
- No copies of the install files seem to move to the root user folder, so it seems like the first scp command in setup.sh fails
- running root@FirstDrop2:/home/havard/cloud# scp install.sh reset_droplet.sh [email protected]: results in error message. First, "the authenticity of host cannot be established, do you want to continue". Then, after "yes", the answer is permission denied (publickey)
- I've tried moving the files manually to /root, but it doesn't work either.
from py4fi2nd.
I think you approach is fundamentally "wrong".
You are already logged into the Droplet and then you try to use the code to setup a Droplet from the Droplet itself.
The code to setup the Droplet is to be executed from your LOCAL machine -- once you have created the Droplet and have the IP available.
I.e. the command bash setup.sh IP-ADDRESS
is to be executed on your machine to set up the Droplet remotely.
from py4fi2nd.
The whole procedure as described in the book and the code examples are designed to be initiated/executed from a LOCAL machine to set up a REMOTE machine. That is why you should follow the instructions and execute the code as described from a local machine and NOT on a Droplet.
from py4fi2nd.
Related Issues (17)
- Conda environment creation fails for 2nd Edition also? HOT 4
- ResolvePackageNotFound: HOT 1
- Ch 02 Cloud: install linux system tools, basic packages and jupyter notebook fails HOT 3
- Chapter 19 19.3 In[95] HOT 3
- Ch_02: there's no explicit solution in the book for the issue of Floating Point Arithmetic HOT 1
- Issue creating envirionment using p4fi2nd.yml HOT 2
- Solving enviroment: failed py4fi2nd HOT 2
- Page 533 wrong spread calculated HOT 1
- where can download the pylab model? HOT 2
- In py4fi2nd.yml, should "websocket-client" be "websocket_client"? HOT 1
- couldn't install yaml HOT 3
- Input/Output chapter 9 has path commands that throw errors in windows HOT 1
- Help on Chapter 17 HOT 2
- Python for finance
- .yml - Solving environment failed HOT 1
- question: chapter 15, regression, the calculation of return HOT 4
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 py4fi2nd.