Comments (2)
-
If you want a quick fix, do not use Python 3.8, use Python 3.9, 3.10 or 3.11 (not 3.12).
-
Perhaps putting the following statement at the top of your file (before importing simulated_bifurcation) might also solve the problem even on Python 3.8 (I am not sure it will work). Please let me know if it does.
from __future__ import annotations
-
Also, using
pip install https://github.com/bqth29/simulated-bifurcation-algorithm.git
instead ofpip install simulated_bifurcation
should solve the problem (it was corrected a couple of weeks ago). -
If you want to be able to use
pip install simulated_bifurcation
and Python 3.8 and the second solution did not work, you need to wait until the next release (it is actually close to ready but bqth29 and I currently don't have a lot of free time at the moment so you might need to wait a few weeks).
The problem is that a typo in the source code (an "l" insteand of an "L") made the code use a functionnality which is not available in Python 3.8. This was fixed in a commit a few weeks back.
from simulated-bifurcation-algorithm.
Thanks for your quick reply. It works well with Python 3.9, but the second solution is not compatible with 3.8.
from simulated-bifurcation-algorithm.
Related Issues (10)
- [BUG] MemoryError when creating an instance of IntegerPolynomial for integers with a large number of bits HOT 1
- [ENH] Add Integer Portfolio Optimization HOT 7
- [BUG] Algorithm performance dwindles when the number of agents increases
- [ENH] Replace `logging.warning` with `warnings.warn`
- RuntimeError: expected m1 and m2 to have the same dtype, but got: double != float HOT 1
- SB Optimizer computation dtype v. Model dtype HOT 1
- ValueError: Matrix must be square. HOT 3
- RuntimeError: expected scalar type Double but found Float HOT 2
- [ENH] Speed up computation when agents have converged
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 simulated-bifurcation-algorithm.