Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install through install guide #172

Open
Kieaer opened this issue Feb 9, 2023 · 1 comment
Open

Unable to install through install guide #172

Kieaer opened this issue Feb 9, 2023 · 1 comment

Comments

@Kieaer
Copy link

Kieaer commented Feb 9, 2023

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.

@blanshans
Copy link

Same here :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants