Code Monkey home page Code Monkey logo

Comments (8)

dlharmon avatar dlharmon commented on August 15, 2024 1

try

sudo apt install cython3

instead of using pip to install it

from pyopenems.

robot-army avatar robot-army commented on August 15, 2024

Nevermind, I'm a derp, I was looking in the wrong folder!

from pyopenems.

robot-army avatar robot-army commented on August 15, 2024

Ehhhh, maybe not... now getting "No module named 'Cython'"

from pyopenems.

robot-army avatar robot-army commented on August 15, 2024

sudo apt install python3-pip
pip3 install Cython

from pyopenems.

robot-army avatar robot-army commented on August 15, 2024

Now throwing 'no module named cython' after the sudo bit...

from pyopenems.

robot-army avatar robot-army commented on August 15, 2024

sudo pip3 install Cython seemed to do it

try "cd CSXCAD/python; python3 setup.py build_ext -I$OPENEMS/include -L$OPENEMS/lib -R$OPENEMS/lib; sudo python3 setup.py install; cd ../.." again, gets a bit further, now:

"fatal error: CSXCAD/ParameterObjects.h no such file or directory"

It seems that's in CSXCAD/src/...

from pyopenems.

robot-army avatar robot-army commented on August 15, 2024

Oh cool, thanks! Sorry for the stream of consciousness here, I'm sure it'll all come out in the wash eventually...I'll keep plugging along

from pyopenems.

robot-army avatar robot-army commented on August 15, 2024

Right... trying again:

robot-army@debian:~/openEMS-Project$ cd CSXCAD/python; python3 setup.py build_ext -I$OPENEMS/include -L$OPENEMS/lib -R$OPENEMS/lib; sudo python3 setup.py install; cd ../..
running build_ext
building 'CSXCAD.CSPrimitives' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/include -I/usr/include/python3.7m -c CSXCAD/CSPrimitives.cpp -o build/temp.linux-x86_64-3.7/CSXCAD/CSPrimitives.o
CSXCAD/CSPrimitives.cpp:633:10: fatal error: CSXCAD/ParameterObjects.h: No such file or directory
 #include "CSXCAD/ParameterObjects.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

from pyopenems.

Related Issues (8)

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.