Closed kdenhartog closed 6 years ago
We don't support Mac now, only Ubuntu 16.
Figured out an alternative way using the docker script. It was confusing to know the version for the build with build-indy-plenum-docker.sh because I had to include a version. Also, running the container was confusing, so I'm going to make an PR to the documentation for that and help my team migrate to developing within the docker instances. docker run -it --name indy-plenum -v <local repo location>/indy-plenum:/home/indy-dev indy-plenum-build-u1604 bash
Here's the stack trace I'm getting when trying to run tests from Master build. I believe it is specific to my python build because it's not able to find this standard package which is supposed to built into python3. I am currently installing a python3 (3.5.2) instance through pyenv. Any suggestions on how to resolve this?
Traceback (most recent call last): File "/Applications/PyCharm.app/Contents/helpers/pydev/pydev_run_in_console.py", line 52, in run_file pydev_imports.execfile(file, globals, locals) # execute the script File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "/Users/kyle/garage/indy/indy-plenum/plenum/test/primary_election/test_primary_election_case2.py", line 3, in
from stp_core.loop.eventually import eventually
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 20, in do_import
module = self._system_import(name, *args, kwargs)
File "/Users/kyle/garage/indy/indy-plenum/stp_core/loop/eventually.py", line 9, in
from stp_core.common.log import getlogger
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 20, in do_import
module = self._system_import(name, *args, *kwargs)
File "/Users/kyle/garage/indy/indy-plenum/stp_core/common/log.py", line 6, in
from stp_core.common.logging.CompressingFileHandler import CompressingFileHandler
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 20, in do_import
module = self._system_import(name, args, kwargs)
File "/Users/kyle/garage/indy/indy-plenum/stp_core/common/logging/CompressingFileHandler.py", line 4, in
import lzma
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 20, in do_import
module = self._system_import(name, *args, kwargs)
File "/Users/kyle/.pyenv/versions/3.5.2/lib/python3.5/lzma.py", line 26, in
from _lzma import
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 20, in do_import
module = self._system_import(name, args, kwargs)
ImportError: No module named '_lzma'