# Node installation error (windows)

**URL:** <https://forums.counterparty.io/t/node-installation-error-windows/3918>\
**Category:** Counterparty\
**Created:** [October 20, 2017, 12:12pm UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918 "2017-10-20T12:12:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![KarelDeGrote](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@KarelDeGrote](https://forums.counterparty.io/u/KarelDeGrote)\
**Post date:** [October 20, 2017, 12:12pm UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/1 "2017-10-20T12:12:58Z")

</div>

For a project I want to install a federated node.  
I am using Windows 8.1 and the command prompt MINGW64.  
I am simply following the guide, but keep getting errors.

When running the following:  
 ![image](https://canada1.discourse-cdn.com/flex004/uploads/counterpartytalk/original/1X/1467d246908558d9860b7f11ee0d45042f81f1e6.png)

There are no error messages until the step "fednode install .

When I continue with the guide and run the command “fednode install full develop” the following appears:

 ![image](https://canada1.discourse-cdn.com/flex004/uploads/counterpartytalk/original/1X/795db2ef6710182f587bb96cf833da155b88e8b2.png)  
 ![image](https://canada1.discourse-cdn.com/flex004/uploads/counterpartytalk/original/1X/d8a3661283414c9815590d64d5f13f2d6b57ac07.png)

I have tried to use the Windows command prompt, result is the same. Not able to download.  
 ![image](https://canada1.discourse-cdn.com/flex004/uploads/counterpartytalk/original/1X/f708e1c864355ec074729ea6db37b497209522c2.png)

Any ideas why I am unable to install?

---

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [October 21, 2017, 8:43am UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/2 "2017-10-21T08:43:59Z")

</div>

Oooh, the Windows Federated Node code is “beta”, so to speak, I don’t know if anyone is actually using it.

Couple of suggestions:

1. Install Hyper-V or VirtualBox with Ubuntu 16.04 and then install Federated Node in that VM, that works well.
2. If you want to keep trying (warning: you may waste a lot of time and still not get it to work) I suggest you look at the federatednode Python script and run those commands one by one (copy, paste, Enter) and you’ll easily find where it breaks.
3. Regarding the `python.exe` error, make sure Python executable is in your user or system path. For example, this ought to work without going to `c:\python35\bin` or wherever `python.exe` is located. You can google it, it’s a generic problem with any user installed binaries on Windows. Search for `python.exe is not recognized as an internal or external command` or and such.

```auto
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Windows\System32>python -V
Python 3.5.4

```

---

<div class="post-metadata">

**Author:** ![KarelDeGrote](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@KarelDeGrote](https://forums.counterparty.io/u/KarelDeGrote)\
**Post date:** [October 23, 2017, 12:45pm UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/3 "2017-10-23T12:45:09Z")

</div>

Thanks for the quick response.

I have switched to Ubuntu, it all worked out except for running ‘fednode install base master’.  
Some Googling led me to an answer, change the whoami command.  
After changing everything installed.

Thanks!

---

<div class="post-metadata">

**Author:** ![KarelDeGrote](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@KarelDeGrote](https://forums.counterparty.io/u/KarelDeGrote)\
**Post date:** [October 24, 2017, 12:30pm UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/4 "2017-10-24T12:30:17Z")

</div>

After succesfully running “fednode install counterblock master” i ran “fednode ps”

## karel@karel-VirtualBox:~$ fednode ps Name Command State Ports

federatednode\_bitcoin- start.sh Exit 255 0.0.0.0:18332-\>18332/tcp,  
testnet\_1 18333/tcp, 8332/tcp,  
8333/tcp  
federatednode\_bitcoin\_1 start.sh Exit 255 18332/tcp, 18333/tcp,  
0.0.0.0:8332-\>8332/tcp,  
8333/tcp  
federatednode\_counterblock- start.sh Exit 0  
testnet\_1  
federatednode\_counterblock\_1 start.sh Exit 0  
federatednode\_counterparty- start.sh Exit 0  
testnet\_1  
federatednode\_counterparty\_1 start.sh Exit 0  
federatednode\_mongodb\_1 docker-entrypoint.sh mongod Exit 255 127.0.0.1:27017-\>27017/tcp  
federatednode\_redis\_1 docker-entrypoint.sh redis Exit 255 6379/tcp

i tried to run “fednode tail counterparty” and it resulted in the following:

karel@karel-VirtualBox:~$ fednode tail counterparty  
Attaching to federatednode\_counterparty\_1  
counterparty\_1 | python3: can’t open file ‘setup.py’: [Errno 2] No such file or directory  
counterparty\_1 | python3: can’t open file ‘setup.py’: [Errno 2] No such file or directory  
counterparty\_1 | Traceback (most recent call last):  
counterparty\_1 | File “/usr/local/bin/counterparty-server”, line 5, in   
counterparty\_1 | from pkg\_resources import load\_entry\_point  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 2927, in   
counterparty\_1 | @\_call\_aside  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 2913, in \_call\_aside  
counterparty\_1 | f(\*args, \*\*kwargs)  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 2940, in \_initialize\_master\_working\_set  
counterparty\_1 | working\_set = WorkingSet.\_build\_master()  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 635, in \_build\_master  
counterparty\_1 | ws.require( **requires** )  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 943, in require  
counterparty\_1 | needed = self.resolve(parse\_requirements(requirements))  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 829, in resolve  
counterparty\_1 | raise DistributionNotFound(req, requirers)  
counterparty\_1 | pkg\_resources.DistributionNotFound: The ‘counterparty-cli’ distribution was not found and is required by the application  
counterparty\_1 | python3: can’t open file ‘setup.py’: [Errno 2] No such file or directory  
counterparty\_1 | python3: can’t open file ‘setup.py’: [Errno 2] No such file or directory  
counterparty\_1 | Traceback (most recent call last):  
counterparty\_1 | File “/usr/local/bin/counterparty-server”, line 5, in   
counterparty\_1 | from pkg\_resources import load\_entry\_point  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 2927, in   
counterparty\_1 | @\_call\_aside  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 2913, in \_call\_aside  
counterparty\_1 | f(\*args, \*\*kwargs)  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 2940, in \_initialize\_master\_working\_set  
counterparty\_1 | working\_set = WorkingSet.\_build\_master()  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 635, in \_build\_master  
counterparty\_1 | ws.require( **requires** )  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 943, in require  
counterparty\_1 | needed = self.resolve(parse\_requirements(requirements))  
counterparty\_1 | File “/usr/lib/python3/dist-packages/pkg\_resources/ **init**.py”, line 829, in resolve  
counterparty\_1 | raise DistributionNotFound(req, requirers)  
counterparty\_1 | pkg\_resources.DistributionNotFound: The ‘counterparty-cli’ distribution was not found and is required by the application  
federatednode\_counterparty\_1 exited with code 0

when tailing bitcoin i got this message after ~15hours of syncing:  
Federatednode\_bitcoin\_1 exited with code 255.

So this means that i am unable to sync to the latest blocks and unable to make a project in (test)blockchain?  
Also the federated node guide says that when all containers are running, so far as I know they are all running, counterparty-server would fully start and sync, but since installation nothing happened.

Did i do something wrong?

---

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [October 25, 2017, 2:04pm UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/5 "2017-10-25T14:04:57Z")

</div>

What Ubuntu version do you run - is it 14.04 or 17? We use 16.04 LTS as the documents say.

When you type “df -H” do you see any filesystem full?

---

<div class="post-metadata">

**Author:** ![jdogresorg](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/jdogresorg/32/1349_2.png) [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Post date:** [October 25, 2017, 3:28pm UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/6 "2017-10-25T15:28:06Z")

</div>

Side-Note: If your looking to do dev work and this fednode installation issue is preventing you from working on a project… feel free to use the public development servers I provide to do dev work until your fednode issue is resolved.

[https://coindaddy.io/public-development-servers](https://coindaddy.io/public-development-servers)

🙂

---

<div class="post-metadata">

**Author:** ![KarelDeGrote](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@KarelDeGrote](https://forums.counterparty.io/u/KarelDeGrote)\
**Post date:** [October 26, 2017, 8:14am UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/7 "2017-10-26T08:14:05Z")

</div>

karel@karel-VirtualBox:~$ df -H  
Filesystem Size Used Avail Use% Mounted on  
udev 2,1G 0 2,1G 0% /dev  
tmpfs 415M 6,4M 408M 2% /run  
/dev/sda1 135G 94G 35G 74% /  
tmpfs 2,1G 20M 2,1G 1% /dev/shm  
tmpfs 5,3M 4,1k 5,3M 1% /run/lock  
tmpfs 2,1G 0 2,1G 0% /sys/fs/cgroup  
tmpfs 415M 58k 415M 1% /run/user/1000

karel@karel-VirtualBox:~$ lsb\_release -a  
No LSB modules are available.  
Distributor ID: Ubuntu  
Description: Ubuntu 16.04.3 LTS  
Release: 16.04  
Codename: xenial

---

<div class="post-metadata">

**Author:** ![KarelDeGrote](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@KarelDeGrote](https://forums.counterparty.io/u/KarelDeGrote)\
**Post date:** [October 26, 2017, 10:18am UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/8 "2017-10-26T10:18:49Z")

</div>

Hey Jdog,

Is there a tutorial how to gain acces to the service through ubuntu?  
When running the example Python script the following error message appears after logging in with the username and password:  
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

How can this be resolved? (I am a dummy in this area.)

---

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [October 26, 2017, 12:08pm UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/9 "2017-10-26T12:08:59Z")

</div>

Did you run “sudo ln -sf `pwd`/fednode.py /usr/local/bin/fednode” from the right place?

It seems that setup of Counterparty docker container didn’t end up well… Sometimes (especially if your server doesn’t have an SSD), Docker download partially fails (because it downloads stuff with too many parallel processes for the hardware to digest).

Can you try to run `sudo apt-get install coreutils` and then `fednode rebuild counterblock` to try again? Your blockchain data (if any) will remain in place.

Watch the log of install process for any errors.

To your question about accessing the public services from the Internet, here’s an example: [How to create a send transaction on Counterparty?](https://forums.counterparty.io/t/how-to-create-a-send-transaction-on-counterparty/2429)

You could use the `curl` command and pass it a JSON file (with JSON-RPC commands) as input, to send commands to public RPC server.  
On Windows it’s much harder, so I wrote only that guide: [How to use curl to access the Counterparty API from Windows](https://forums.counterparty.io/t/how-to-use-curl-to-access-the-counterparty-api-from-windows/2598)  
On Linux it’s easier, so read these two articles and you should be able to do that from Linux shell.

---

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [October 27, 2017, 6:14am UTC](https://forums.counterparty.io/t/node-installation-error-windows/3918/10 "2017-10-27T06:14:24Z")

</div>

I noticed that often (even in my case, and I have a good node) due to network and other issues, Docker downloads sometimes fail midway, etc.  
That’s why I asked you to watch the screen as the thing is getting installed.  
In Docker options you can change it to download not more than 1 thing at a time, which increases install time, but decreases the likelihood of timeouts (ref: [https://docs.docker.com/engine/reference/commandline/dockerd/#description](https://docs.docker.com/engine/reference/commandline/dockerd/#description) - `--max-concurrent-downloads`)
