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

Python3.4 Compatibility Issues ... Package Support #61

Closed
sanguineturtle opened this issue Aug 21, 2014 · 9 comments
Closed

Python3.4 Compatibility Issues ... Package Support #61

sanguineturtle opened this issue Aug 21, 2014 · 9 comments

Comments

@sanguineturtle
Copy link
Contributor

Issue with 1 x nosetest failure in python3.4:

The issue is that the anaconda installer for python3.4 doesn't package statsmodels or scikits. There are 141 packages in python 3.4 version of anaconda vs. 197 packages in the python 2.7 version.

Also running conda install statsmodels renders an “Unsatisfiable package specifications” error.

http://stackoverflow.com/questions/23343484/python-3-statsmodels

It does look like the majority of statsmodels will however run in python 3.
http://statsmodels.sourceforge.net/devel/introduction.html#python-3

It also looks like statsmodels is available in the continuum repository of packages for py3.3 – but there must be some conflict with python3.4. [If it’s in python 3.3 I can’t imagine it will be long] I have emailed continuum to see if there is a timeline for inclusion. Then perhaps we can compile a list of dependencies and check them against 3.4 standard inclusions.

In the meantime - should we put a warning box on page http://quant-econ.net/getting_started.html that the majority of the package will work with python 3.4 but from time to time a few errors may crop up due to the evolving package support in python3.4?

@cc7768
Copy link
Member

cc7768 commented Aug 21, 2014

Yes, I should have pointed this out earlier. When I was setting up the Travis stuff it wouldn't let me install stats models through anaconda. Good idea to add the warning.

@sanguineturtle
Copy link
Contributor Author

A warning message has been submitted via a PR re this issue.
Leaving open so that when python 34 is updated with all of the required dependencies, this warning can be removed.

@sanguineturtle
Copy link
Contributor Author

Anaconda 2.1 has just been released which includes statsmodels. Time for a retest of QuantEcon with Anaconda 2.1 and Python 3.4? Any other known missing dependencies?

@sglyon
Copy link
Member

sglyon commented Jan 28, 2015

Ping. @mmcky, have you tried testing against 3.4 with new anaconda?

@sanguineturtle sanguineturtle removed their assignment Jan 28, 2015
@mmcky
Copy link
Contributor

mmcky commented Jan 28, 2015

@spencerlyon2 Just ran tests in a new python 3 environment. Most are passing! 👍
244 tests in 81.099s (SKIP=2)

Python2.4 environment runs 247 tests in 80.49s (SKIP=1)

I will have to dig a bit further to see why there are 3 different tests under Python2.4. Any ideas off the top of your head?

@cc7768
Copy link
Member

cc7768 commented Jan 28, 2015

Look at test_jv.py. I think we skipped them because something wasn't working right. I don't remember exactly what, I think it had to do with the optimization.

@mmcky
Copy link
Contributor

mmcky commented Jan 28, 2015

I see Travis is also passing for Python 3.3.

@jstac Propose to close this item. Should we remove the suggestion in the lecture notes to use Python 2.7 or wait a little longer until we test it out a bit more under Python 3? I would probably suggest wait a little longer until we start using python3 in development etc. as some of the packages we use (such as fabric) is still python 2.7.

Also for Anaconda. Python2.7 still has 244 packages to Python 3.4 which was 171. But python 3 support is growing quickly.

@jstac
Copy link
Contributor

jstac commented Jan 29, 2015

@mmcky I'll let you take care of this. Please close or leave open as you and others see fit. Let's leave the suggestion in the lectures for a bit longer.

@mmcky
Copy link
Contributor

mmcky commented Aug 4, 2015

Travis is currently passing. Main issues dealt with in this issue. Closing.

@mmcky mmcky closed this as completed Aug 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants