Install howto #1

Open
opened 2020-11-05 21:15:10 +01:00 by qo-op · 4 comments

I followed Readme and have some errors

python3 -m pip install requirements.txt

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting requirements.txt
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/requirements-txt/

pip3 install flask pytest requests uwsgi apispec apispec_webframeworks marshmallow flask_swagger_ui openapi_spec_validator ipfsapi

is OK

Then running ./run_app_dev.sh

curl localhost:5000/api/v1/path_for_blueprint_x/test
replies ModuleNotFoundError: No module named 'dejavu'

pip3 install dejavu

change error in


Traceback (most recent call last):
  File "/home/pi/WebApps/mazash/wsgi.py", line 6, in <module>
    from src.app import app
  File "/home/pTraceback (most recent call last):
  File "/home/pi/WebApps/mazash/wsgi.py", line 6, in <module>
    from src.app import app
  File "/home/pi/WebApps/mazash/src/app.py", line 8, in <module>
    from src.endpoints.mazash import mazash
  File "/home/pi/WebApps/mazash/src/endpoints/mazash.py", line 2, in <module>
    from dejavu import Dejavu
  File "/home/pi/.local/lib/python3.7/site-packages/dejavu/__init__.py", line 43, in <module>
    from dejavu.arenas import *
File "/home/pi/.local/lib/python3.7/site-packages/dejavu/arenas.py", line 48
    print message.encode('utf8')
                ^
SyntaxError: invalid syntax
i/WebApps/mazash/src/app.py", line 8, in <module>
    from src.endpoints.mazash import mazash
  File "/home/pi/WebApps/mazash/src/endpoints/mazash.py", line 2, in <module>
    from dejavu import Dejavu
  File "/home/pi/.local/lib/python3.7/site-packages/dejavu/__init__.py", line 43, in <module>
    from dejavu.arenas import *
File "/home/pi/.local/lib/python3.7/site-packages/dejavu/arenas.py", line 48
    print message.encode('utf8')
                ^
SyntaxError: invalid syntax

-->
I followed Readme and have some errors python3 -m pip install requirements.txt ``` Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting requirements.txt Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/requirements-txt/ ``` pip3 install flask pytest requests uwsgi apispec apispec_webframeworks marshmallow flask_swagger_ui openapi_spec_validator ipfsapi is OK Then running ./run_app_dev.sh curl localhost:5000/api/v1/path_for_blueprint_x/test replies **ModuleNotFoundError: No module named 'dejavu'** pip3 install dejavu change error in ``` Traceback (most recent call last): File "/home/pi/WebApps/mazash/wsgi.py", line 6, in <module> from src.app import app File "/home/pTraceback (most recent call last): File "/home/pi/WebApps/mazash/wsgi.py", line 6, in <module> from src.app import app File "/home/pi/WebApps/mazash/src/app.py", line 8, in <module> from src.endpoints.mazash import mazash File "/home/pi/WebApps/mazash/src/endpoints/mazash.py", line 2, in <module> from dejavu import Dejavu File "/home/pi/.local/lib/python3.7/site-packages/dejavu/__init__.py", line 43, in <module> from dejavu.arenas import * File "/home/pi/.local/lib/python3.7/site-packages/dejavu/arenas.py", line 48 print message.encode('utf8') ^ SyntaxError: invalid syntax i/WebApps/mazash/src/app.py", line 8, in <module> from src.endpoints.mazash import mazash File "/home/pi/WebApps/mazash/src/endpoints/mazash.py", line 2, in <module> from dejavu import Dejavu File "/home/pi/.local/lib/python3.7/site-packages/dejavu/__init__.py", line 43, in <module> from dejavu.arenas import * File "/home/pi/.local/lib/python3.7/site-packages/dejavu/arenas.py", line 48 print message.encode('utf8') ^ SyntaxError: invalid syntax --> ```
Owner

Hi @qo-op,

you are right if you see in docker-compose with install with this command :

pip install  https://github.com/worldveil/dejavu/zipball/master

so i will change README file and requirement.txt

Hi @qo-op, you are right if you see in docker-compose with install with this command : ``` pip install https://github.com/worldveil/dejavu/zipball/master ``` so i will change README file and requirement.txt
Author

I have a version problem with matplotlib ;(

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/worldveil/dejavu/zipball/master
  Downloading https://github.com/worldveil/dejavu/zipball/master
     - 96.7MB 26.0MB/s

Collecting PyAudio==0.2.11 (from PyDejavu==0.1.3)
  Downloading https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz
Collecting matplotlib==3.1.1 (from PyDejavu==0.1.3)
  Could not find a version that satisfies the requirement matplotlib==3.1.1 (from PyDejavu==0.1.3) (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5)
No matching distribution found for matplotlib==3.1.1 (from PyDejavu==0.1.3)

I didn't install docker... Should I?

I have a version problem with matplotlib ;( ``` Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting https://github.com/worldveil/dejavu/zipball/master Downloading https://github.com/worldveil/dejavu/zipball/master - 96.7MB 26.0MB/s Collecting PyAudio==0.2.11 (from PyDejavu==0.1.3) Downloading https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz Collecting matplotlib==3.1.1 (from PyDejavu==0.1.3) Could not find a version that satisfies the requirement matplotlib==3.1.1 (from PyDejavu==0.1.3) (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5) No matching distribution found for matplotlib==3.1.1 (from PyDejavu==0.1.3) ``` I didn't install docker... Should I?
Author

Consider me as a dummy and blind user... I need to be all the way guided ;)

Consider me as a dummy and blind user... I need to be all the way guided ;)
Owner

wich version of :

  • python
  • pip
  • debian

do you use ?

maybe virtual env can help you if you have another python project use matplotlib : https://python-guide-pt-br.readthedocs.io/fr/latest/dev/virtualenvs.html

wich version of : - python - pip - debian do you use ? maybe virtual env can help you if you have another python project use matplotlib : https://python-guide-pt-br.readthedocs.io/fr/latest/dev/virtualenvs.html
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: chamalow/mazash#1
No description provided.