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

Importing pandas issue? #71

Open
dgamarnik opened this issue Jan 21, 2018 · 0 comments
Open

Importing pandas issue? #71

dgamarnik opened this issue Jan 21, 2018 · 0 comments

Comments

@dgamarnik
Copy link

dgamarnik commented Jan 21, 2018

I keep getting this error which I think is from spyder trying to import pandas:

File "C:\Users\GamaD\Anaconda3\lib\site-packages\numpy\lib\npyio.py", line 8, in
import pandas as pd

File "C:\Users\GamaD\Anaconda3\lib\site-packages\pandas_init_.py", line 35, in
"the C extensions first.".format(module))

ImportError: C extension: 'iNaT' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.

The first few lines of code are:

#Problem Set 2

#Name : Dan Gamarnik

#Date : 1/21/2018
import os
import math
import scipy.optimize as opt
import numpy as np
import scipy.stats as sts
import matplotlib.pyplot as plt
np.seterr(all='ignore')

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

1 participant