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

Error import cyac in shared_buffered branch #4

Closed
OblackatO opened this issue Nov 7, 2020 · 2 comments
Closed

Error import cyac in shared_buffered branch #4

OblackatO opened this issue Nov 7, 2020 · 2 comments

Comments

@OblackatO
Copy link
Contributor

Hello,

I would like to run some memory analysis and tests using the new shared_buffer branch. I would post those memory analysis in an issue, so that you could put them in the README.md if you like.

How I am facing the following problem:

>>> import cyac
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/cyac-1.0-py3.7-linux-x86_64.egg/cyac/__init__.py", line 2, in <module>
    from .ac import AC
  File "lib/cyac/ac.pyx", line 1, in init cyac.ac
    #cython: language_level=3, boundscheck=False, overflowcheck=False
  File "lib/cyac/trie.pyx", line 1, in init cyac.trie
    #cython: language_level=3, boundscheck=False, overflowcheck=False
ModuleNotFoundError: No module named 'cyac.util'

What I did to install it:

  • I cloned the cyac rep
  • git checkout shared_buffer
  • python3.7 setup.py build
  • python3.7 setup.py install
  • and then imported cyac and the error occurred.

Tried with python3.7 and 3.6.

@nppoly
Copy link
Collaborator

nppoly commented Nov 7, 2020

i havent finished it yet, i will tell you after implementation and test.

@OblackatO
Copy link
Contributor Author

ah ok. I am sorry. :( I saw the description on the README.md file and thought it was ready to use.

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