Git Product home page Git Product logo

Comments (3)

BertJorissen avatar BertJorissen commented on July 28, 2024

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.

oldpoppasmurf avatar oldpoppasmurf commented on July 28, 2024

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:

  1. loosen the range of package versions you've specified
  2. 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.

BertJorissen avatar BertJorissen commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.