[now dev] fails with @now/python on Debian/Ubuntu
See original GitHub issueUbuntu, since Xenial, contains the patched version of pip
with --user
and --ignore-installed
flag active by default. In combination with the --prefix
option, from the @now/python
runtime, this always raises an error distutils.errors.DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base
.
This can be solved by running now dev
as a superuser or using the non-system version of pip
.
For solving this in the runtime either --system
or --no-user
(depends on pip
version) option must be provided. However, export PIP_USER=0 PIP_IGNORE_INSTALLED=0
seems more applicable.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
[now dev] fails with @now/python on Debian/Ubuntu #3089
This can be solved by running now dev as a superuser or using the non-system version of pip . For solving this in...
Read more >Problem installing Python-Dev - Ask Ubuntu
It all started when I tried to install another Python package and got the error: SystemError: Cannot compile 'Python.h'. Perhaps you need to...
Read more >Getting started with Python Algorand SDK and Django
Run the development server now ( python manage.py runserver ) and point your browser to the root page ( http://127.0.0.1:8000/ ).
Read more >virtualenv 1.11.4 - PyPI
Fixed Issue #373. virtualenv-1.8.4 was failing in cygwin (Pull #382). Fixed Issue #378. virtualenv is now “multiarch” aware on debian/ubuntu (Pull #379).
Read more >Python Development - Unit Testing - GitHub Pages
This page provides general Python development guidelines and source build ... Now python-test.exe or simply ctest (to run all tests) should work.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please try this:
I was unable to reproduce this bug with ubuntu xenial.
Here’s what I tried:
The pip version was 8.1.1