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

pandas0.19.2 make django1.10.4 not work #15459

Closed
llfccc opened this issue Feb 20, 2017 · 2 comments
Closed

pandas0.19.2 make django1.10.4 not work #15459

llfccc opened this issue Feb 20, 2017 · 2 comments
Labels
Duplicate Report Duplicate issue or pull request

Comments

@llfccc
Copy link

llfccc commented Feb 20, 2017

Code Sample, a copy-pastable example if possible

#coding=utf-8
from django.forms.models import model_to_dict  
from django.db import connection
import os,sys
import time,datetime
from .models import RegistrationTable
import pandas as pd

def insert_db(data,SupplierPaymentDict,company_name,chinese_name):
    return 0

Problem description

if i import pandas 0.19.2 into the programe ,only type
import pandas will make the error。
the error is ,if i use mod_wsgi4.4+apache2.4+django1.10.4 to run a website,i will got “127.0.0.1 is respording”,but if i use django‘runserver like “ python manage.py runserver ",it will work well。

but if i roll back to 0.18.0,all is ok

Output of pd.show_versions()

# Paste the output here pd.show_versions() here >>> pandas.show_versions()

INSTALLED VERSIONS

commit: None
python: 2.7.13.final.0
python-bits: 32
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None

pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.12.0
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.5.1
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: 3.2.2
numexpr: 2.6.1
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.2
bs4: 4.5.3
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.1.5
pymysql: 0.7.9.None
psycopg2: None
jinja2: 2.9.4
boto: 2.45.0
pandas_datareader: None

@jorisvandenbossche
Copy link
Member

This sounds similar to what is reported in #14641. Can you take a look at that issues and the possible solutions proposed?

@jreback jreback added Can't Repro Duplicate Report Duplicate issue or pull request labels Feb 20, 2017
@jreback jreback added this to the No action milestone Feb 20, 2017
@jreback
Copy link
Contributor

jreback commented Feb 20, 2017

closing as duplicate

@jreback jreback closed this as completed Feb 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Report Duplicate issue or pull request
Projects
None yet
Development

No branches or pull requests

3 participants