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

Running the examples #7

Open
AnneMaelle opened this issue Jul 24, 2017 · 2 comments
Open

Running the examples #7

AnneMaelle opened this issue Jul 24, 2017 · 2 comments

Comments

@AnneMaelle
Copy link

AnneMaelle commented Jul 24, 2017

Hello,

I have just installed the Library following the Install wiki. When I try one of the example I have this error :

(pyenv) (C:\Users\abarneche\AppData\Local\Continuum\Anaconda3) C:\Users\abarneche\SOL>sol_train data/a1a a1a.model
Traceback (most recent call last):
  File "C:\Users\abarneche\SOL\pyenv\Scripts\sol_train-script.py", line 11, in <module>
    load_entry_point('sol==1.1.0', 'console_scripts', 'sol_train')()
  File "C:\Users\abarneche\SOL\pyenv\lib\site-packages\pkg_resources\__init__.py", line 563, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "C:\Users\abarneche\SOL\pyenv\lib\site-packages\pkg_resources\__init__.py", line 2651, in load_entry_point
    return ep.load()
  File "C:\Users\abarneche\SOL\pyenv\lib\site-packages\pkg_resources\__init__.py", line 2305, in load
    return self.resolve()
  File "C:\Users\abarneche\SOL\pyenv\lib\site-packages\pkg_resources\__init__.py", line 2311, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "C:\Users\abarneche\SOL\pyenv\lib\site-packages\sol-1.1.0-py3.6-win-amd64.egg\sol\__init__.py", line 8, in <module>
    from pysol import SOL
  File "python\pysol.pyx", line 5, in init python.pysol (python/pysol.cpp:8874)
    import numpy as np
SystemError: Parent module 'pysol' not loaded, cannot perform relative import

Thank you

@AnneMaelle
Copy link
Author

I forgot to mention, I installed the python scripts on Windows

@yuewu001
Copy link
Contributor

yuewu001 commented Aug 1, 2017

are u using python3? can you try python2 instead?

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

2 participants