I try to install a python package, using pip install [package], and no matter what I try, it always outputs this:
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 14, in
File "C:\Users\Grayson S\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools_init_.py", line 268, in
monkey.patch_all()
File "C:\Users\Grayson S\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\monkey.py", line 97, in patch_all
patch_for_msvc_specialized_compiler()
File "C:\Users\Grayson S\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\monkey.py", line 157, in patch_for_msvc_specialized_compiler
patch_func(*msvc14('get_vc_env'))
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Grayson S\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\monkey.py", line 147, in patch_params
mod = import_module(mod_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.496.0_x64__qbz5n2kfra8p0\Lib\importlib_init.py", line 126, in import_module
return bootstrap.gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Grayson S\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools_distutils_msvccompiler.py", line 20, in
import unittest.mock as mock
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.496.0_x64__qbz5n2kfra8p0\Lib\unittest\mock.py", line 26, in
import asyncio
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.496.0_x64__qbz5n2kfra8p0\Lib\asyncio_init.py", line 8, in
from .base_events import *
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.496.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 18, in
import concurrent.futures
File "C:\Users\Grayson S\AppData\Local\Temp\pip-install-3fc1fwnw\futures_82f8515ef49d40f494c74db85d15859c\concurrent\futures_init.py", line 8, in
from concurrent.futures._base import (FIRST_COMPLETED,
File "C:\Users\Grayson S\AppData\Local\Temp\pip-install-3fc1fwnw\futures_82f8515ef49d40f494c74db85d15859c\concurrent\futures_base.py", line 357
raise type(self._exception), self._exception, self._traceback
^
SyntaxError: invalid syntax
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I tried to reinstall Python, and look into the files and looked up videos, but nothing fixed the problem, I'm on Windows 11, and my old computer did not have this problem which was on Windows 10, but I don't know if that is the problem.
Related
!pip install --upgrade mxnet-cu100
!pip install autogluon
The error continues to occur when the above two codes are executed in sagemaker studio.
Collecting seqeval<=1.2.2
Using cached seqeval-1.2.2.tar.gz (43 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [42 lines of output]
/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py:126: PkgResourcesDeprecationWarning: 4.0.0-unsupported is an invalid version and will not be supported in a future release
PkgResourcesDeprecationWarning,
/opt/conda/lib/python3.7/site-packages/setuptools/installer.py:30: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-b9s5vfp9/seqeval_f21cd9e2f7e648ce8f203ea1e6d8ee59/setup.py", line 56, in <module>
'Programming Language :: Python :: Implementation :: PyPy'
File "/opt/conda/lib/python3.7/site-packages/setuptools/__init__.py", line 86, in setup
_install_setup_requires(attrs)
File "/opt/conda/lib/python3.7/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/opt/conda/lib/python3.7/site-packages/setuptools/dist.py", line 877, in fetch_build_eggs
replace_conflicting=True,
File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791, in resolve
replace_conflicting=replace_conflicting
File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1075, in best_match
return self.obtain(req, installer)
File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1087, in obtain
return installer(requirement)
File "/opt/conda/lib/python3.7/site-packages/setuptools/dist.py", line 944, in fetch_build_egg
return fetch_build_egg(self, req)
File "/opt/conda/lib/python3.7/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
wheel.install_as_egg(dist_location)
File "/opt/conda/lib/python3.7/site-packages/setuptools/wheel.py", line 110, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/opt/conda/lib/python3.7/site-packages/setuptools/wheel.py", line 118, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/opt/conda/lib/python3.7/site-packages/setuptools/wheel.py", line 170, in _convert_metadata
extras_require=extras_require,
File "/opt/conda/lib/python3.7/site-packages/setuptools/dist.py", line 479, in __init__
for k, v in attrs.items()
File "/opt/conda/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
self.finalize_options()
File "/opt/conda/lib/python3.7/site-packages/setuptools/dist.py", line 898, in finalize_options
for ep in sorted(loaded, key=by_order):
File "/opt/conda/lib/python3.7/site-packages/setuptools/dist.py", line 897, in <lambda>
loaded = map(lambda e: e.load(), filtered)
File "/opt/conda/lib/python3.7/site-packages/setuptools/_vendor/importlib_metadata/__init__.py", line 196, in load
return functools.reduce(getattr, attrs, module)
AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
import autogluon as ag
from autogluon import TabularDataset as task
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-5-74ced3fb9150> in <module>
----> 1 import autogluon as ag
2 from autogluon import TabularDataset as task
ModuleNotFoundError: No module named 'autogluon'
There was an error during installation, so of course the module is not loaded. How do I resolve this error?
When I try to install pyinstaller version 4.3. Then I got unwanted erro that I have pasted below. Please help me to get out of this error.
My current pip version is 22.2. And python version is 3.7.
C:\WINDOWS\system32>pip install --no-cache-dir pyinstaller==4.3
Collecting pyinstaller==4.3
Downloading pyinstaller-4.3.tar.gz (3.7 MB)
---------------------------------------- 3.7/3.7 MB 5.9 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [41 lines of output]
Traceback (most recent call last):
File "c:\users\abhis\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module>
main()
File "c:\users\abhis\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\abhis\appdata\local\programs\python\python37\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 164, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\build_meta.py", line 188, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\build_meta.py", line 282, in run_setup
self).run_setup(setup_script=setup_script)
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup
exec(code, locals())
File "<string>", line 78, in <module>
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 151, in setup
dist.parse_config_files()
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\dist.py", line 865, in parse_config_files
self, self.command_options, ignore_option_errors=ignore_option_errors
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 172, in parse_configuration
meta.parse()
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 451, in parse
section_parser_method(section_options)
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 422, in parse_section
self[name] = value
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 243, in __setitem__
value = parser(value)
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 557, in _parse_version
return expand.version(self._parse_attr(value, self.package_dir, self.root_dir))
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 377, in _parse_attr
return expand.read_attr(attr_desc, package_dir, root_dir)
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\config\expand.py", line 192, in read_attr
module = _load_spec(spec, module_name)
File "C:\Users\abhis\AppData\Local\Temp\pip-build-env-l2t7s_bi\overlay\Lib\site-packages\setuptools\config\expand.py", line 212, in _load_spec
spec.loader.exec_module(module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\Users\abhis\AppData\Local\Temp\pip-install-oxwzokmn\pyinstaller_8996853206574e95a5a7117dbcd6cb01\PyInstaller.py", line 16, in <module>
from PyInstaller.__main__ import run
ModuleNotFoundError: No module named 'PyInstaller.__main__'; 'PyInstaller' is not a package
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The error is located specifically in the pyproject.toml file. .toml files are used to do configuration in project using a minimalist language. It's mainly used to point the author of the project and its contact, a server direction with its accessible ports, an url to an API to scrap data, etc.
It seems that its an internal bug in the configuration of that file, which is used on the installment of PyInstaller. I recommend checking if that version is unstable. Try installing the previous one.
pip3 install --no-cache-dir pyinstaller==4.2
I am trying to install this module. When I run the command
pip install -r requirements.txt
I get the following:
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [32 lines of output]
Traceback (most recent call last):
File "/Users/voi/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/Users/voi/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/voi/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
return hook(config_settings)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py", line 146, in get_requires_for_build_wheel
return self._get_build_requires(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
self.run_setup()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 8, in <module>
setup(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/dist.py", line 429, in __init__
_Distribution.__init__(self, {
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 293, in __init__
self.finalize_options()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/dist.py", line 721, in finalize_options
ep(self)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/dist.py", line 727, in _finalize_setup_keywords
ep.require(installer=self.fetch_build_egg)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2483, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 790, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (setuptools 49.2.1 (/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages), Requirement.parse('setuptools>=58.0'))
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I have no earthly idea on what to do. I have tried doing this directly in terminal as well as in a virtual environment and neither has worked.
I am trying to install pandas to use in my python code. I was able to upgrade my pip using pip install upgrade pip but when I try to install pandas using pip install pandas I get the following errors:
Traceback (most recent call last):
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\fcompiler\compaq.py", line 78
, in CompaqVisualFCompiler
m.initialize()
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\msvccompiler.py", line 48, in
initialize
_MSVCCompiler.initialize(self)
File "C:\msys64\mingw64\lib\python3.9\distutils\msvccompiler.py", line 259, in initialize
self.__paths = self.get_msvc_paths("path")
File "C:\msys64\mingw64\lib\python3.9\distutils\msvccompiler.py", line 602, in get_msvc_paths
r"\Win32 (%s)\Directories" % (self.__root, platform))
AttributeError: 'MSVCCompiler' object has no attribute '_MSVCCompiler__root'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Brian\AppData\Local\Temp\tmp94oxoujq_in_process.py", line 363, in <module>
main()
File "C:\Users\Brian\AppData\Local\Temp\tmp94oxoujq_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Brian\AppData\Local\Temp\tmp94oxoujq_in_process.py", line 164, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "C:\Users\Brian\AppData\Local\Temp\pip-build-env-tr54un10\overlay\lib\python3.9\site-packages\setuptools\build_meta.py", line 157, in prepare
e_metadata_for_build_wheel
self.run_setup()
File "C:\Users\Brian\AppData\Local\Temp\pip-build-env-tr54un10\overlay\lib\python3.9\site-packages\setuptools\build_meta.py", line 248, in run_se
tup
super(_BuildMetaLegacyBackend,
File "C:\Users\Brian\AppData\Local\Temp\pip-build-env-tr54un10\overlay\lib\python3.9\site-packages\setuptools\build_meta.py", line 142, in run_se
tup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 508, in <module>
setup_package()
File "setup.py", line 500, in setup_package
setup(**metadata)
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "C:\Users\Brian\AppData\Local\Temp\pip-build-env-tr54un10\overlay\lib\python3.9\site-packages\setuptools\__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "C:\msys64\mingw64\lib\python3.9\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\msys64\mingw64\lib\python3.9\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\msys64\mingw64\lib\python3.9\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Brian\AppData\Local\Temp\pip-build-env-tr54un10\overlay\lib\python3.9\site-packages\setuptools\command\dist_info.py", line 31, in
run
egg_info.run()
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\command\egg_info.py", line 24
, in run
self.run_command("build_src")
File "C:\msys64\mingw64\lib\python3.9\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\msys64\mingw64\lib\python3.9\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\command\build_src.py", line 1
44, in run
self.build_sources()
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\command\build_src.py", line 1
55, in build_sources
self.build_library_sources(*libname_info)
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\command\build_src.py", line 2
88, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\command\build_src.py", line 3
78, in generate_sources
source = func(extension, build_dir)
File "numpy\core\setup.py", line 658, in get_mathlib_info
st = config_cmd.try_link('int main(void) { return 0;}')
File "C:\msys64\mingw64\lib\python3.9\distutils\command\config.py", line 241, in
try_link
self._check_compiler()
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\command\config.py", line 80,
in _check_compiler
self.fcompiler = new_fcompiler(compiler=self.fcompiler,
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\fcompiler\__init__.py", line
876, in new_fcompiler
load_all_fcompiler_classes()
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\fcompiler\__init__.py", line
777, in load_all_fcompiler_classes
__import__ (module_name)
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\fcompiler\compaq.py", line 54
, in <module>
class CompaqVisualFCompiler(FCompiler):
File "C:\Users\Brian\AppData\Local\Temp\pip-install-i72pcle8\numpy_328f6081d36f426b90572be17f203722\numpy\distutils\fcompiler\compaq.py", line 83
, in CompaqVisualFCompiler
if '_MSVCCompiler__root' in str(msg):
NameError: name 'msg' is not defined
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[end of output]
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Before upgrading my pip, I tried installing pandas but none of the versions that I tried to install would download; however, I don't think I was getting these same errors before I upgraded pip. Can someone help me figure out how to install pandas? Is there a different way that I need to install it without using pip install pandas?
Remove the NumPy then try to install pandas again.
pip uninstall package_name
I'm on osx 10.6.8, and trying to use bash to install virtualenvwrapper, and am getting back cryptic feedback (at least for me).
I was able to install virtualenv.
Perhaps someone can point me in the right direction...
the output from the failed install:
Downloading/unpacking virtualenvwrapper
Running setup.py egg_info for package virtualenvwrapper
Installed /private/tmp/pip_build_root/virtualenvwrapper/pbr-0.5.23-py2.6.egg
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.py:245: UserWarning: Module pbr was already imported from /tmp/easy_install-xuBV6G/pbr-0.5.23/pbr/__init__.py, but /private/tmp/pip_build_root/virtualenvwrapper/pbr-0.5.23-py2.6.egg is being added to sys.path
working_set.add(dist)
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/private/tmp/pip_build_root/virtualenvwrapper/setup.py", line 7, in <module>
pbr=True,
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.py", line 223, in __init__
_Distribution.__init__(self,attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 270, in __init__
self.finalize_options()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.py", line 256, in finalize_options
ep.load()(self, ep.name, value)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 1907, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named core
Complete output from command python setup.py egg_info:
Installed /private/tmp/pip_build_root/virtualenvwrapper/pbr-0.5.23-py2.6.egg
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.py:245: UserWarning: Module pbr was already imported from /tmp/easy_install-xuBV6G/pbr-0.5.23/pbr/init.py, but /private/tmp/pip_build_root/virtualenvwrapper/pbr-0.5.23-py2.6.egg is being added to sys.path
working_set.add(dist)
Traceback (most recent call last):
File "", line 16, in
File "/private/tmp/pip_build_root/virtualenvwrapper/setup.py", line 7, in
pbr=True,
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.py", line 223, in init
_Distribution.__init__(self,attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 270, in init
self.finalize_options()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.py", line 256, in finalize_options
ep.load()(self, ep.name, value)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 1907, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named core
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/virtualenvwrapper
Storing complete log in /Users/admin/Library/Logs/pip.log
Updating pbr package using pip install -U pbr globally solved the import issue.