Comments (7)
For gnat
, any version will do, the more recent the better. I am using gnat-6
on Debian Stretch.
Regarding update-ca-certificates
(there was a typo in the README, this is why it said "command not found", the instruction missed the s
at the end) I think you will not have any error if you clone the github
repo (i.e. this one). The error happened on the ESA Gitlab repository, but even here I think it is fixed now.
Do you still have issues with the installation after doing the fixes you describe?
from opengeode.
-
well, with > sudo update-ca-certificates
It's OK -
make install
Trace is
Processing /home/fcabaud/opengeode
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-p3ok552i-build/setup.py", line 12, in
import opengeode
File "/tmp/pip-p3ok552i-build/opengeode/init.py", line 28, in
from opengeode import opengeode, version, SDL_Scene, SDL_View, parse, init_qt
File "/tmp/pip-p3ok552i-build/opengeode/opengeode.py", line 2409
key=lambda (name, sort): name):
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-p3ok552i-build/
Makefile:58 : la recette pour la cible « install » a échouée
make: [install] Erreur 1
python version is Python 2.7.12+ (default, Sep 17 2016, 12:08:02)
from opengeode.
There is no syntax error, so I suspect that pip
does not point to pip2 but to pip3 in your distro.
I updated the Makefile, can you run the following from the opengeode directory:
$ git pull
$ make full-install
This should properly install all dependencies. Then try to run the application with:
$ opengeode
from opengeode.
-
sudo git pull
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0
Dépaquetage des objets: 100% (4/4), fait.
Depuis https://github.com/esa/opengeode
3f6de43..1583a6a master -> origin/master
Mise à jour 3f6de43..1583a6a
Fast-forward
Makefile | 20 ++++++++++----------
README.md | 2 +-
asn1-value-editor | 2 +-
dmt | 2 +-
properties | 2 +-
pymsc | 2 +-
6 files changed, 15 insertions(+), 15 deletions(-) -
sudo make full-install
Chemin de sous-module 'asn1-value-editor' : '5652026598202a7c3230b4e322f7aa0b66377842' extrait
Chemin de sous-module 'dmt' : '6665e0632db0a1b11c2942bd8ae293a00d9bc126' extrait
Chemin de sous-module 'properties' : 'bfaa6f1858d7cc21a3daa8a52cb66339022e9e7c' extrait
Chemin de sous-module 'pymsc' : '291c7bcef7a6c4648e797103adeb42f4faf50a50' extrait
make: pip2 : commande introuvable
Makefile:47 : la recette pour la cible « dependencies » a échouée
make: *** [dependencies] Erreur 127-> pip2 wasn't installed (I dont known the difference with pip)
sudo apt install python-pip
- Then (again) sudo make full-install
from ply import yacc
ImportError: No module named ply
-> sudo pip install ply - Then (again) sudo make full-install
Processing ./pygraphviz
Installing collected packages: pygraphviz
Running setup.py install for pygraphviz ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-QSovEn-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-sMVYkv-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
/usr/lib/python2.7/dist-packages/setuptools/dist.py:364: UserWarning: Normalizing '1.4.dev' to '1.4.dev0'
normalized_version,
running install
Trying pkg-config
Package libcgraph was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcgraph.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcgraph' found
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-QSovEn-build/setup.py", line 93, in
tests_require=['nose>=0.10.1', 'doctest-ignore-unicode>=0.1.0',],
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup_commands.py", line 44, in modified_run
self.include_path, self.library_path = get_graphviz_dirs()
File "setup_extra.py", line 121, in get_graphviz_dirs
include_dirs, library_dirs = _pkg_config()
File "setup_extra.py", line 44, in _pkg_config
output = S.check_output(['pkg-config', '--libs-only-L', 'libcgraph'])
File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['pkg-config', '--libs-only-L', 'libcgraph']' returned non-zero exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-QSovEn-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-sMVYkv-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-QSovEn-build/
Makefile:47 : la recette pour la cible « dependencies » a échouée
make: *** [dependencies] Erreur 1
from opengeode.
Make sure you have installed all dependencies indicated in the README, including pkg-config
, python-pyside
, pyside-tools
, graphviz
, graphviz-dev
. libgraphviz-dev
, python-pip
.
I don't think you should use sudo
to run the makefile and the pip installations.
The installation is done in the user space because pip is called with the --user
flag.
from opengeode.
Bingo
Installing collected packages: opengeode
Running setup.py install for opengeode ... done
Successfully installed opengeode-1.5.28
Well, for running it. It's in
~/.local/bin/opengeode
Thank so much
from opengeode.
Yep, you have to add ~/.local/bin to your PATH.
Thanks for reporting these issues, the README and Makefile are better now.
from opengeode.
Related Issues (20)
- A question about SDL process parameters HOT 1
- I use the command 'make full-install' but get an error HOT 7
- ASN.1 compiler not found HOT 9
- Multiple SDL Processes HOT 2
- Composite states HOT 6
- Error - Answers of decision could overlap HOT 2
- Could you please give me a user manual about the opengeode? HOT 7
- the tool can use the command line to operate?? HOT 5
- Some questions about the OpenGEODE HOT 20
- type of channel. HOT 2
- Unexpected error - Answers of decision could overlap HOT 1
- Tagging releases
- Combining the READMEs HOT 1
- ASN.1 compiler failed - [Errno2] No such file or directory: 'dataview-uniq.asn' HOT 8
- Website for OpenGEODE HOT 3
- Having trouble getting started with OpenGEODE via TASTE VM HOT 5
- Surfacing in-line TODOs / FIXMEs as GitHub issues HOT 3
- PyPI opengeode project HOT 2
- Generated Ada code is wrong for decision with grouped answers HOT 2
- More pythonic, less system-heavy ? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opengeode.