Skip to content

Error in Python 3 #19

@alejandrogmvva2

Description

@alejandrogmvva2
ERROR: Command errored out with exit status 1:
 command: /opt/virtualenvs/python3/bin/python3 -c 'import sys, setupto

ols, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-93oq0tm_/dotenv/setup.p
y'"'"'; file='"'"'/tmp/pip-install-93oq0tm_/dotenv/setup.py'"'"';f=get
attr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'
\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'
"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-6coih9jp
cwd: /tmp/pip-install-93oq0tm_/dotenv/
Complete output (51 lines):
ERROR: Command errored out with exit status 1:
command: /opt/virtualenvs/python3/bin/python3 -c 'import sys, set
uptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-igbsd_sp/distribute/s
etup.py'"'"'; file='"'"'/tmp/pip-wheel-igbsd_sp/distribute/setup.py'"'
"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().repla
ce('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"
'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-0u99wf9x
cwd: /tmp/pip-wheel-igbsd_sp/distribute/
Complete output (15 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-wheel-igbsd_sp/distribute/setuptools/init.py"
, line 2, in
from setuptools.extension import Extension, Library
File "/tmp/pip-wheel-igbsd_sp/distribute/setuptools/extension.py", line 5, in
from setuptools.dist import _get_unpatched
File "/tmp/pip-wheel-igbsd_sp/distribute/setuptools/dist.py", line 7, in
from setuptools.command.install import install
File "/tmp/pip-wheel-igbsd_sp/distribute/setuptools/command/init.py", line 8, in
from setuptools.command import install_scripts
File "/tmp/pip-wheel-igbsd_sp/distribute/setuptools/command/install_scripts.py", line 3, in
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/tmp/pip-wheel-igbsd_sp/distribute/pkg_resources.py", line 1518, in
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Traceback (most recent call last):
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
subprocess.check_call(cmd)
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/virtualenvs/python3/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpf9yy1f6o', '--quiet', 'distribute']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-93oq0tm_/dotenv/setup.py", line 13, in <module>
    setup(name='dotenv',
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/setuptools/__init__.py", line 160, in setup
    _install_setup_requires(attrs)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/setuptools/__init__.py", line 155, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/setuptools/dist.py", line 695, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 780, in resolve
    dist = best[req.key] = env.best_match(
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/setuptools/dist.py", line 754, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
    raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/opt/virtualenvs/python3/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpf9yy1f6o', '--quiet', 'distribute']' returned non-zero exit status 1.
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

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