dthonon / Client_API_VN

Export from VisioNature (Biolovision) web site to local postgresql database
GNU General Public License v3.0
3 stars 1 forks source link

Installation Debian : échec de "transfer_vn --init .fb.yaml" #163

Closed dthonon closed 2 years ago

dthonon commented 3 years ago

In GitLab by @mgageo on Jul 5, 2021, 12:24

Sur cette commande, j'ai cette réponse :

(VN_env) xfer38@apivn:~$ transfer_vn --init .fb.yaml
Traceback (most recent call last):
File "/home/xfer38/VN_env/bin/transfer_vn", line 5, in
from export_vn.transfer_vn import run
File "/home/xfer38/VN_env/lib/python3.5/site-packages/export_vn/transfer_vn.py", line 33, in
from export_vn.download_vn import (
File "/home/xfer38/VN_env/lib/python3.5/site-packages/export_vn/download_vn.py", line 18, in
from time import perf_counter_ns
ImportError: cannot import name 'perf_counter_ns'
(VN_env) xfer38@apivn:~$

dthonon commented 3 years ago

Je vois que la version de Python est 3.5. C'est peut être l'origine du problème, car je n'ai plus fait de tests de cette version depuis longtemps. Peux-tu essayer avec une version plus récente, 3.8 ou 3.9 ?

dthonon commented 3 years ago

In GitLab by @mgageo on Jul 6, 2021, 11:39

Il serait peut-être plus simple de partir d'un version plus récente de Debian que la 9 s'il n'y a pas de contraintes sur postgres

dthonon commented 3 years ago

J'ai mis à jour pour Debian 10 et simplifié la procédure d'installation, dans la branche develop. A première vue, ca marche avec les distributions standard. Je testerai plus en détail demain.

dthonon commented 3 years ago

In GitLab by @mgageo on Jul 7, 2021, 09:10

Sur la Debian 10.10.0, avec installation en local de postgresql ( apt -y install postgresql-13 postgresql-client-13 postgresql-13-postgis-3 ), cela fonctionne.

dthonon commented 3 years ago

mentioned in commit 29679c70d6504665f74269bfa297d91dc982dddf

dthonon commented 2 years ago

mentioned in commit b0d902a3ca4bd8c4253d062689d93948328cccc2