Comments (8)
updating python and pip got past these errors:
brew install python
pip install --upgrade pip
but now I see:
ImportError: No module named utilitybelt
from stacks.js.
Can you post more details about the 'utilitybelt' error? Thanks!
from stacks.js.
$ blockstack
Traceback (most recent call last):
File "/usr/local/bin/blockstack", line 34, in
from blockstore_client.blockstore_cli import run_cli, exit_with_error
File "/Library/Python/2.7/site-packages/blockstore_client/init.py", line 24, in
import client
File "/Library/Python/2.7/site-packages/blockstore_client/client.py", line 37, in
import parsing, schemas, storage, drivers, config, spv, utils
File "/Library/Python/2.7/site-packages/blockstore_client/schemas.py", line 26, in
from pybitcoin.formatcheck import is_b58check_address
File "/Library/Python/2.7/site-packages/pybitcoin/init.py", line 10, in
import services
File "/Library/Python/2.7/site-packages/pybitcoin/services/init.py", line 12, in
from blockchain_info import BlockchainInfoClient
File "/Library/Python/2.7/site-packages/pybitcoin/services/blockchain_info.py", line 11, in
from ..hash import reverse_hash
File "/Library/Python/2.7/site-packages/pybitcoin/hash.py", line 13, in
from utilitybelt import is_hex
ImportError: No module named utility belt
$ python --version
Python 2.7.11
$ pip --version
pip 8.1.1 from /usr/local/lib/python2.7/site-packages (python 2.7)
$ brew --version
Homebrew 0.9.5 (git revision 1a266; last commit 2015-12-13)
from stacks.js.
FYI, I'm seeing a similar problem,.. with slightly different version numbers... under OS X 10.11.5
So although the "sudo pip install blockstack" succeeds,
running blockstack on my OS X failed :(... but then succeeded (jump to EOF). :)
...Installing collected packages: blockstack
Running setup.py install for blockstack ... done
Successfully installed blockstack-0.0.10.7
stidhcp-3-115:~ koppenho$ blockstack
Traceback (most recent call last):
File "/usr/local/bin/blockstack", line 34, in
from blockstore_client.blockstore_cli import run_cli, exit_with_error
File "/Library/Python/2.7/site-packages/blockstore_client/init.py", line 24, in
import client
File "/Library/Python/2.7/site-packages/blockstore_client/client.py", line 37, in
import parsing, schemas, storage, drivers, config, spv, utils
File "/Library/Python/2.7/site-packages/blockstore_client/storage.py", line 43, in
from config import log
File "/Library/Python/2.7/site-packages/blockstore_client/config.py", line 27, in
import virtualchain
File "/Library/Python/2.7/site-packages/virtualchain/init.py", line 28, in
from virtualchain import setup_virtualchain, run_virtualchain, stop_virtualchain, sync_virtualchain, stop_sync_virtualchain, virtualchain_set_opfields
File "/Library/Python/2.7/site-packages/virtualchain/virtualchain.py", line 38, in
from txjsonrpc.netstring import jsonrpc
File "/Library/Python/2.7/site-packages/txjsonrpc/netstring/jsonrpc.py", line 11, in
from twisted.internet import defer, protocol, reactor
File "/Library/Python/2.7/site-packages/twisted/init.py", line 55, in
_checkRequirements()
File "/Library/Python/2.7/site-packages/twisted/init.py", line 42, in _checkRequirements
raise ImportError(required + ".")
ImportError: Twisted requires zope.interface 3.6.0 or later.
stidhcp-3-115:~ koppenho$ python --version
Python 2.7.10
stidhcp-3-115:~ koppenho$ pip --version
pip 8.1.2 from /Library/Python/2.7/site-packages (python 2.7)
stidhcp-3-115:~ koppenho$ brew --version
Homebrew 0.9.9 (git revision aae44; last commit 2016-05-13)
Homebrew/homebrew-core (git revision b4a5; last commit 2016-05-13)
Note that after doing the following,.. I got further:
pip install zope.interface --upgrade
stidhcp-3-115:zope.interface-3.6.0 koppenho$ blockstack
Traceback (most recent call last):
File "/usr/local/bin/blockstack", line 34, in
from blockstore_client.blockstore_cli import run_cli, exit_with_error
File "/Library/Python/2.7/site-packages/blockstore_client/init.py", line 24, in
import client
File "/Library/Python/2.7/site-packages/blockstore_client/client.py", line 37, in
import parsing, schemas, storage, drivers, config, spv, utils
File "/Library/Python/2.7/site-packages/blockstore_client/storage.py", line 43, in
from config import log
File "/Library/Python/2.7/site-packages/blockstore_client/config.py", line 27, in
import virtualchain
File "/Library/Python/2.7/site-packages/virtualchain/init.py", line 28, in
from virtualchain import setup_virtualchain, run_virtualchain, stop_virtualchain, sync_virtualchain, stop_sync_virtualchain, virtualchain_set_opfields
File "/Library/Python/2.7/site-packages/virtualchain/virtualchain.py", line 38, in
from txjsonrpc.netstring import jsonrpc
File "/Library/Python/2.7/site-packages/txjsonrpc/netstring/jsonrpc.py", line 15, in
from txjsonrpc import jsonrpclib
File "/Library/Python/2.7/site-packages/txjsonrpc/jsonrpclib.py", line 8, in
from six.moves import xmlrpc_client
ImportError: cannot import name xmlrpc_client
What ultimately worked for me was to do this:
sudo rm -rf /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six*
sudo pip install six
Successfully installed six-1.10.0
stidhcp-3-115:python koppenho$ blockstack
usage: blockstack [-h]
{balance,config,price,deposit,import,info,status,ping,lookup,names,register,transfer,update,whois}
Blockstack cli version 0.0.12.7
yeah. success
kudos to Cheng from here: http://bit.ly/ChengBo_isAgod
from stacks.js.
A lot of these problems should be fixed in the new stable release (i.e. we don't rely on Twisted any longer). A new version of blockstack has been pushed to pip. Please re-open if you're still seeing problems.
from stacks.js.
Just for fun, I've returned on a fresh system a year later,.. I am now on a freshly installed (not upgrade) 10.12.4. I just installed Brew. Then did the OS X installations, with no errors, from https://blockstack.org/docs.
BUT,.. running 'Blockstack',.. I get this:
$ blockstack
Traceback (most recent call last):
File "/usr/local/bin/blockstack", line 42, in <module>
from blockstack_client.cli import run_cli, exit_with_error
File "/usr/local/lib/python2.7/site-packages/blockstack_client/__init__.py", line 24, in <module>
import app
File "/usr/local/lib/python2.7/site-packages/blockstack_client/app.py", line 40, in <module>
import wallet
File "/usr/local/lib/python2.7/site-packages/blockstack_client/wallet.py", line 50, in <module>
from .backend.crypto.utils import get_address_from_privkey
File "/usr/local/lib/python2.7/site-packages/blockstack_client/backend/__init__.py", line 21, in <module>
import registrar
File "/usr/local/lib/python2.7/site-packages/blockstack_client/backend/registrar.py", line 49, in <module>
from .queue import get_queue_state, in_queue, queue_removeall
File "/usr/local/lib/python2.7/site-packages/blockstack_client/backend/queue.py", line 33, in <module>
from ..proxy import get_default_proxy
File "/usr/local/lib/python2.7/site-packages/blockstack_client/proxy.py", line 42, in <module>
import storage
File "/usr/local/lib/python2.7/site-packages/blockstack_client/storage.py", line 47, in <module>
from scripts import is_name_valid
File "/usr/local/lib/python2.7/site-packages/blockstack_client/scripts.py", line 38, in <module>
from .keys import *
File "/usr/local/lib/python2.7/site-packages/blockstack_client/keys.py", line 42, in <module>
import fastecdsa.curve
File "/usr/local/lib/python2.7/site-packages/fastecdsa/curve.py", line 1, in <module>
from fastecdsa import curvemath
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/fastecdsa/curvemath.so, 2): Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
Referenced from: /usr/local/lib/python2.7/site-packages/fastecdsa/curvemath.so
Reason: image not found
So no... the new release doesn't appear to be an improved experience.
Just sayin.
from stacks.js.
@koppenhoefer thanks for sending the feedback! We're in the process of updating docs on our website (I just created this issue). The Blockstack Core README has the most recent installation guide.
From the log, I see that you're having issues with the fastecdsa installation. From the README, here are the instructions for macOS:
For macOS:
$ brew install gmp libffi openssl
$ sudo pip install --upgrade pip
$ sudo pip install blockstack --upgrade
Can you kindly try them out and see if this works? We're happy to help you with any issue. Apologies that you're having trouble. Blockstack Core packs a lot of complexity in it and getting it running smoothly on various distributions is a non-trivial issue. We're trying our best and have recently rolled out Azure images, AWS images, and docker images to try and make the process easier. Your feedback can help us improve more!
from stacks.js.
@muneeb-ali thanks for your swift and useful message.
YES, I confirm that your instructions fixed the issue for me. Thank-you!
from stacks.js.
Related Issues (20)
- Feature Request: Generate Bitcoin Address in wallet-sdk
- serialize methods should always output string, and add Bytes/Raw version of methods used internally
- new bufferCV bug HOT 1
- React Native: Environment does not have randomBytes function HOT 2
- Feature request: stacking helper function for `verify-signer-key-sig`
- Fix ABI buffer encoding
- `bigint` arguments HOT 4
- Rename pox address helpers HOT 1
- Proper Documentation and Easy example for beginners on Bitcoin Stacks HOT 1
- Remove `logger` code and replace with `console.` HOT 1
- @stacks/cli using deprecated module `punycode`
- Support OrderIndependentMultisigSpendingCondition in stacks.js
- Add private module to monorepo for testing helpers
- Add order-independent multisig implementation HOT 1
- Rebuild CLI
- SPIKE: Docs-first refactor [3 days]
- API key header name doesn't match documented header name HOT 1
- Docs-first Refactor
- Support for Post Conditions with PrinicipalID type `Origin`
- Add a waitForTransactionFunction
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 stacks.js.