moa icon indicating copy to clipboard operation
moa copied to clipboard

Unable to install through install guide

Open Kieaer opened this issue 1 year ago • 1 comments

cloud@SERVER-PC:/media/cloud/SSD/moa$ sudo apt install python-dev python3-dev build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python2-dev:i386 python2:i386 python2-dev python2 python-dev-is-python3

E: Package 'python-dev' has no installation candidate
cloud@SERVER-PC:/media/cloud/SSD/moa$

This is because python-dev is no longer in the ubuntu repository.

cloud@SERVER-PC:/media/cloud/SSD/moa$ PIPENV_VENV_IN_PROJECT=1 pipenv install
Installing dependencies from Pipfile.lock (4647c8)...
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
cloud@SERVER-PC:/media/cloud/SSD/moa$ MOA_CONFIG=config.DevelopmentConfig /usr/local/bin/pipenv run python -m moa.models
-bash: /usr/local/bin/pipenv: No such file or directory
cloud@SERVER-PC:/media/cloud/SSD/moa$ which pipenv
/home/cloud/.local/bin/pipenv
cloud@SERVER-PC:/media/cloud/SSD/moa$ MOA_CONFIG=config.DevelopmentConfig /home/cloud/.local/bin/pipenv run python -m mo
a.models
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/media/cloud/SSD/moa/moa/models.py", line 255, in <module>
    config = getattr(importlib.import_module('config'), moa_config)
AttributeError: module 'config' has no attribute 'config.DevelopmentConfig'
cloud@SERVER-PC:/media/cloud/SSD/moa$

I can't proceed further here.

Kieaer avatar Feb 09 '23 23:02 Kieaer