GithubHelp home page GithubHelp logo

Comments (5)

localhuman avatar localhuman commented on July 18, 2024 1

Seems like pyenv could mess with paths, especially in regards to virtual environments. https://github.com/pyenv/pyenv#managing-virtual-environments

Related issue:
pyenv/pyenv#415

from neo-boa.

WhaleChen avatar WhaleChen commented on July 18, 2024 1
(venv) whaledeMBP:neo-python whale$ python3
Python 3.5.4 (v3.5.4:3f56838976, Aug  7 2017, 12:56:33) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from boa.compiler import Compiler
>>> Compiler.load_and_save('./neo-ico-template/ico_template.py')
LOADING AND SAVING! ./neo-ico-template/ico_template.py 
Trimming load self method

@localhuman Thx!!! Done. The problem is caused by pyenv ~ Many thx~

from neo-boa.

WhaleChen avatar WhaleChen commented on July 18, 2024

yes! My system is Mac OS X EI Captain version 10.11.6.

  • python 3.5.1
  • neo-boa 0.2.0
  • requirements.txt installed
SystemError: Parent module 'boa.blockchain.vm.Neo.Runtime' not loaded, cannot perform relative import

I do not understand why cannot perform relative import and how to do absolute import instead~ Many Thx!

from neo-boa.

localhuman avatar localhuman commented on July 18, 2024

Ok, just tried to reproduce, but cannot. It looks like you're using pyenv ? I think that may be causing the issue.

from neo-boa.

kilimchoi avatar kilimchoi commented on July 18, 2024

@WhaleChen I'm hitting the same issue. Would you mind explaining how you resolved it?

from neo-boa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.