Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this is what i get when asking for help #4

Open
chrisfranko opened this issue Jan 30, 2015 · 7 comments
Open

this is what i get when asking for help #4

chrisfranko opened this issue Jan 30, 2015 · 7 comments

Comments

@chrisfranko
Copy link

root@franko:~/colorcore# python colorcore.py --help
Traceback (most recent call last):
File "colorcore.py", line 31, in
import colorcore.routing
File "/root/colorcore/colorcore/routing.py", line 126
return (yield from self.error(102, 'The request path is invalid', message))
^

@chrisfranko
Copy link
Author

Seems I get this error no matter what I do.

python colorcore.py getbalance

Traceback (most recent call last):
File "colorcore.py", line 31, in
import colorcore.routing
File "/root/colorcore/colorcore/routing.py", line 126
return (yield from self.error(102, 'The request path is invalid', message))
^
SyntaxError: invalid syntax

@Flavien
Copy link
Member

Flavien commented Feb 19, 2015

Sorry for the late reply. This sounds like you are using a python interpreter older than 3.4. Can you try to follow these steps to make sure you are using the 3.4 interpreter and see if it helps: #1 (comment)

@chrisfranko
Copy link
Author

happy@happiness:$ sudo apt-get install python3.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
happy@happiness:
$ sudo python3.4 -m ensurepip
/usr/bin/python3.4: No module named ensurepip
happy@happiness:$ sudo pip3.4 install --upgrade setuptools
sudo: pip3.4: command not found
happy@happiness:
$ sudo pip3.4 install --upgrade -r requirements.txt
sudo: pip3.4: command not found

@donpdonp
Copy link

If you need pip for python on ubuntu, run
$ sudo apt-get install python-pip

after that, running pip directly should work, no need to say pip3.4.

@chrisfranko
Copy link
Author

donp yea that's what i originally did haha and i kept getting that weird error.

@hughmadden
Copy link

pretty late response but on ubuntu you want something like:
apt-get install python3.4
apt-get install python3-pip
pip3 install openassets==1.3
pip3 install python-bitcoinlib==0.2.1
pip3 install aiohttp==0.9.2

then when you run colorcore:
python3.4 colorcore.py -h

@chrisfranko
Copy link
Author

you are a god

On 6 October 2015 at 06:31, hughmadden [email protected] wrote:

pretty late response but on ubuntu you want something like:
apt-get install python3.4
apt-get install python3-pip
pip3 install openassets==1.3
pip3 install python-bitcoinlib==0.2.1
pip3 install aiohttp==0.9.2

then when you run colorcore:
python3.4 colorcore.py -h


Reply to this email directly or view it on GitHub
#4 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants