Comments (6)
I think what you are looking for is the development version of libpysal instead of pysal. If that is the case, you need to fork and clone pysal/libpysal. Once you have done that, you need to change the python path pointing to the directory of your local libpysal. After doing that, you should be able to import the dev version of libpysal which has included the bug fix in lag_categorical
.
from giddy.
Thanks, but I still get the same error message. The CHANGELOG.TXT file starts with the text
"v<1.13.0>, 2016-11-24
We closed a total of 38 issues, 7 pull requests and 31 regular issues;
this is the full list (generated with the script
:file:tools/github_stats.py
):"
Is this the correct version of libpysal? I am only able to access the master Branch in github. Please, where to find the development version and check it is the right one to use. I realise this is more generic help than an actual package issue. Sorry.
print (sys.path)
['', 'C:\ProgramData\Anaconda3\python36.zip', 'C:\ProgramData\Anaconda3\DLLs', 'C:\ProgramData\Anaconda3\lib', 'C:\ProgramData\Anaconda3', 'C:\ProgramData\Anaconda3\lib\site-packages', 'C:\ProgramData\Anaconda3\lib\site-packages\Babel-2.5.0-py3.6.egg', 'C:\ProgramData\Anaconda3\lib\site-packages\giddy-1.0.2-py3.6.egg', 'C:\ProgramData\Anaconda3\lib\site-packages\esda-1.0.1.dev0-py3.6.egg', 'C:\ProgramData\Anaconda3\lib\site-packages\mapclassify-1.0.1-py3.6.egg', 'C:\ProgramData\Anaconda3\lib\site-packages\win32', 'C:\ProgramData\Anaconda3\lib\site-packages\win32\lib', 'C:\ProgramData\Anaconda3\lib\site-packages\Pythonwin', 'C:\ProgramData\Anaconda3\lib\site-packages\IPython\extensions', 'C:\Users\steph_000\.ipython']
sys.path.append('D:/SDC/TOAC/libpysal-master')
print (sys.path)
['', 'C:\ProgramData\Anaconda3\python36.zip', 'C:\ProgramData\Anaconda3\DLLs', 'C:\ProgramData\Anaconda3\lib', 'C:\ProgramData\Anaconda3', 'C:\ProgramData\Anaconda3\lib\site-packages', 'C:\ProgramData\Anaconda3\lib\site-packages\Babel-2.5.0-py3.6.egg', 'C:\ProgramData\Anaconda3\lib\site-packages\giddy-1.0.2-py3.6.egg', 'C:\ProgramData\Anaconda3\lib\site-packages\esda-1.0.1.dev0-py3.6.egg', 'C:\ProgramData\Anaconda3\lib\site-packages\mapclassify-1.0.1-py3.6.egg', 'C:\ProgramData\Anaconda3\lib\site-packages\win32', 'C:\ProgramData\Anaconda3\lib\site-packages\win32\lib', 'C:\ProgramData\Anaconda3\lib\site-packages\Pythonwin', 'C:\ProgramData\Anaconda3\lib\site-packages\IPython\extensions', 'C:\Users\steph_000\.ipython', 'D:/SDC/TOAC/libpysal-master']
from giddy.
Don't worry about the changelog. The source code you cloned from pysal/libpysal is the most updated version. Right now, we only have one branch: master. So you do not need to worry about switching branches. It might be helpful to try the second method of changing python path. Or follow the procedures
- in a terminal:
touch ~/.bashrc; open ~/.bashrc
- add the libpysal path to bash_profile:
export PYTHONPATH=$PYTHONPATH:/custom/path/to/libpysal
- in the terminal:
source ~/.bashrc
Let me know if it does not work.
from giddy.
from giddy.
I think you accidentally closed the issue. I've just reopened it.
You can open a terminal (Command Prompt on Windows) from Window Power users menu:
from giddy.
from giddy.
Related Issues (20)
- update supported for Python version HOT 3
- How to use spatial_markov model by adopting my own data HOT 1
- how use my own data HOT 1
- notebook links are returning 404 HOT 2
- fail gracefully when `splot` not installed
- swap out `setup.py` for `pyproject.toml`
- giddy import fails due to numba missing `generated_jit` HOT 5
- environment.yml out of date
- Notebook links on landing page are broken HOT 1
- exposing the package version HOT 16
- np.int depreceated HOT 10
- Not a bug and not a request BUT is giddy.markov.Spatial_Markov stochastic? HOT 6
- the spatial lags : related to issue 215 HOT 4
- failing tests (numpy outputting data type in addition to the value) HOT 4
- adopt `ruff` for both linting & formatting
- add explicit Mac intel testing environment
- CI maint for standard naming, oldest dependencies, & Python 3.12
- drop 3.9 as minimally support Python version? HOT 1
- update chat from `gitter` to `discord` HOT 3
- some linting adjustments [2024-07-15]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from giddy.