Git Product home page Git Product logo

brightway2-speedups's People

Contributors

cardosan avatar cmutel avatar michaelweinold avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

stew-mcd

brightway2-speedups's Issues

not installable with python 3.7

Original report by Pascal Lesage (Bitbucket: MPa, ).


Seems to be a c2039 error:

pip install bw2speedups results in this traceback:

Building wheels for collected packages: bw2speedups
Building wheel for bw2speedups (setup.py) ... error
Complete output from command C:\mypy\anaconda\envs\bw_py37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\PASCAL1\AppData\Local\Temp\pip-install-0f2tbkep\bw2speedups\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\PASCAL1\AppData\Local\Temp\pip-wheel-6a2lzrmc --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\bw2speedups
copying bw2speedups_init_.py -> build\lib.win-amd64-3.7\bw2speedups
running build_ext
building 'bw2speedups._indexer' extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\bw2speedups
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\mypy\anaconda\envs\bw_py37\lib\site-packages\numpy\core\include -IC:\mypy\anaconda\envs\bw_py37\include -IC:\mypy\anaconda\envs\bw_py37\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcbw2speedups/_indexer.c /Fobuild\temp.win-amd64-3.7\Release\bw2speedups/_indexer.obj
_indexer.c
c:\mypy\anaconda\envs\bw_py37\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
bw2speedups/_indexer.c(1361): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data
bw2speedups/_indexer.c(5251): error C2039: 'exc_type': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5252): error C2039: 'exc_value': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5253): error C2039: 'exc_traceback': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5265): error C2039: 'exc_type': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5266): error C2039: 'exc_value': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5267): error C2039: 'exc_traceback': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5268): error C2039: 'exc_type': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5269): error C2039: 'exc_value': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5270): error C2039: 'exc_traceback': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5313): error C2039: 'exc_type': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5314): error C2039: 'exc_value': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5315): error C2039: 'exc_traceback': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5316): error C2039: 'exc_type': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5317): error C2039: 'exc_value': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5318): error C2039: 'exc_traceback': is not a member of '_ts'
c:\mypy\anaconda\envs\bw_py37\include\pystate.h(212): note: see declaration of '_ts'
bw2speedups/_indexer.c(5915): warning C4146: unary minus operator applied to unsigned type, result still unsigned
bw2speedups/_indexer.c(5933): warning C4146: unary minus operator applied to unsigned type, result still unsigned
bw2speedups/_indexer.c(5951): warning C4146: unary minus operator applied to unsigned type, result still unsigned
bw2speedups/_indexer.c(6151): warning C4146: unary minus operator applied to unsigned type, result still unsigned
bw2speedups/_indexer.c(6169): warning C4146: unary minus operator applied to unsigned type, result still unsigned
bw2speedups/_indexer.c(6187): warning C4146: unary minus operator applied to unsigned type, result still unsigned
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe' failed with exit status 2

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.