Skip to content

No module named 'requests' when deploying eg to Heroku or Pythoneverywhere #9

@klevamane

Description

@klevamane

ERROR: Command errored out with exit status 1:
command: /home/bitlebron/env/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-esugn3oq/pypaystack/setup.py'"'"'; f
ile
='"'"'/tmp/pip-install-esugn3oq/pypaystack/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 pip-egg-info
cwd: /tmp/pip-install-esugn3oq/pypaystack/
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-esugn3oq/pypaystack/setup.py", line 2, in
from pypaystack import version
File "/tmp/pip-install-esugn3oq/pypaystack/pypaystack/init.py", line 3, in
from .customers import Customer
File "/tmp/pip-install-esugn3oq/pypaystack/pypaystack/customers.py", line 1, in
from .baseapi import BaseAPI
File "/tmp/pip-install-esugn3oq/pypaystack/pypaystack/baseapi.py", line 2, in
import requests
ModuleNotFoundError: No module named 'requests'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions