Comments (3)
Currently, so haven't compiled with 3.12 yet. You have to download visual studio to be able to compile it on Windows. Just install 3.11 and it will work. I'll try to get a new release out next week for 3.12, but this will take some time.
Best
Bert
from pybinding.
Hi Bert,
Thanks for the fast response, I moved over to visual studio code and used miniconda to set up a 3.11 enviroment with the required dependancies but have been given a different error where pip gives a package dependencies error based off pytests, see below
`PS C:\Users\oldpo> pip install -i https://test.pypi.org/simple/ pybinding
Looking in indexes: https://test.pypi.org/simple/
Collecting pybinding
Using cached https://test-files.pythonhosted.org/packages/a1/bd/86636d8a926632bc8295231a44fa9c650fae720dfd4a91fb46321b1fdc0b/pybinding-1.0.3-cp311-cp311-win_amd64.whl.metadata (9.1 kB)
Requirement already satisfied: numpy>=1.12 in c:\users\oldpo\miniconda3\lib\site-packages (from pybinding) (1.26.2)
Requirement already satisfied: scipy>=0.19 in c:\users\oldpo\miniconda3\lib\site-packages (from pybinding) (1.11.4)
Requirement already satisfied: matplotlib>=3.5 in c:\users\oldpo\miniconda3\lib\site-packages (from pybinding) (3.8.0)
INFO: pip is looking at multiple versions of pybinding to determine which version is compatible with other requirements. This could take a while.
Using cached https://test-files.pythonhosted.org/packages/1a/a9/cdcccacc938912ce74f54bdd220b93fb0db6d32b43fbb0cc71e76ab3742b/pybinding-1.0.2-cp311-cp311-win_amd64.whl.metadata (9.1 kB)
Using cached https://test-files.pythonhosted.org/packages/33/ae/63fe200220ebd5cfee7f8d029cc5b644173a98da8bfd7630c76af44e6733/pybinding-1.0.1-cp311-cp311-win_amd64.whl.metadata (9.1 kB)
ERROR: Cannot install pybinding==1.0.1, pybinding==1.0.2 and pybinding==1.0.3 because these package versions have conflicting dependencies.
The conflict is caused by:
pybinding 1.0.3 depends on pytest>=5.0
pybinding 1.0.2 depends on pytest>=5.0
pybinding 1.0.1 depends on pytest>=5.0
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts`
from pybinding.
Hi,
You first need to run:
'pip install numpy pytest scipy matplotlib'
and then the installation of pybinding from test.pypi.org.
When on 3.11, the pybinding library is precompiled, so visual studio is not really necessary.
Best
Bert
from pybinding.
Related Issues (20)
- Problem with attaching leads to bilayer graphene HOT 3
- Fermi surface plotting HOT 2
- Divacancy in random HOT 2
- Random Disorder in multiorbital model HOT 1
- update PyBind11-version
- Bug in KPM method HOT 1
- (removed)
- The calc_conductivity in KPM takes in temperature as a number in the input variables
- Obtaining Atomic Basis Sets for Materials in Source Code HOT 2
- Small question about heatmap-plot of the eigenvalue. HOT 2
- can not install on windows HOT 5
- Addition of Hermitian conjugate HOT 1
- how to use Polygon.contains ? HOT 4
- installation with pip fails HOT 4
- pybinding returns an error for a 1D lattice defined by the book (literally) HOT 1
- Non-hermitian matrix HOT 2
- ERROR: Failed building wheel for pybinding HOT 2
- pybinding can not run on MAC with M3 chip. HOT 4
- Modifying specific hoppings HOT 4
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 pybinding.