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

CoLab Failure / Crash Step 10 #43

Closed
jnevin opened this issue Apr 11, 2023 · 4 comments
Closed

CoLab Failure / Crash Step 10 #43

jnevin opened this issue Apr 11, 2023 · 4 comments

Comments

@jnevin
Copy link

jnevin commented Apr 11, 2023

Hey YuliangXiu

This new issue just raised on Step 10 of ECON Colab:

image

@jnevin
Copy link
Author

jnevin commented Apr 11, 2023

@YuliangXiu - i repeated prior Step 9 just to make sure, and still had above failure in Step 10. Looks like an issue with the ext_modules option settings

@kwan3854
Copy link
Contributor

I experienced the same error message as you did. I found out that the issue started occurring after yesterday's GitHub commit. You can resolve the problem by using the previous commit version. Modify the content of the 5th cell in Colab as follows:

# Clone the repository
!git clone https://github.com/YuliangXiu/ECON/
%cd ECON
!git checkout f93dcd94ff06abcc71a64379d9d26dd1642f495f

@YuliangXiu
Copy link
Owner

Fixed.

This code generates the error:

from Cython.Build import cythonize
from setuptools import find_packages, setup

This code does not generate the error:

from setuptools import find_packages, setup
from Cython.Build import cythonize

[1] https://stackoverflow.com/questions/21594925/error-each-element-of-ext-modules-option-must-be-an-extension-instance-or-2-t

@jnevin
Copy link
Author

jnevin commented Apr 11, 2023

@YuliangXiu wow - good catch! thanks I will re-test.

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

3 participants