First visit? Checkout the "welcome" post

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
start a store
#15
Hi again, i am back.

Within the next days i will start again on my store project.

My first goal was to install python Version 2.7.9

> Here is the link of the version 2.7.9
> https://www.python.org/downloads/release/python-279/

Ok, that worked out fine - but with no help to me whatsoever......

After the successfull installation oft python 2.7.9 the system reported 36 broken packages resulting from this python installation.
After sudo update/upgrade everything was allright again. Python 2.7.11-1 is installed now and this keeps the system running and it seems that this python version is not interfering with my bazaar installation ( as far as i can see for this moment).

So as a result it is not the version 2.7.9 needed, but the latest according to the linux dsitri but not older than 2.7.9.


I had a lot to learn and try but now at least this problem seems to be solved. Gracias

After this i made myself up to installing the bazaar script.

> This might solve it...
> I sent Abanob this install instruction I had been using,
> https://drive.google.com/open?id=0B8u7PF...3hldnlDU1U
> [url=https://drive.google.com/open?id=0B8u7PFOdgShCYmdER3hldnlDU1U][/url]

I downloaded the script an read it before - goog idea! As i could read this script is for *buntu 15.10 (codename vivid).

the current LTS distri is 16.04. the mentioned script is taken from the githup channel of DrWasho from Australia. On his githup page we can find all kinds of installation scripts for bazaar.

I also read the script for 16.04 and decided to install the 16.04 script. Sorry - not install the script, rather use it line by line.

It starts with sudo apt get update / upgrade to set the system to current state and so on.

I took every line and executed each line one after the other.

Now its getting interesting.

It seems to be important to install not only line by line but also to install some commands before installing other commands.

So eventually i got the main line with all different installations installed. Fine so far.

> sudo apt-get install -y git build-essential libssl-dev libffi-dev python-dev openssl python-pip libzmq3-dev libsodium-dev
> autoconf libzmq-dev pkg-config libtool

(here the order seems to be significant) I got it after some tries.


> (cd /$HOME/; sudo git clone https://github.com/OpenBazaar/OpenBazaar-Server.git)

This line seems to be the same on every system and i got it going fine. Exept from one thing,....

> The directory '/home/<user>/.cache/pip' or its parent directory is not owned by the current user and caching wheels has
> been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

Here we seem to have a major problem. The whole directory -OpenBazaar-Server- is owned by root but situated in the User/home folder. I think some installations, copies, commands are not executed properly, because the >user< has not the permissions on this directory that are needed.
I may be wrong, but it is worth a look into it.

Lets got to the last line in the script.

> (cd /$HOME/OpenBazaar-Server; sudo pip install -r requirements.txt)

After some time of installation i get the following output

> Complete output from command python setup.py egg_info:
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: No module named setuptools
>
> ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-q5bYe3/cryptography/


Finally i have two problems with my installation,

first there is this owner problem with the OpenBazaar-Server directory.
Maybe it is nessesary to change the owner during installation (but how?)

second the missing module setuptools. I have no idea for that.

This was a rather long text, but hopefully it helps to find the faults in executing this script.
Reply


Messages In This Thread
start a store - by bananajoe - 04-18-2017, 05:12 PM
RE: start a store - by andy - 04-20-2017, 03:44 PM
RE: start a store - by jenn_ob1 - 04-20-2017, 08:08 PM
RE: start a store - by bananajoe - 04-22-2017, 08:48 AM
RE: start a store - by andy - 04-22-2017, 01:12 PM
RE: start a store - by bananajoe - 04-24-2017, 07:36 PM
RE: start a store - by andy - 05-03-2017, 06:30 PM
RE: start a store - by bananajoe - 05-16-2017, 07:00 PM
RE: start a store - by andy - 05-17-2017, 09:35 AM
RE: start a store - by andy - 05-19-2017, 08:58 PM
RE: start a store - by jenn_ob1 - 05-19-2017, 05:11 PM
RE: start a store - by andy - 05-17-2017, 03:39 AM
RE: start a store - by andy - 05-21-2017, 04:22 PM
RE: start a store - by bananajoe - 05-23-2017, 08:13 AM
RE: start a store - by bananajoe - 06-18-2017, 07:47 PM
RE: start a store - by andy - 06-28-2017, 06:48 PM



Users browsing this thread: 1 Guest(s)