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

File Error Not Found - Multiple notebooks #60

Open
thedatalass opened this issue Jul 13, 2019 · 0 comments
Open

File Error Not Found - Multiple notebooks #60

thedatalass opened this issue Jul 13, 2019 · 0 comments
Assignees
Labels

Comments

@thedatalass
Copy link

thedatalass commented Jul 13, 2019

Dispersion Test

import os
os.chdir('/Users/toshan/dev/pysal/pysal/contrib/spint')
from count_model import CountModel
import numpy as np
import pandas as pd
from gravity import Gravity, Production, Attraction, Doubly, BaseGravity
import statsmodels.formula.api as smf
from statsmodels.api import families
os.chdir('/Users/toshan/dev/pysal/pysal/contrib/glm')
from glm import GLM
from family import Poisson, QuasiPoisson

import pysal
import os
os.chdir('/Users/toshan/dev/pysal/pysal/contrib/spint')
from dispersion import alpha_disp, phi_disp
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-1-b8d025f70293> in <module>
      1 import os
----> 2 os.chdir('/Users/toshan/dev/pysal/pysal/contrib/spint')
      3 from count_model import CountModel
      4 import numpy as np
      5 import pandas as pd

FileNotFoundError: [Errno 2] No such file or directory: '/Users/toshan/dev/pysal/pysal/contrib/spint'

NetW

import numpy as np
import os
os.chdir('/Users/toshan/dev/pysal/pysal/weights')
from spintW import netW, mat2L
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-1-a4e23daf5780> in <module>
      1 import numpy as np
      2 import os
----> 3 os.chdir('/Users/toshan/dev/pysal/pysal/weights')
      4 from spintW import netW, mat2L

FileNotFoundError: [Errno 2] No such file or directory: '/Users/toshan/dev/pysal/pysal/weights'
@thedatalass thedatalass changed the title File Error - Dispersion Test File Error Not Found - Multiple notebooks Jul 13, 2019
@ljwolf ljwolf added the bug label Jul 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants