Ceygen icon indicating copy to clipboard operation
Ceygen copied to clipboard

`pip` install fails

Open Krastanov opened this issue 8 years ago • 9 comments

  % pip install Ceygen                                                  
Downloading/unpacking Ceygen
  Downloading Ceygen-0.3.tar.gz
  Running setup.py (path:/tmp/pip-build-1uva238w/Ceygen/setup.py) egg_info for package Ceygen
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip-build-1uva238w/Ceygen/setup.py", line 18, in <module>
        module.language = "c++"
    AttributeError: 'list' object has no attribute 'language'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip-build-1uva238w/Ceygen/setup.py", line 18, in <module>

    module.language = "c++"

AttributeError: 'list' object has no attribute 'language'

Krastanov avatar Aug 06 '15 23:08 Krastanov

on python3.4 in virtualenv

Krastanov avatar Aug 06 '15 23:08 Krastanov

I get the same on Python 2.7, virtualenv too.

Dapid avatar Aug 28 '15 12:08 Dapid

Anyone found a solution? I am getting the same error.

chrisidefix avatar Sep 17 '15 11:09 chrisidefix

Hi all, sorry for replying so late - too little time lately, but I've been keeping an eye on this.

Has anyone tried with the current git version? It has seen quite some changes since 0.3 including builsystem changes. I may also do 0.4. -> some testing of current git would therefore greatly help.

strohel avatar Sep 17 '15 12:09 strohel

Just tested, still failing. I can try to upgrade it to setuptools and clean it up.

Dapid avatar Sep 17 '15 14:09 Dapid

The issue is related to this line: https://github.com/strohel/Ceygen/blob/master/setup.py#L18 Which hasn't changed since the 0.3 release from what I can see.

chrisidefix avatar Sep 17 '15 16:09 chrisidefix

Just to share info: this should be solved once @Dapid's pull request is merged.

strohel avatar Nov 18 '15 10:11 strohel

I just forked @Dapid's branch, merged and installed the fork via pip under python3 on ubuntu 16.04. All appears to be well. I'd rather not be using my silly fork. Is there a chance the pull request can be merged? Thanks!

kphretiq avatar Dec 13 '16 18:12 kphretiq

Hi, I don't know if it's related, but I get the following error: manolofc@achilles:~$ pip install ceygen Collecting ceygen Downloading Ceygen-0.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-gOjx4N/ceygen/setup.py", line 16, in modules = create_extension_list(['ceygen/.pyx', 'ceygen/tests/.pyx']) File "/tmp/exp/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 767, in create_extension_list create_extension = ctx.options.create_extension or default_create_extension AttributeError: 'NoneType' object has no attribute 'options'

I'm using Ubuntu 16.04. Thanks

MFernandezCarmona avatar Mar 01 '18 14:03 MFernandezCarmona