Eclipse for Python in virtual Windows 10

Download  and install Java:

Download and install Python:

Download and install Eclipse Standard X.X (Luna):

  • Unzip contents to Program Files/Eclipse directory
  • Start eclipse.exe
  • Select a directory for your workspace
  • Close the Welcome page
  • Click Help and Install New Software. XX
  • Enter into the Work with text box and press Enter
  • Select only the top PyDev checkbox
  • Click Next, Next
  • Click Finish
  • The installation will pause, and a Selection Needed pop-up window appears. Check the box labeled Brainwy Software; Pydev; Brainwy. Click OK
  • Click Yes to restart Python
  • Click Window / Prefrences
  • Expand PyDef / Interpreters / Python Interpreter
  • Click New
  • Enter Python35 and select Python executable, click OK
  • Select all checkboxes / Click OK
  • Click OK
  • Click Allow Access
  • Click Window (to the left of Help on the far right of the line below this window’s blue title Java – Eclipse SDK), hover over Open Perspective in the pull-down menu and then click Other… in the next pull-down menu
  • Double-click PyDev
  • Right-click the Java icon to the left of the PyDev icon and select close

Zie ook:

Vagrant or Dockers?

Vagrant vs. Docker

Vagrant vs Docker: Which is better for WordPress development?

After reading the above article I’ve decided to start with Vagrant, and maybe some other time I’ll use Docker.


Vagrant – the command line utility for managing the lifecycle of virtual machines.


First install VirtualBox (other virtualization-software also possible):

Then install Vagrant:


Project setup

mkdir vagrant_getting_started
cd vagrant_getting_started
vagrant init

Change VAGRANT_HOME directory on windows

Read this:

Change VAGRANT_HOME directory on windows

Open a Command Prompt (Admin) and type this command:

setx VAGRANT_HOME "X:/your/path" /M

That’s it.

Installing a box

Boxes are added to Vagrant with vagrant box add. This stores the box under a specific name so that multiple Vagrant environments can re-use it.

vagrant box add hashicorp/precise64

Or, download a different box, see:

Using a box

Now that the box has been added to Vagrant, we need to configure our project to use it as a base. Open the Vagrantfile and change the contents to the following:

Vagrant.configure("2") do |config| = "hashicorp/precise64"

The “hashicorp/precise64” in this case must match the name you used to add the box above. This is how Vagrant knows what box to use. If the box was not added before, Vagrant will automatically download and add the box when it is run.

Up and SSH

It is time to boot your first Vagrant environment. Run the following from your terminal:

vagrant up

You will not actually see anything though, since Vagrant runs the virtual machine without a UI. To prove that it is running, you can SSH into the machine:

vagrant ssh

This command will drop you into a full-fledged SSH session.

When you are done fiddling around with the machine, run

vagrant destroy

back on your host machine, and Vagrant will terminate the use of any resources by the virtual machine.

The vagrant destroy command does not actually remove the downloaded box file. To completely remove the box file, you can use the

vagrant box remove NAME


Facebook Marketing API

These steps were easy:

Step 1: Create Ad Account
Step 2: Create Developer Account
Step 3: Create a New App
Step 4: Configure Facebook App Settings
Step 5: Install Facebook SDK’s

This one took me some time to figure out:

Step 6: Getting a User Access Token via Facebook Login

I managed to do this via the Python / PHP via Graph API Explorer. Open this Graph API Explorer and select your app on the right hand site, using the Get Token dropdown. The page refreshes. Hit Get Token > Get User Access Token. In Extended Permissions choose ads_management and/or ads_read. Click Get Access Token and use the user access token that will be presented to you in the access token form input field.

Django, Python en Facebook Ads API op Windows 10 in een virtuele omgeving installeren


  • Install Python (3.5.1), zie mijn vorige beschrijving;
  • pip install Django

Django project starten

  • Create project: django-admin startproject <ProjectName>
  • Start Webserver: python runserver
  • Solve unapplied migrations: python migrate
  • Create new app: python startapp <AppName>

Facebook API

  • pip install facebookads