Giter Site home page Giter Site logo

Comments (5)

romeric avatar romeric commented on June 15, 2024

It seems like the installation has not been successful. Is this under a virtual environment? I have no issues with 18.04.

from florence.

nicolaskr avatar nicolaskr commented on June 15, 2024

It is not a a virtual environment.
The installation on an another machine, with the same steps, on ubuntu 16.04 has worked.

I will retry on the first machine (18.04).

from florence.

nicolaskr avatar nicolaskr commented on June 15, 2024

Retried on ubuntu 18.04, with conda environment and without.

The same error appears when runnig " From Florence import * " on python 3 and python 2

" /home/user/.local/lib/python3.6/site-packages/Florence/FiniteElements/Assembly/LowLevelAssembly.py:24: UserWarning: Cannot use low level dispatchers for Assembly
warn("Cannot use low level dispatchers for Assembly")
/home/user/.local/lib/python3.6/site-packages/Florence/FiniteElements/Assembly/LowLevelAssembly.py:32: UserWarning: Cannot use low level dispatchers for Assembly
warn("Cannot use low level dispatchers for Assembly")
/home/user/.local/lib/python3.6/site-packages/Florence/FiniteElements/Assembly/LowLevelAssembly.py:39: UserWarning: Cannot use low level dispatchers for Assembly
warn("Cannot use low level dispatchers for Assembly")
Traceback (most recent call last):
File "", line 1, in
File "/home/user/.local/lib/python3.6/site-packages/Florence/init.py", line 6, in
from .VariationalPrinciple import *
File "/home/user/.local/lib/python3.6/site-packages/Florence/VariationalPrinciple/init.py", line 1, in
from .VariationalPrinciple import *
File "/home/user/.local/lib/python3.6/site-packages/Florence/VariationalPrinciple/VariationalPrinciple.py", line 5, in
from .DisplacementApproachIndices import FillGeometricB
ModuleNotFoundError: No module named 'Florence.VariationalPrinciple.DisplacementApproachIndices' "

from florence.

romeric avatar romeric commented on June 15, 2024

This is an installation issue and may have been caused due to ABI incompatibility. DisplacementApproachIndices is an extension module and if it can't be found it means it was not built. Can you instead do:

pip install Florence -v

or

pip install Florence -vvv

and report the build log here?

from florence.

nicolaskr avatar nicolaskr commented on June 15, 2024

It's working
I did not have BLAS installed on the ubuntu 18.04 machine

sudo apt-get install libopenblas-dev solved the problem

The error was clear when running python setup.py build:

fatal error: cblas.h: no such file or directory
#include <cblas.h>

This closes #7

from florence.

Related Issues (6)

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.