On Sun, Dec 13, 2020 at 7:21 PM MAMADOU KANTE <bkatc...@gmail.com> wrote:
> Hi to everybody; > I have been trying to deploy an app through heroku for the past 7 days but > whenever I reach the final stage I receive a rejection message. > The message tells me the module "skbuild" was not imported or I should > upgrade my pip version. But when I check through the terminal > I find that I can import skbuild and the latest version of pip is > installed on the machine. > I tried to deploy by linking my Github repository to heroku but I still > receive the same error message as described below: > > Python app detected > > ! Python has released a security update! Please consider upgrading to > python-3.9.1 > > Learn More: https://devcenter.heroku.com/articles/python-runtimes > > -----> Installing python-3.9.0 > > -----> Installing pip 9.0.2, setuptools 47.1.1 and wheel 0.34.2 > > -----> Installing dependencies with Pipenv 2018.5.18… > > Installing dependencies from Pipfile.lock (db603f)… > > An error occurred while installing opencv-python==4.4.0.46! Will try > again. > > Installing initially–failed dependencies… > > Traceback (most recent call last): > > File "<string>", line 1, in <module> > > File "/tmp/pip-build-m9tvr4w5/opencv-python/setup.py", line 9, > in <module> > > import skbuild > > ModuleNotFoundError: No module named 'skbuild' > > Command "python setup.py egg_info" failed with error code 1 in > /tmp/pip-build-m9tvr4w5/opencv-python/ > > You are using pip version 9.0.2, however version 20.3.1 is available. > > You should consider upgrading via the 'pip install --upgrade pip' > command. > > ! Push rejected, failed to compile Python app. > > ! Push failed > > CAN ANYONE HELP? > > I would start by upgrading pip (https://pypi.org/project/pip/). Version 9.x was quite some time ago. Also, pipenv's current version is 2020.11.15 ( https://pypi.org/project/pipenv/). -Jorge -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANfN%3DK86JFm2RiEw0wu3T6%2B-bzPtZ5Yh-2ZosA928pgjOMifyA%40mail.gmail.com.