Coder Social home page Coder Social logo

bchtipbot's Introduction

bchtipbot's People

Contributors

damascene avatar dependabot-preview[bot] avatar dependabot[bot] avatar imaginaryusername avatar merc1er avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bchtipbot's Issues

Error: pg_config executable not found. when trying to install in virtual env

I get this error "Error: pg_config executable not found." when I try to install in virtual environment. I was able to solve it by installing libpq-dev on Ubuntu

Maybe a notice about this could be added to the installation guide.

$ pip install -r requirements.txt 
Collecting python-telegram-bot==12.8
  Downloading python_telegram_bot-12.8-py2.py3-none-any.whl (375 kB)
     |████████████████████████████████| 375 kB 1.4 MB/s 
Processing /home/user/.cache/pip/wheels/31/2c/16/c23d7ee9cdabfd9cc67503fdcc708325cf40a7205f3ba560d9/bitcash-0.6.0-py3-none-any.whl
Collecting peewee==3.14.0
  Downloading peewee-3.14.0.tar.gz (873 kB)
     |████████████████████████████████| 873 kB 1.8 MB/s 
Collecting psycopg2
  Downloading psycopg2-2.8.6.tar.gz (383 kB)
     |████████████████████████████████| 383 kB 2.8 MB/s 
    ERROR: Command errored out with exit status 1:
     command: /home/user/dev/bch-tipping-bot/bchtipbot-venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8ymtd4hp/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8ymtd4hp/psycopg2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-8ymtd4hp/psycopg2/pip-egg-info
         cwd: /tmp/pip-install-8ymtd4hp/psycopg2/
    Complete output (23 lines):
    running egg_info
    creating /tmp/pip-install-8ymtd4hp/psycopg2/pip-egg-info/psycopg2.egg-info
    writing /tmp/pip-install-8ymtd4hp/psycopg2/pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-install-8ymtd4hp/psycopg2/pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to /tmp/pip-install-8ymtd4hp/psycopg2/pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file '/tmp/pip-install-8ymtd4hp/psycopg2/pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    
    Error: pg_config executable not found.
    
    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:
    
        python setup.py build_ext --pg-config /path/to/pg_config build ...
    
    or with the pg_config option in 'setup.cfg'.
    
    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.
    
    For further information please check the 'doc/src/install.rst' file (also at
    <https://www.psycopg.org/docs/install.html>).
    
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.