This error comes up when trying to install InstaPy python module:
Downloading https://files.pythonhosted.org/packages/eb/ee/e59e74ecac678a14d6abefb9054f0bbcb318a6452a30df3776f133886d7d/
googleapis-common-protos-1.6.0.tar.gz
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Seyi\Python\Python36\python.exe' -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'C:\Users\Seyi\AppData\Local\Temp\pip-install-i7zyc4ej
\googleapis-common-protos\setup.py'"'"'; file='"'"'C:\Users\Seyi\AppData\Local\Temp\
pip-install-i7zyc4ej\googleapis-common-protos\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 'C:\Users\Seyi\AppData\Local\Temp\pip-install-i7zyc4ej\googleapis-common-protos\pip-egg-info'
cwd: C:\Users\Seyi\AppData\Local\Temp\pip-install-i7zyc4ej\googleapis-common-protos\
Complete output (21 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Seyi\Python\Python36\lib\site-packages\setuptools__init__.py", line 10, in
from setuptools.extern.six.moves import filter, filterfalse, map
File "C:\Users\Seyi\Python\Python36\lib\site-packages\setuptools\extern__init__.py", line 1, in
from pkg_resources.extern import VendorImporter
File "C:\Users\Seyi\Python\Python36\lib\site-packages\pkg_resources__init__.py", line 3017, in
#_call_aside
File "C:\Users\Seyi\Python\Python36\lib\site-packages\pkg_resources__init__.py", line 3003, in _call_aside
f(*args, **kwargs)
File "C:\Users\Seyi\Python\Python36\lib\site-packages\pkg_resources__init__.py", line 3045, in _initialize_master_working_set
dist.activate(replace=False)
File "C:\Users\Seyi\Python\Python36\lib\site-packages\pkg_resources__init__.py", line 2577, in activate
declare_namespace(pkg)
File "C:\Users\Seyi\Python\Python36\lib\site-packages\pkg_resources__init__.py", line 2151, in declare_namespace
_handle_ns(packageName, path_item)
File "C:\Users\Seyi\Python\Python36\lib\site-packages\pkg_resources__init__.py", line 2091, in _handle_ns
_rebuild_mod_path(path, packageName, module)
File "C:\Users\Seyi\Python\Python36\lib\site-packages\pkg_resources__init__.py", line 2120, in _rebuild_mod_path
orig_path.sort(key=position_in_sys_path)
AttributeError: '_NamespacePath' object has no attribute 'sort'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Please mention the command that you are using. However, I would suggest you to update pip, and make sure to use pip3 if applicable.
It seems my setuptools wasn't up to date so I had to upgrade it via pip.
Command line used: python -m pip install --upgrade setuptools
(You probably won't need the python part)
Full explanation here
Related
I'm trying to update AWS CLI to the latest version. I'm following the below AWS documentation:
Aws cli upgrade with sudo access
When I run the command:
sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
I get a long python error, which I can't understand. What is the problem here?
Error message:
Deprecated Python version detected: Python 2.7
Starting July 15, 2021, the AWS CLI will no longer support this version of Python. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.6 or later. More information can be found here: https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-python-2-7-in-aws-sdk-for-python-and-aws-cli-v1/
Running cmd: /bin/python virtualenv.py --no-download --python /bin/python /usr/local/aws
Running cmd: /usr/local/aws/bin/pip install --no-binary :all: --no-cache-dir --no-index --find-links file://. setuptools_scm-3.3.3.tar.gz
Traceback (most recent call last):
File "./awscli-bundle/install", line 270, in <module>
main()
File "./awscli-bundle/install", line 247, in main
pip_install_packages(opts.install_dir)
File "./awscli-bundle/install", line 167, in pip_install_packages
_install_setup_deps(pip_script, '.')
File "./awscli-bundle/install", line 184, in _install_setup_deps
pip_script, setup_package_dir, setuptools_scm_tarball))
File "./awscli-bundle/install", line 90, in run
p.returncode, cmd, output))
__main__.BadRCError: Bad rc (1) for cmd '/usr/local/aws/bin/pip install --no-binary :all: --no-cache-dir --no-index --find-links file://. setuptools_scm-3.3.3.tar.gz': Looking in links: file://.
Processing ./setuptools_scm-3.3.3.tar.gz
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
ERROR: Command errored out with exit status 1:
command: /usr/local/aws/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-M9znG_/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-M9znG_/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-req-build-M9znG_/pip-egg-info
cwd: /tmp/pip-req-build-M9znG_/
Complete output (36 lines):
running egg_info
creating /tmp/pip-req-build-M9znG_/pip-egg-info/setuptools_scm.egg-info
writing /tmp/pip-req-build-M9znG_/pip-egg-info/setuptools_scm.egg-info/PKG-INFO
writing top-level names to /tmp/pip-req-build-M9znG_/pip-egg-info/setuptools_scm.egg-info/top_level.txt
writing dependency_links to /tmp/pip-req-build-M9znG_/pip-egg-info/setuptools_scm.egg-info/dependency_links.txt
writing entry points to /tmp/pip-req-build-M9znG_/pip-egg-info/setuptools_scm.egg-info/entry_points.txt
writing manifest file '/tmp/pip-req-build-M9znG_/pip-egg-info/setuptools_scm.egg-info/SOURCES.txt'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-M9znG_/setup.py", line 118, in <module>
setuptools.setup(**arguments)
File "/usr/local/aws/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/aws/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 296, in run
self.find_sources()
File "/usr/local/aws/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 303, in find_sources
mm.run()
File "/usr/local/aws/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 534, in run
self.add_defaults()
File "/usr/local/aws/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 574, in add_defaults
rcfiles = list(walk_revctrl())
File "/usr/local/aws/lib/python2.7/site-packages/setuptools/command/sdist.py", line 20, in walk_revctrl
for item in ep.load()(dirname):
File "/tmp/pip-req-build-M9znG_/src/setuptools_scm/integration.py", line 22, in find_files
command = ep.load()
File "/usr/local/aws/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2443, in load
return self.resolve()
File "/usr/local/aws/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2453, in resolve
raise ImportError(str(exc))
ImportError: 'module' object has no attribute 'FILES_COMMAND'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I am trying to install the package causalml in Jupyter using pip, and I get the following error:
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h3qf0rqq/causalml_92ba9279cfbd4f77ac1f50f04998c187/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h3qf0rqq/causalml_92ba9279cfbd4f77ac1f50f04998c187/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-pip-egg-info-m0xr_f2v
cwd: /tmp/pip-install-h3qf0rqq/causalml_92ba9279cfbd4f77ac1f50f04998c187/
Complete output (20 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-h3qf0rqq/causalml_92ba9279cfbd4f77ac1f50f04998c187/setup.py", line 56, in <module>
ext_modules=cythonize(extensions),
File "/opt/conda/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 962, in cythonize
ctx = c_options.create_context()
File "/opt/conda/lib/python3.6/site-packages/Cython/Compiler/Main.py", line 597, in create_context
self.cplus, self.language_level, options=self)
File "/opt/conda/lib/python3.6/site-packages/Cython/Compiler/Main.py", line 80, in __init__
from . import Builtin, CythonScope
File "/opt/conda/lib/python3.6/site-packages/Cython/Compiler/CythonScope.py", line 5, in <module>
from .UtilityCode import CythonUtilityCode
File "/opt/conda/lib/python3.6/site-packages/Cython/Compiler/UtilityCode.py", line 3, in <module>
from .TreeFragment import parse_from_strings, StringParseContext
File "/opt/conda/lib/python3.6/site-packages/Cython/Compiler/TreeFragment.py", line 17, in <module>
from .Visitor import VisitorTransform
File "Cython/Compiler/Visitor.py", line 17, in init Cython.Compiler.Visitor
File "/opt/conda/lib/python3.6/site-packages/Cython/Compiler/ExprNodes.py", line 46, in <module>
from .Pythran import (to_pythran, is_pythran_supported_type, is_pythran_supported_operation_type,
ImportError: cannot import name 'pythran_is_numpy_func_supported'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
In another forum, I read that this is a cython issue, I have uninstalled and reinstalled it, and it did not work out. I am working with Python 3.6.10, and here are the versions of the dependent packages on my system.
setuptools= 50.3.0
pip=20.3
numpy=1.18.5
scipy=1.4.1
matplotlib
pandas=1.1.2
scikit-learn=0.23.2
statsmodels=0.12.0
seaborn
Cython=0.29.21
xgboost
pydotplus
tqdm
shap
dill
lightgbm
pygam
packaging
keras
tensorflow=2.3.0
I checked the dependency requirements, and I believe all the above packages are acceptable for installing causalml. I also tried cloning the git repo and installing it, and I got the same error. Your feedback and suggestion are greatly appreciated.
Trying to spin up a simple LAMP service with AWS and Certbot SSL. Followed all the directions but my when I run the certbot-auto I'm given the following error:
The apache plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError('Problem in Augeas installation',)
My attempts to install python-augeas via:
pip3 install python-augeas
result:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-27aroyjq/python-augeas/setup.py'"'"'; __file__='"'"'/tmp/pip-install-27aroyjq/python-augeas/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-27aroyjq/python-augeas/pip-egg-info
cwd: /tmp/pip-install-27aroyjq/python-augeas/
Complete output (31 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-27aroyjq/python-augeas/setup.py", line 43, in <module>
test_suite="test.test_augeas",
File "/home/ec2-user/.local/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.6/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/home/ec2-user/.local/lib/python3.6/site-packages/setuptools/dist.py", line 448, in __init__
k: v for k, v in attrs.items()
File "/usr/lib64/python3.6/distutils/dist.py", line 281, in __init__
self.finalize_options()
File "/home/ec2-user/.local/lib/python3.6/site-packages/setuptools/dist.py", line 740, in finalize_options
ep.load()(self)
File "/home/ec2-user/.local/lib/python3.6/site-packages/setuptools/dist.py", line 747, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
File "/tmp/pip-install-27aroyjq/python-augeas/.eggs/cffi-1.14.0-py3.6-linux-x86_64.egg/cffi/setuptools_ext.py", line 217, in cffi_modules
add_cffi_module(dist, cffi_module)
File "/tmp/pip-install-27aroyjq/python-augeas/.eggs/cffi-1.14.0-py3.6-linux-x86_64.egg/cffi/setuptools_ext.py", line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File "/tmp/pip-install-27aroyjq/python-augeas/.eggs/cffi-1.14.0-py3.6-linux-x86_64.egg/cffi/setuptools_ext.py", line 25, in execfile
exec(code, glob, glob)
File "augeas/ffi.py", line 47, in <module>
lib = ffi.dlopen("augeas")
File "/tmp/pip-install-27aroyjq/python-augeas/.eggs/cffi-1.14.0-py3.6-linux-x86_64.egg/cffi/api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "/tmp/pip-install-27aroyjq/python-augeas/.eggs/cffi-1.14.0-py3.6-linux-x86_64.egg/cffi/api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "/tmp/pip-install-27aroyjq/python-augeas/.eggs/cffi-1.14.0-py3.6-linux-x86_64.egg/cffi/api.py", line 827, in _load_backend_lib
raise OSError(msg)
OSError: ctypes.util.find_library() did not manage to locate a library called 'augeas'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Anyone have any ideas?
$ yum install augeas
$ python3 -m pip install certbot
This fixed the problem on a AWS Linux 2 instance.
If you use a load balancer then you can use the AWS ACM service.
If not, I found Certbot works really well.
Thanks tink for pointing me the right direction.
I clone my Script from Github. Then I install the requirements.txt with Gitbash.
1.) source ../venv/Scripts/activate
2.) pip install -r requirements.txt
If I try now to run the script some packages are missing everytime.
Then I need to manually install them and it is just unconvenient.
python script.py # ModuleNotFoundError: No modul named 'dateutil'
And I really dont know what I am making wrong. My Goal is after Cloning and installing to the venv it should work but it doesnt work.
$ python --version
Python 3.8.0
$ pip --version
pip 19.3.1 from c:\users\user\desktop\dokumente\venv\lib\site-packages\pip (python 3.8)
$ pip show --files python-dateutil
WARNING: Package(s) not found: python-dateutil
$ pip install -r requirements.txt
Collecting aniso8601==7.0.0
Using cached https://files.pythonhosted.org/packages/45/a4/b4fcadbdab46c2ec2d2f6f8b4ab3f64fd0040789ac7f065eba82119cd602/aniso8601-7.0.0-py2.py3-none-any.whl
Collecting asn1crypto==0.24.0
Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting astroid==2.2.5
Using cached https://files.pythonhosted.org/packages/d5/ad/7221a62a2dbce5c3b8c57fd18e1052c7331adc19b3f27f1561aa6e620db2/astroid-2.2.5-py3-none-any.whl
Collecting attrs==19.1.0
Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting Automat==0.7.0
Using cached https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl
Processing c:\users\user\appdata\local\pip\cache\wheels\b1\fe\08\84d2143069bc44c20127c38cc1bf202332319b3da7315ca766\camelcase-0.2-cp38-none-any.whl
Collecting certifi==2019.9.11
Using cached https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl
Collecting cffi==1.12.3
Using cached https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\desktop\dokumente\agent_venv\venv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-onw899ll\\cffi\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-onw899ll\\cffi\\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 'C:\Users\User\AppData\Local\Temp\pip-install-onw899ll\cffi\pip-egg-info'
cwd: C:\Users\User\AppData\Local\Temp\pip-install-onw899ll\cffi\
Complete output (23 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\User\AppData\Local\Temp\pip-install-onw899ll\cffi\setup.py", line 127, in <module>
if sys.platform == 'win32' and uses_msvc():
File "C:\Users\User\AppData\Local\Temp\pip-install-onw899ll\cffi\setup.py", line 105, in uses_msvc
return config.try_compile('#ifndef _MSC_VER\n#error "not MSVC"\n#endif')
File "c:\users\user\appdata\local\programs\python\python38-32\Lib\distutils\command\config.py", line 225, in try_compile
self._compile(body, headers, include_dirs, lang)
File "c:\users\user\appdata\local\programs\python\python38-32\Lib\distutils\command\config.py", line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File "c:\users\user\appdata\local\programs\python\python38-32\Lib\distutils\_msvccompiler.py", line 360, in compile
self.initialize()
File "c:\users\user\appdata\local\programs\python\python38-32\Lib\distutils\_msvccompiler.py", line 253, in initialize
vc_env = _get_vc_env(plat_spec)
File "c:\users\user\desktop\dokumente\agent_venv\venv\lib\site-packages\setuptools\msvc.py", line 171, in msvc14_get_vc_env
return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
File "c:\users\user\desktop\dokumente\agent_venv\venv\lib\site-packages\setuptools\msvc.py", line 1075, in __init__
self.si = SystemInfo(self.ri, vc_ver)
File "c:\users\user\desktop\dokumente\agent_venv\venv\lib\site-packages\setuptools\msvc.py", line 547, in __init__
vc_ver or self._find_latest_available_vs_ver())
File "c:\users\user\desktop\dokumente\agent_venv\venv\lib\site-packages\setuptools\msvc.py", line 561, in _find_latest_available_vs_ver
raise distutils.errors.DistutilsPlatformError(
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I hope you can help me. If you need some extra information to solve the problem then please tell it to me.
Best Regards
Cren
Currently trying to install some web framework but it fails with following error. It also shows the same error when I try to install other packages as well. I can't figure out where it stems from. Any ideas would help a lot.
PS D:\Python_Programming_Zed_Show\Exersize_46\Python27_Projects\Exersize_48\Exersize_48> python -m pip install lpthw.web
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/late
st/development/release-process/#python-2-support
Collecting lpthw.web
Using cached https://files.pythonhosted.org/packages/52/0d/a200087bb551895143fedfb5f7df416ccb7ecb46428e04dd011a7ea19689/lpthw.web-1.1.tar.gz
ERROR: Command errored out with exit status 1:
command: 'D:\Python27\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'d:\\users\\arhitect\\appdata\\local\\temp\\pip-install-gj9eke\\lpthw.web\\setup.py'"'"'; __file__='"'"'d:\\users\\arhitect\\appdata\\local\\temp\\pip-install-gj9eke\\lpthw.web\\setup.py'"'"';f=getattr(tok
enize, '"'"'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: d:\users\arhitect\appdata\local\temp\pip-install-gj9eke\lpthw.web\
Complete output (28 lines):
running egg_info
creating pip-egg-info\lpthw.web.egg-info
writing pip-egg-info\lpthw.web.egg-info\PKG-INFO
writing top-level names to pip-egg-info\lpthw.web.egg-info\top_level.txt
writing dependency_links to pip-egg-info\lpthw.web.egg-info\dependency_links.txt
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "d:\users\arhitect\appdata\local\temp\pip-install-gj9eke\lpthw.web\setup.py", line 17, in <module>
platforms=["any"],
File "D:\Python27\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "D:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "D:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "d:\users\arhitect\downloads\distribute-0.7.3\distribute-0.7.3\setuptools\command\egg_info.py", line 177, in run
writer = ep.load(installer=installer)
File "d:\users\arhitect\downloads\distribute-0.7.3\distribute-0.7.3\pkg_resources.py", line 2241, in load
if require: self.require(env, installer)
File "d:\users\arhitect\downloads\distribute-0.7.3\distribute-0.7.3\pkg_resources.py", line 2254, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "d:\users\arhitect\downloads\distribute-0.7.3\distribute-0.7.3\pkg_resources.py", line 2471, in requires
dm = self._dep_map
File "d:\users\arhitect\downloads\distribute-0.7.3\distribute-0.7.3\pkg_resources.py", line 2682, in _dep_map
self.__dep_map = self._compute_dependencies()
File "d:\users\arhitect\downloads\distribute-0.7.3\distribute-0.7.3\pkg_resources.py", line 2699, in _compute_dependencies
from _markerlib import compile as compile_marker
ImportError: No module named _markerlib
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
PS D:\Python_Programming_Zed_Show\Exersize_46\Python27_Projects\Exersize_48\Exersize_48>
The problematic import comes from distribute-0.7.3 which is outdated package and should not be used. Remove the directory d:\users\arhitect\downloads\distribute-0.7.3.