Giter Club home page Giter Club logo

Comments (14)

isuruf avatar isuruf commented on June 1, 2024 1

Can you try with a wheel from https://github.com/symengine/symengine-wheels/releases/tag/v0.7.0.post1 ?

from symengine-wheels.

rikardn avatar rikardn commented on June 1, 2024 1

It works using one of the fixed wheels:

(venv) C:\Users\Desktop\testing\venv>pip install C:\users\Downloads\symengine-0.7.0-cp37-cp37m-win_amd64.whl --upgrade
Processing c:\users\downloads\symengine-0.7.0-cp37-cp37m-win_amd64.whl
Installing collected packages: symengine
  Found existing installation: symengine 0.7.0
    Uninstalling symengine-0.7.0:
      Successfully uninstalled symengine-0.7.0
Successfully installed symengine-0.7.0
You are using pip version 19.0.3, however version 21.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

(venv) C:\Users\Desktop\testing\venv>python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import symengine
>>> symengine.Symbol('x') + symengine.Symbol('y')
x + y
>>> symengine.__version__
'0.7.0'

Thanks for fixing this and for creating the new github actions workflows! I'll test also from pypi as soon as the fixed version is available.

from symengine-wheels.

rikardn avatar rikardn commented on June 1, 2024 1

Ok, I have tested the new wheel in github actions on windows, macos and ubuntu using python 3.6, 3.7, 3.8 and 3.9. It works fine! Thanks again for the amazing work!

from symengine-wheels.

rikardn avatar rikardn commented on June 1, 2024

I can reproduce the same issue on my local Windows virtual machine.

from symengine-wheels.

rikardn avatar rikardn commented on June 1, 2024

Could it be because the dll now seems to be in the pyd file? Before it was separated. Or could it be a file naming issue?

Here is a dir listing of lib/ in symengine 0.7.0

2021-03-15  09:19    <DIR>          .
2021-03-15  09:19    <DIR>          ..
2021-03-15  09:07               209 config.pxi
2021-03-15  09:07         7 215 104 flint-15.dll
2021-03-15  09:07            82 944 mpc.dll
2021-03-15  09:07           420 352 mpfr.dll
2021-03-15  09:07           612 352 mpir.dll
2021-03-15  09:07            58 368 pthreadVSE2.dll
2021-03-15  09:07             7 929 pywrapper.h
2021-03-15  09:07            53 761 symengine.pxd
2021-03-15  09:07             2 180 symengine_wrapper.cp37-win_amd64.lib
2021-03-15  09:07        23 395 328 symengine_wrapper.cp37-win_amd64.pyd
2021-03-15  09:07             3 432 symengine_wrapper.pxd
2021-03-15  09:07                 0 __init__.py
2021-03-15  09:07    <DIR>          __pycache__
              12 File(s)     31 851 959 bytes
               3 Dir(s)  19 312 062 464 bytes free

and here is one for 0.6.1

-rw-r--r-- 1 rikard rikard      210 jun  2  2020 config.pxi
-rw-r--r-- 1 rikard rikard        0 jun  2  2020 __init__.py
-rw-r--r-- 1 rikard rikard    82944 jun  2  2020 mpc.dll
-rw-r--r-- 1 rikard rikard   420352 jun  2  2020 mpfr.dll
-rw-r--r-- 1 rikard rikard   612352 jun  2  2020 mpir.dll
drwxr-xr-x 2 rikard rikard     4096 jun  2  2020 __pycache__
-rw-r--r-- 1 rikard rikard     7929 jun  2  2020 pywrapper.h
-rw-r--r-- 1 rikard rikard 27808768 jun  2  2020 symengine-0.6.dll
-rw-r--r-- 1 rikard rikard    52348 jun  2  2020 symengine.pxd
-rw-r--r-- 1 rikard rikard     1984 jun  2  2020 symengine_wrapper.lib
-rw-r--r-- 1 rikard rikard     3405 jun  2  2020 symengine_wrapper.pxd
-rw-r--r-- 1 rikard rikard  2189312 jun  2  2020 symengine_wrapper.pyd

from symengine-wheels.

isuruf avatar isuruf commented on June 1, 2024

Which image was this?

from symengine-wheels.

rikardn avatar rikardn commented on June 1, 2024

I used cpython 3.7 on Windows so it must have been symengine-0.7.0-cp37-cp37m-win_amd64.whl

from symengine-wheels.

isuruf avatar isuruf commented on June 1, 2024

No, I mean the windows image used in github actions

from symengine-wheels.

rikardn avatar rikardn commented on June 1, 2024

Sorry! I used the windows-latest here is the failed workflow: https://github.com/pharmpy/pharmpy/runs/2110632509?check_suite_focus=true

I also run in my own Windows 10 virtual machine using python 3.7 with the same issue. The listing above is from that installation.

from symengine-wheels.

isuruf avatar isuruf commented on June 1, 2024

Thanks. Figured out the issue. The wheel was missing zlib.dll.

from symengine-wheels.

isuruf avatar isuruf commented on June 1, 2024

Can you check now?

from symengine-wheels.

rikardn avatar rikardn commented on June 1, 2024

I can install from pypi in my virtual Windows now. Tests for python 3.9 in github actions are running

from symengine-wheels.

isuruf avatar isuruf commented on June 1, 2024

Great. Thanks. Please close this issue when they pass.

from symengine-wheels.

certik avatar certik commented on June 1, 2024

Thank you @isuruf for all this work! Thank you @rikardn for testing.

from symengine-wheels.

Related Issues (7)

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.