I am trying to install cplex for python 2.7.9. I downloaded IBM ILOG CPLEX Studio Preview 12.6.1 32bit and I tried to install it from Pycharm (using the GUI and the install package button) but I got this error message:
Figuring out CPlex setup.
Targeting 32bit platform.
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "C:\Users\me\AppData\Local\Temp\pycharm-packaging0.tmp\pycpx\setup.py", line 148, in <module>
"concert include directory", 'and', '', False)
File "C:\Users\me\AppData\Local\Temp\pycharm-packaging0.tmp\pycpx\setup.py", line 145, in find_path
% (name, (', '.join(goal_list))))
Exception: CPLEX concert include directory not found: please set environment variable CPLEX_PATH to point to the base of the CPlex/Concert installation. Attempting to find files: ilconcert/iloexpression.h, ilconcert/iloalg.h, ilconcert/iloenv.h, ilconcert/ilosolution.h.
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in C:\Users\me\AppData\Local\Temp\pycharm-packaging0.tmp\pycpx
Storing debug log for failure in C:\Users\me\pip\pip.log
Alternatively, I tried to install it from cmd.exe using python setup.py install and I got this output:
C:\Program Files (x86)\IBM\ILOG\CPLEX_Studio_Preview1261\cplex\python\2.7\x86_win32>python setup.py
install
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\cplex
copying cplex\callbacks.py -> build\lib\cplex
copying cplex\six.py -> build\lib\cplex
copying cplex\__init__.py -> build\lib\cplex
creating build\lib\cplex\_internal
copying cplex\_internal\_aux_functions.py -> build\lib\cplex\_internal
copying cplex\_internal\_constants.py -> build\lib\cplex\_internal
copying cplex\_internal\_list_array_utils.py -> build\lib\cplex\_internal
copying cplex\_internal\_matrices.py -> build\lib\cplex\_internal
copying cplex\_internal\_ostream.py -> build\lib\cplex\_internal
copying cplex\_internal\_parameters_auto.py -> build\lib\cplex\_internal
copying cplex\_internal\_parameter_classes.py -> build\lib\cplex\_internal
copying cplex\_internal\_parameter_hierarchy.py -> build\lib\cplex\_internal
copying cplex\_internal\_procedural.py -> build\lib\cplex\_internal
copying cplex\_internal\_pycplex.py -> build\lib\cplex\_internal
copying cplex\_internal\_pycplex_platform.py -> build\lib\cplex\_internal
copying cplex\_internal\_subinterfaces.py -> build\lib\cplex\_internal
copying cplex\_internal\__init__.py -> build\lib\cplex\_internal
creating build\lib\cplex\exceptions
copying cplex\exceptions\error_codes.py -> build\lib\cplex\exceptions
copying cplex\exceptions\__init__.py -> build\lib\cplex\exceptions
copying cplex\_internal\py27_cplex1261.pyd -> build\lib\cplex\_internal
copying cplex\_internal\cplex1261.dll -> build\lib\cplex\_internal
running install_lib
copying build\lib\cplex\callbacks.py -> C:\Python27\Lib\site-packages\cplex
copying build\lib\cplex\exceptions\error_codes.py -> C:\Python27\Lib\site-packages\cplex\exceptions
copying build\lib\cplex\exceptions\__init__.py -> C:\Python27\Lib\site-packages\cplex\exceptions
copying build\lib\cplex\six.py -> C:\Python27\Lib\site-packages\cplex
copying build\lib\cplex\_internal\cplex1261.dll -> C:\Python27\Lib\site-packages\cplex\_internal
copying build\lib\cplex\_internal\py27_cplex1261.pyd -> C:\Python27\Lib\site-packages\cplex\_interna
l
copying build\lib\cplex\_internal\_aux_functions.py -> C:\Python27\Lib\site-packages\cplex\_internal
copying build\lib\cplex\_internal\_constants.py -> C:\Python27\Lib\site-packages\cplex\_internal
copying build\lib\cplex\_internal\_list_array_utils.py -> C:\Python27\Lib\site-packages\cplex\_inter
nal
copying build\lib\cplex\_internal\_matrices.py -> C:\Python27\Lib\site-packages\cplex\_internal
copying build\lib\cplex\_internal\_ostream.py -> C:\Python27\Lib\site-packages\cplex\_internal
copying build\lib\cplex\_internal\_parameters_auto.py -> C:\Python27\Lib\site-packages\cplex\_intern
al
copying build\lib\cplex\_internal\_parameter_classes.py -> C:\Python27\Lib\site-packages\cplex\_inte
rnal
copying build\lib\cplex\_internal\_parameter_hierarchy.py -> C:\Python27\Lib\site-packages\cplex\_in
ternal
copying build\lib\cplex\_internal\_procedural.py -> C:\Python27\Lib\site-packages\cplex\_internal
copying build\lib\cplex\_internal\_pycplex.py -> C:\Python27\Lib\site-packages\cplex\_internal
copying build\lib\cplex\_internal\_pycplex_platform.py -> C:\Python27\Lib\site-packages\cplex\_inter
nal
copying build\lib\cplex\_internal\_subinterfaces.py -> C:\Python27\Lib\site-packages\cplex\_internal
copying build\lib\cplex\_internal\__init__.py -> C:\Python27\Lib\site-packages\cplex\_internal
copying build\lib\cplex\__init__.py -> C:\Python27\Lib\site-packages\cplex
byte-compiling C:\Python27\Lib\site-packages\cplex\callbacks.py to callbacks.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\exceptions\error_codes.py to error_codes.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\exceptions\__init__.py to __init__.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\six.py to six.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_aux_functions.py to _aux_functions.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_constants.py to _constants.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_list_array_utils.py to _list_array_uti
ls.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_matrices.py to _matrices.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_ostream.py to _ostream.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_parameters_auto.py to _parameters_auto
.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_parameter_classes.py to _parameter_cla
sses.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_parameter_hierarchy.py to _parameter_h
ierarchy.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_procedural.py to _procedural.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_pycplex.py to _pycplex.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_pycplex_platform.py to _pycplex_platfo
rm.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\_subinterfaces.py to _subinterfaces.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\_internal\__init__.py to __init__.pyc
byte-compiling C:\Python27\Lib\site-packages\cplex\__init__.py to __init__.pyc
running install_egg_info
Removing C:\Python27\Lib\site-packages\cplex-12.6.1.0-py2.7.egg-info
Writing C:\Python27\Lib\site-packages\cplex-12.6.1.0-py2.7.egg-info
But when I type import cplex I got this error:
import cplex
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\IPython\core\interactiveshell.py", line 2735, in run_code
exec code_obj in self.user_global_ns, self.user_ns
File "<ipython-input-11-062a62e47666>", line 1, in <module>
import cplex
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 4.5\helpers\pydev\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Python27\lib\site-packages\cplex\__init__.py", line 43, in <module>
from . import _internal
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 4.5\helpers\pydev\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:\Python27\lib\site-packages\cplex\_internal\__init__.py", line 21, in <module>
from . import _aux_functions
ImportError: cannot import name _aux_functions
Please can anyone help me?
You might just want to set the path in your environment variables for python to tell that CPLEX is at this location. Like CPLEXhome/python/PLATFORM/.
You might want to copy the /cplex dir from the IBM installation path to your local python modules path.
Related
I'm fairly new to Python and I'm trying to download the feather library but I am getting an error. I have already updated pip and setuptools but I am still getting errors. This is the output I get from PyCharm:
Collecting feather
Using cached https://files.pythonhosted.org/packages/77/d1/073c848713d9987f48d0bc8415646760a069ef3ca80e9b45fdb6b4422133/feather-0.9.1dev.tar.gz
Complete output from command python setup.py egg_info:
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
Traceback (most recent call last):
File "C:\Users\NICKAL~1\AppData\Local\Temp\pycharm-packaging\feather\distribute_setup.py", line 143, in use_setuptools
raise ImportError
ImportError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\NICKAL~1\AppData\Local\Temp\pycharm-packaging\feather\setup.py", line 3, in <module>
distribute_setup.use_setuptools()
File "C:\Users\NICKAL~1\AppData\Local\Temp\pycharm-packaging\feather\distribute_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "C:\Users\NICKAL~1\AppData\Local\Temp\pycharm-packaging\feather\distribute_setup.py", line 124, in _do_download
to_dir, download_delay)
File "C:\Users\NICKAL~1\AppData\Local\Temp\pycharm-packaging\feather\distribute_setup.py", line 193, in download_setuptools
src = urlopen(url)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\urllib\request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\urllib\request.py", line 532, in open
response = meth(req, response)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\urllib\request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\urllib\request.py", line 570, in error
return self._call_chain(*args)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\urllib\request.py", line 504, in _call_chain
result = func(*args)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\urllib\request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: SSL is required
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\NICKAL~1\AppData\Local\Temp\pycharm-packaging\feather\
=====================Update per Chris Hunt's Response==========================
I am actually receiving conflicting feedback as to whether I have installed feather-format. I receive this output from my anaconda command prompt:
(base) C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32>pip install feather-format
Requirement already satisfied: feather-format in c:\users\nick alexander\anaconda3\lib\site-packages (0.4.0)
Requirement already satisfied: pyarrow>=0.4.0 in c:\users\nick alexander\anaconda3\lib\site-packages (from feather-format) (0.12.0a0)
Requirement already satisfied: numpy>=1.14 in c:\users\nick alexander\anaconda3\lib\site-packages (from pyarrow>=0.4.0->feather-format) (1.15.4)
Requirement already satisfied: six>=1.0.0 in c:\users\nick alexander\anaconda3\lib\site-packages (from pyarrow>=0.4.0->feather-format) (1.11.0)
Additionally, when I try to install feather-format on pycharm, I receive this error:
Collecting feather-format
Downloading https://files.pythonhosted.org/packages/08/55/940b97cc6f19a19f5dab9efef2f68a0ce43a7632f858b272391f0b851a7e/feather-format-0.4.0.tar.gz
Collecting pyarrow>=0.4.0 (from feather-format)
Downloading https://files.pythonhosted.org/packages/1d/b6/c4e63f8bdb175d2223df26ddf12e2a0ba3fa347890128b5f128cb3f72589/pyarrow-0.11.0.tar.gz (602kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Requirement already satisfied: six>=1.0.0 in c:\users\nick alexander\appdata\local\programs\python\python36-32\lib\site-packages (from pyarrow>=0.4.0->feather-format) (1.11.0)
Requirement already satisfied: numpy>=1.14 in c:\users\nick alexander\appdata\local\programs\python\python36-32\lib\site-packages (from pyarrow>=0.4.0->feather-format) (1.15.2)
Building wheels for collected packages: pyarrow
Building wheel for pyarrow (PEP 517): started
Building wheel for pyarrow (PEP 517): finished with status 'error'
Complete output from command "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\python.exe" "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\pep517\_in_process.py" build_wheel C:\Users\NICKAL~1\AppData\Local\Temp\tmpnf9ink_0:
C:\Users\NICKAL~1\AppData\Local\Temp\pip-build-env-quyk7sl2\overlay\Lib\site-packages\setuptools_scm\utils.py:118: UserWarning: 'git' was not found
warnings.warn("%r was not found" % name)
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.6
creating build\lib.win32-3.6\pyarrow
copying pyarrow\benchmark.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\compat.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\csv.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\cuda.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\feather.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\filesystem.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\formatting.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\hdfs.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\ipc.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\jvm.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\orc.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\pandas_compat.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\parquet.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\plasma.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\serialization.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\types.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\util.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\_generated_version.py -> build\lib.win32-3.6\pyarrow
copying pyarrow\__init__.py -> build\lib.win32-3.6\pyarrow
creating build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\conftest.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\deserialize_buffer.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\pandas_examples.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_array.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_builder.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_convert_builtin.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_convert_pandas.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_csv.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_cuda.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_cython.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_deprecations.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_feather.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_hdfs.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_io.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_ipc.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_jvm.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_misc.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_orc.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_parquet.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_plasma.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_plasma_tf_op.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_scalars.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_schema.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_serialization.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_table.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_tensor.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\test_types.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\util.py -> build\lib.win32-3.6\pyarrow\tests
copying pyarrow\tests\__init__.py -> build\lib.win32-3.6\pyarrow\tests
running egg_info
writing pyarrow.egg-info\PKG-INFO
writing dependency_links to pyarrow.egg-info\dependency_links.txt
writing entry points to pyarrow.egg-info\entry_points.txt
writing requirements to pyarrow.egg-info\requires.txt
writing top-level names to pyarrow.egg-info\top_level.txt
reading manifest file 'pyarrow.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '#*' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
no previously-included directories found matching '.asv'
writing manifest file 'pyarrow.egg-info\SOURCES.txt'
copying pyarrow\__init__.pxd -> build\lib.win32-3.6\pyarrow
copying pyarrow\_csv.pyx -> build\lib.win32-3.6\pyarrow
copying pyarrow\_cuda.pxd -> build\lib.win32-3.6\pyarrow
copying pyarrow\_cuda.pyx -> build\lib.win32-3.6\pyarrow
copying pyarrow\_orc.pxd -> build\lib.win32-3.6\pyarrow
copying pyarrow\_orc.pyx -> build\lib.win32-3.6\pyarrow
copying pyarrow\_parquet.pxd -> build\lib.win32-3.6\pyarrow
copying pyarrow\_parquet.pyx -> build\lib.win32-3.6\pyarrow
copying pyarrow\_plasma.pyx -> build\lib.win32-3.6\pyarrow
copying pyarrow\array.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\benchmark.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\builder.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\error.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\feather.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\io-hdfs.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\io.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\ipc.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\lib.pxd -> build\lib.win32-3.6\pyarrow
copying pyarrow\lib.pyx -> build\lib.win32-3.6\pyarrow
copying pyarrow\lib_api.h -> build\lib.win32-3.6\pyarrow
copying pyarrow\memory.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\plasma_store -> build\lib.win32-3.6\pyarrow
copying pyarrow\public-api.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\scalar.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\serialization.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\table.pxi -> build\lib.win32-3.6\pyarrow
copying pyarrow\types.pxi -> build\lib.win32-3.6\pyarrow
creating build\lib.win32-3.6\pyarrow\include
creating build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\allocator.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\api.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\array.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\buffer.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\builder.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\compare.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\memory_pool.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\pretty_print.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\record_batch.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\status.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\table.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\table_builder.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\tensor.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\test-util.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\type.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\type_fwd.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\type_traits.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\visitor.h -> build\lib.win32-3.6\pyarrow\include\arrow
copying pyarrow\include\arrow\visitor_inline.h -> build\lib.win32-3.6\pyarrow\include\arrow
creating build\lib.win32-3.6\pyarrow\include\arrow\compute
copying pyarrow\include\arrow\compute\api.h -> build\lib.win32-3.6\pyarrow\include\arrow\compute
copying pyarrow\include\arrow\compute\context.h -> build\lib.win32-3.6\pyarrow\include\arrow\compute
copying pyarrow\include\arrow\compute\kernel.h -> build\lib.win32-3.6\pyarrow\include\arrow\compute
creating build\lib.win32-3.6\pyarrow\include\arrow\compute\kernels
copying pyarrow\include\arrow\compute\kernels\cast.h -> build\lib.win32-3.6\pyarrow\include\arrow\compute\kernels
copying pyarrow\include\arrow\compute\kernels\hash.h -> build\lib.win32-3.6\pyarrow\include\arrow\compute\kernels
creating build\lib.win32-3.6\pyarrow\include\arrow\io
copying pyarrow\include\arrow\io\api.h -> build\lib.win32-3.6\pyarrow\include\arrow\io
copying pyarrow\include\arrow\io\file.h -> build\lib.win32-3.6\pyarrow\include\arrow\io
copying pyarrow\include\arrow\io\hdfs.h -> build\lib.win32-3.6\pyarrow\include\arrow\io
copying pyarrow\include\arrow\io\interfaces.h -> build\lib.win32-3.6\pyarrow\include\arrow\io
copying pyarrow\include\arrow\io\memory.h -> build\lib.win32-3.6\pyarrow\include\arrow\io
creating build\lib.win32-3.6\pyarrow\include\arrow\ipc
copying pyarrow\include\arrow\ipc\api.h -> build\lib.win32-3.6\pyarrow\include\arrow\ipc
copying pyarrow\include\arrow\ipc\dictionary.h -> build\lib.win32-3.6\pyarrow\include\arrow\ipc
copying pyarrow\include\arrow\ipc\feather.h -> build\lib.win32-3.6\pyarrow\include\arrow\ipc
copying pyarrow\include\arrow\ipc\json.h -> build\lib.win32-3.6\pyarrow\include\arrow\ipc
copying pyarrow\include\arrow\ipc\message.h -> build\lib.win32-3.6\pyarrow\include\arrow\ipc
copying pyarrow\include\arrow\ipc\reader.h -> build\lib.win32-3.6\pyarrow\include\arrow\ipc
copying pyarrow\include\arrow\ipc\writer.h -> build\lib.win32-3.6\pyarrow\include\arrow\ipc
creating build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\api.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\arrow_to_pandas.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\arrow_to_python.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\builtin_convert.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\common.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\config.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\helpers.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\init.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\io.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\numpy_convert.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\numpy_interop.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\numpy_to_arrow.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\platform.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\pyarrow.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\python_to_arrow.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
copying pyarrow\include\arrow\python\type_traits.h -> build\lib.win32-3.6\pyarrow\include\arrow\python
creating build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\bit-stream-utils.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\bit-util.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\bpacking.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\compiler-util.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\compression.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\compression_brotli.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\compression_lz4.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\compression_snappy.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\compression_zlib.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\compression_zstd.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\cpu-info.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\decimal.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\hash-util.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\hash.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\key_value_metadata.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\logging.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\macros.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\parallel.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\rle-encoding.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\sse-util.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\stl.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\type_traits.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\variant.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
copying pyarrow\include\arrow\util\visibility.h -> build\lib.win32-3.6\pyarrow\include\arrow\util
creating build\lib.win32-3.6\pyarrow\include\arrow\util\variant
copying pyarrow\include\arrow\util\variant\optional.h -> build\lib.win32-3.6\pyarrow\include\arrow\util\variant
copying pyarrow\include\arrow\util\variant\recursive_wrapper.h -> build\lib.win32-3.6\pyarrow\include\arrow\util\variant
copying pyarrow\include\arrow\util\variant\variant_cast.h -> build\lib.win32-3.6\pyarrow\include\arrow\util\variant
copying pyarrow\include\arrow\util\variant\variant_io.h -> build\lib.win32-3.6\pyarrow\include\arrow\util\variant
copying pyarrow\include\arrow\util\variant\variant_visitor.h -> build\lib.win32-3.6\pyarrow\include\arrow\util\variant
creating build\lib.win32-3.6\pyarrow\includes
copying pyarrow\includes\__init__.pxd -> build\lib.win32-3.6\pyarrow\includes
copying pyarrow\includes\common.pxd -> build\lib.win32-3.6\pyarrow\includes
copying pyarrow\includes\libarrow.pxd -> build\lib.win32-3.6\pyarrow\includes
copying pyarrow\includes\libarrow_cuda.pxd -> build\lib.win32-3.6\pyarrow\includes
creating build\lib.win32-3.6\pyarrow\tensorflow
copying pyarrow\tensorflow\plasma_op.cc -> build\lib.win32-3.6\pyarrow\tensorflow
copying pyarrow\tests\pyarrow_cython_example.pyx -> build\lib.win32-3.6\pyarrow\tests
creating build\lib.win32-3.6\pyarrow\tests\data
creating build\lib.win32-3.6\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\README.md -> build\lib.win32-3.6\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\TestOrcFile.emptyFile.jsn.gz -> build\lib.win32-3.6\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\TestOrcFile.emptyFile.orc -> build\lib.win32-3.6\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\TestOrcFile.test1.jsn.gz -> build\lib.win32-3.6\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\TestOrcFile.test1.orc -> build\lib.win32-3.6\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\TestOrcFile.testDate1900.jsn.gz -> build\lib.win32-3.6\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\TestOrcFile.testDate1900.orc -> build\lib.win32-3.6\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\decimal.jsn.gz -> build\lib.win32-3.6\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\decimal.orc -> build\lib.win32-3.6\pyarrow\tests\data\orc
creating build\lib.win32-3.6\pyarrow\tests\data\parquet
copying pyarrow\tests\data\parquet\v0.7.1.all-named-index.parquet -> build\lib.win32-3.6\pyarrow\tests\data\parquet
copying pyarrow\tests\data\parquet\v0.7.1.column-metadata-handling.parquet -> build\lib.win32-3.6\pyarrow\tests\data\parquet
copying pyarrow\tests\data\parquet\v0.7.1.parquet -> build\lib.win32-3.6\pyarrow\tests\data\parquet
copying pyarrow\tests\data\parquet\v0.7.1.some-named-index.parquet -> build\lib.win32-3.6\pyarrow\tests\data\parquet
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
creating build\temp.win32-3.6
creating build\temp.win32-3.6\Release
Traceback (most recent call last):
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
main()
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 141, in build_wheel
metadata_directory)
File "C:\Users\NICKAL~1\AppData\Local\Temp\pip-build-env-quyk7sl2\overlay\Lib\site-packages\setuptools\build_meta.py", line 158, in build_wheel
_run_setup()
File "C:\Users\NICKAL~1\AppData\Local\Temp\pip-build-env-quyk7sl2\overlay\Lib\site-packages\setuptools\build_meta.py", line 85, in _run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 586, in <module>
url="https://arrow.apache.org/"
File "C:\Users\NICKAL~1\AppData\Local\Temp\pip-build-env-quyk7sl2\overlay\Lib\site-packages\setuptools\__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\NICKAL~1\AppData\Local\Temp\pip-build-env-quyk7sl2\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 188, in run
self.run_command('build')
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Nick Alexander\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 88, in run
self._run_cmake()
File "setup.py", line 248, in _run_cmake
raise RuntimeError('Not supported on 32-bit Windows')
RuntimeError: Not supported on 32-bit Windows
----------------------------------------
Running setup.py clean for pyarrow
Failed to build pyarrow
Failed building wheel for pyarrow
Could not build wheels for {} which use PEP 517 and cannot be installed directly
So it looks like I simply need to update my interpreter to 64 bits?
If you're trying to install feather (the package for "Feather: fast, interoperable binary data frame storage" then you should execute pip install feather-format. The PyPI feather package is different and appears to only be for Python 2.x.
I already when through a number of similar thread testing the solutions but I was not able to make it work.
I'm installing a software called poretools for analysis of sequencing data. The installation goes on without problems, and all depoencencies are satisfied. But when I run the software I get the following error:
dg#dg-XPS-13:~$ poretools
Traceback (most recent call last):
File "/usr/local/bin/poretools", line 9, in <module>
load_entry_point('poretools==0.6.0', 'console_scripts', 'poretools')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2355, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg/poretools/__init__.py", line 4, in <module>
from Fast5File import *
File "/usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg/poretools/Fast5File.py", line 6, in <module>
import h5py
File "/usr/local/lib/python2.7/dist-packages/h5py/__init__.py", line 34, in <module>
from ._conv import register_converters as _register_converters
File "h5py/h5t.pxd", line 14, in init h5py._conv (/tmp/pip_build_root/h5py/h5py/_conv.c:7359)
File "h5py/numpy.pxd", line 66, in init h5py.h5t (/tmp/pip_build_root/h5py/h5py/h5t.c:20505)
ValueError: numpy.dtype has the wrong size, try recompiling
I already tried to update and reinstall numpy, now at the latest version numpy-1.12.0.
EDIT:
Can try to reproduce using:
dg#dg-XPS-13:~$ git clone https://github.com/arq5x/poretools
dg#dg-XPS-13:~$ cd poretools
dg#dg-XPS-13:~/poretools$ sudo python setup.py install
0.6.0
running install
running bdist_egg
running egg_info
writing requirements to poretools.egg-info/requires.txt
writing poretools.egg-info/PKG-INFO
writing top-level names to poretools.egg-info/top_level.txt
writing dependency_links to poretools.egg-info/dependency_links.txt
writing entry points to poretools.egg-info/entry_points.txt
reading manifest file 'poretools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'poretools.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/fastq.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/formats.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/version.py -> build/bdist.linux-x86_64/egg/poretools
creating build/bdist.linux-x86_64/egg/poretools/scripts
copying build/lib.linux-x86_64-2.7/poretools/scripts/poretools-script.py -> build/bdist.linux-x86_64/egg/poretools/scripts
copying build/lib.linux-x86_64-2.7/poretools/scripts/__init__.py -> build/bdist.linux-x86_64/egg/poretools/scripts
copying build/lib.linux-x86_64-2.7/poretools/times.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/qual_v_pos.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/index.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/squiggle.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/metadata.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/stats.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/readstats.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/poretools_main.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/combine.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/statistics.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/occupancy.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/organise.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/Fast5File.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/qualdist.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/yield_plot.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/tabular.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/winner.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/nucdist.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/Event.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/events.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/hist.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/__init__.py -> build/bdist.linux-x86_64/egg/poretools
copying build/lib.linux-x86_64-2.7/poretools/fasta.py -> build/bdist.linux-x86_64/egg/poretools
byte-compiling build/bdist.linux-x86_64/egg/poretools/fastq.py to fastq.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/formats.py to formats.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/version.py to version.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/scripts/poretools-script.py to poretools-script.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/scripts/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/times.py to times.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/qual_v_pos.py to qual_v_pos.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/index.py to index.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/squiggle.py to squiggle.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/metadata.py to metadata.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/stats.py to stats.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/readstats.py to readstats.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/poretools_main.py to poretools_main.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/combine.py to combine.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/statistics.py to statistics.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/occupancy.py to occupancy.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/organise.py to organise.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/Fast5File.py to Fast5File.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/qualdist.py to qualdist.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/yield_plot.py to yield_plot.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/tabular.py to tabular.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/winner.py to winner.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/nucdist.py to nucdist.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/Event.py to Event.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/events.py to events.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/hist.py to hist.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/poretools/fasta.py to fasta.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying poretools.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying poretools.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying poretools.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying poretools.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying poretools.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying poretools.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying poretools.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/poretools-0.6.0-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing poretools-0.6.0-py2.7.egg
removing '/usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg
Extracting poretools-0.6.0-py2.7.egg to /usr/local/lib/python2.7/dist-packages
poretools 0.6.0 is already the active version in easy-install.pth
Installing poretools script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg
Processing dependencies for poretools==0.6.0
Searching for pandas==0.19.2
Best match: pandas 0.19.2
Adding pandas 0.19.2 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for seaborn==0.7.1
Best match: seaborn 0.7.1
Processing seaborn-0.7.1-py2.7.egg
seaborn 0.7.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/seaborn-0.7.1-py2.7.egg
Searching for matplotlib==2.0.0
Best match: matplotlib 2.0.0
Adding matplotlib 2.0.0 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for h5py==2.6.0
Best match: h5py 2.6.0
Adding h5py 2.6.0 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for numpy==1.12.0
Best match: numpy 1.12.0
Removing numpy 1.8.2 from easy-install.pth file
Adding numpy 1.12.0 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for pytz==2016.10
Best match: pytz 2016.10
Adding pytz 2016.10 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for python-dateutil==2.6.0
Best match: python-dateutil 2.6.0
Removing python-dateutil 1.5 from easy-install.pth file
Adding python-dateutil 2.6.0 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for pyparsing==2.1.10
Best match: pyparsing 2.1.10
Removing pyparsing 2.0.1 from easy-install.pth file
Adding pyparsing 2.1.10 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for cycler==0.10.0
Best match: cycler 0.10.0
Adding cycler 0.10.0 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for subprocess32==3.2.7
Best match: subprocess32 3.2.7
Adding subprocess32 3.2.7 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for functools32==3.2.3.post2
Best match: functools32 3.2.3.post2
Adding functools32 3.2.3.post2 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for six==1.10.0
Best match: six 1.10.0
Adding six 1.10.0 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for poretools==0.6.0
dg#dg-XPS-13:~/poretools$ poretools --help
Traceback (most recent call last):
File "/usr/local/bin/poretools", line 9, in <module>
load_entry_point('poretools==0.6.0', 'console_scripts', 'poretools')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2355, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg/poretools/__init__.py", line 4, in <module>
from Fast5File import *
File "/usr/local/lib/python2.7/dist-packages/poretools-0.6.0-py2.7.egg/poretools/Fast5File.py", line 6, in <module>
import h5py
File "/usr/local/lib/python2.7/dist-packages/h5py/__init__.py", line 34, in <module>
from ._conv import register_converters as _register_converters
File "h5py/h5t.pxd", line 14, in init h5py._conv (/tmp/pip_build_root/h5py/h5py/_conv.c:7359)
File "h5py/numpy.pxd", line 66, in init h5py.h5t (/tmp/pip_build_root/h5py/h5py/h5t.c:20505)
ValueError: numpy.dtype has the wrong size, try recompiling
Requirements:
h5py>=2.2.0
matplotlib
seaborn
pandas
Not sure what else I can do.
Any suggestions?
Thanks
I'm trying to install Rpy2 version 2-2.2.1 on Linux and I'm getting the errors below.
Here are the two error messages I'm seeing:
/usr/local/msg/lib64/R/bin/exec/R: error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory
rversion = m.groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
Here's the full output:
[user#user-ws ~]$ cd rpy2-2.2.1/
[user#user-ws rpy2-2.2.1]$ python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/rpy2
copying ./rpy/tests_rpy_classic.py -> build/lib.linux-x86_64-2.6/rpy2
copying ./rpy/tests.py -> build/lib.linux-x86_64-2.6/rpy2
copying ./rpy/rpy_classic.py -> build/lib.linux-x86_64-2.6/rpy2
copying ./rpy/__init__.py -> build/lib.linux-x86_64-2.6/rpy2
creating build/lib.linux-x86_64-2.6/rpy2/rlike
copying ./rpy/rlike/container.py -> build/lib.linux-x86_64-2.6/rpy2/rlike
copying ./rpy/rlike/__init__.py -> build/lib.linux-x86_64-2.6/rpy2/rlike
copying ./rpy/rlike/functional.py -> build/lib.linux-x86_64-2.6/rpy2/rlike
copying ./rpy/rlike/indexing.py -> build/lib.linux-x86_64-2.6/rpy2/rlike
creating build/lib.linux-x86_64-2.6/rpy2/rlike/tests
copying ./rpy/rlike/tests/test_indexing.py -> build/lib.linux-x86_64-2.6/rpy2/rlike/tests
copying ./rpy/rlike/tests/test_functional.py -> build/lib.linux-x86_64-2.6/rpy2/rlike/tests
copying ./rpy/rlike/tests/test_container.py -> build/lib.linux-x86_64-2.6/rpy2/rlike/tests
copying ./rpy/rlike/tests/__init__.py -> build/lib.linux-x86_64-2.6/rpy2/rlike/tests
creating build/lib.linux-x86_64-2.6/rpy2/rinterface
copying ./rpy/rinterface/__init__.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface
creating build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
copying ./rpy/rinterface/tests/test_EmbeddedR.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
copying ./rpy/rinterface/tests/test_Sexp.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
copying ./rpy/rinterface/tests/test_SexpClosure.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
copying ./rpy/rinterface/tests/test_SexpVector.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
copying ./rpy/rinterface/tests/test_SexpEnvironment.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
copying ./rpy/rinterface/tests/test_Device.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
copying ./rpy/rinterface/tests/__init__.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
copying ./rpy/rinterface/tests/test_SexpVectorNumeric.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
copying ./rpy/rinterface/tests/test_SexpExtPtr.py -> build/lib.linux-x86_64-2.6/rpy2/rinterface/tests
creating build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/numpy2ri.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/help.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/packages.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/robject.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/vectors.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/environments.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/__init__.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/functions.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/conversion.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/constants.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/language.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
copying ./rpy/robjects/methods.py -> build/lib.linux-x86_64-2.6/rpy2/robjects
creating build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testEnvironment.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testVector.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testArray.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testRObject.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testFormula.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testRobjects.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testLanguage.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testHelp.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/__init__.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testPackages.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testMethods.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testDataFrame.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testNumpyConversions.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
copying ./rpy/robjects/tests/testFunction.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/tests
creating build/lib.linux-x86_64-2.6/rpy2/robjects/lib
copying ./rpy/robjects/lib/ggplot2.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/lib
copying ./rpy/robjects/lib/__init__.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/lib
copying ./rpy/robjects/lib/grid.py -> build/lib.linux-x86_64-2.6/rpy2/robjects/lib
creating build/lib.linux-x86_64-2.6/rpy2/interactive
copying ./rpy/interactive/process_revents.py -> build/lib.linux-x86_64-2.6/rpy2/interactive
copying ./rpy/interactive/__init__.py -> build/lib.linux-x86_64-2.6/rpy2/interactive
creating build/lib.linux-x86_64-2.6/rpy2/interactive/tests
copying ./rpy/interactive/tests/__init__.py -> build/lib.linux-x86_64-2.6/rpy2/interactive/tests
running build_ext
/usr/local/msg/lib64/R/bin/exec/R: error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "setup.py", line 441, in <module>
[os.path.join('doc', 'source', 'rpy2_logo.png')])],
File "/usr/local/msg/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/local/msg/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/local/msg/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/local/msg/lib/python2.6/distutils/command/install.py", line 577, in run
self.run_command('build')
File "/usr/local/msg/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/local/msg/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/local/msg/lib/python2.6/distutils/command/build.py", line 134, in run
self.run_command(cmd_name)
File "/usr/local/msg/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/local/msg/lib/python2.6/distutils/dist.py", line 994, in run_command
cmd_obj.ensure_finalized()
File "/usr/local/msg/lib/python2.6/distutils/cmd.py", line 117, in ensure_finalized
self.finalize_options()
File "setup.py", line 144, in finalize_options
rversion = get_rversion(r_home)
File "setup.py", line 186, in get_rversion
rversion = m.groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
So I was trying to install this on a network drive, but from a machine I had never installed R on. The issue went away when I installed from the right machine.
I'm exploring options for vulnerability testing of my sites. Wapiti runs nicely on my local VM, so I want to set it up on a live server to decrease runtime. But this is my first time trying to install a python package on this server and I'm having some trouble.
I suspect there is a python configuration error or something similar because I'm seeing errors event when I don't attempt to install the package. What's going on here?
I have root access so (per this post: Proper permissions for python installation directory?) I did this:
[root#site wapiti]# easy_install pip
[root#site wapiti]# pip install .
Traceback (most recent call last):
File "/usr/bin/pip", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 236, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2097, in load_entry_point
return ep.load()
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.4/site-packages/pip-1.5.2-py2.4.egg/pip/__init__.py", line 9, in ?
from pip.log import logger
File "/usr/lib/python2.4/site-packages/pip-1.5.2-py2.4.egg/pip/log.py", line 19
real_consumer = (consumer if not isinstance(consumer, colorama.AnsiToWin32)
^
SyntaxError: invalid syntax
Running pip with a help flag (I'm assume -h should work) gives the exact same error.
Update: Running python in interactive mode gives the following error:
[root#site wapiti]# python
Python 2.4.3 (#1, Jan 9 2013, 06:47:03)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> True if True else False
File "<stdin>", line 1
True if True else False
^
SyntaxError: invalid syntax
Running python setup.py install (which worked fine on my debian VM) gives me a bunch of output that I'm unfamiliar with, including several syntax errors:
running install
running bdist_egg
running egg_info
writing requirements to wapiti.egg-info/requires.txt
writing wapiti.egg-info/PKG-INFO
writing top-level names to wapiti.egg-info/top_level.txt
writing dependency_links to wapiti.egg-info/dependency_links.txt
reading manifest file 'wapiti.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'wapiti.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/wapitiCore
copying build/lib/wapitiCore/__init__.py -> build/bdist.linux-x86_64/egg/wapitiCore
creating build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_file.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/attack.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/__init__.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_sql.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_htaccess.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_backup.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_blindsql.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_nikto.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_crlf.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_exec.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_xss.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
copying build/lib/wapitiCore/attack/mod_permanentxss.py -> build/bdist.linux-x86_64/egg/wapitiCore/attack
creating build/bdist.linux-x86_64/egg/wapitiCore/report
copying build/lib/wapitiCore/report/jsonreportgenerator.py -> build/bdist.linux-x86_64/egg/wapitiCore/report
copying build/lib/wapitiCore/report/__init__.py -> build/bdist.linux-x86_64/egg/wapitiCore/report
copying build/lib/wapitiCore/report/txtreportgenerator.py -> build/bdist.linux-x86_64/egg/wapitiCore/report
copying build/lib/wapitiCore/report/vulneranetxmlreportgenerator.py -> build/bdist.linux-x86_64/egg/wapitiCore/report
copying build/lib/wapitiCore/report/openvasreportgenerator.py -> build/bdist.linux-x86_64/egg/wapitiCore/report
copying build/lib/wapitiCore/report/htmlreportgenerator.py -> build/bdist.linux-x86_64/egg/wapitiCore/report
copying build/lib/wapitiCore/report/reportgeneratorinfo.py -> build/bdist.linux-x86_64/egg/wapitiCore/report
copying build/lib/wapitiCore/report/reportgenerator.py -> build/bdist.linux-x86_64/egg/wapitiCore/report
copying build/lib/wapitiCore/report/xmlreportgenerator.py -> build/bdist.linux-x86_64/egg/wapitiCore/report
creating build/bdist.linux-x86_64/egg/wapitiCore/file
copying build/lib/wapitiCore/file/auxtext.py -> build/bdist.linux-x86_64/egg/wapitiCore/file
copying build/lib/wapitiCore/file/__init__.py -> build/bdist.linux-x86_64/egg/wapitiCore/file
copying build/lib/wapitiCore/file/vulnerabilityxmlparser.py -> build/bdist.linux-x86_64/egg/wapitiCore/file
copying build/lib/wapitiCore/file/anomalyxmlparser.py -> build/bdist.linux-x86_64/egg/wapitiCore/file
copying build/lib/wapitiCore/file/reportgeneratorsxmlparser.py -> build/bdist.linux-x86_64/egg/wapitiCore/file
creating build/bdist.linux-x86_64/egg/wapitiCore/net
copying build/lib/wapitiCore/net/swf_parser.py -> build/bdist.linux-x86_64/egg/wapitiCore/net
copying build/lib/wapitiCore/net/lswww.py -> build/bdist.linux-x86_64/egg/wapitiCore/net
copying build/lib/wapitiCore/net/__init__.py -> build/bdist.linux-x86_64/egg/wapitiCore/net
copying build/lib/wapitiCore/net/crawlerpersister.py -> build/bdist.linux-x86_64/egg/wapitiCore/net
copying build/lib/wapitiCore/net/jsoncookie.py -> build/bdist.linux-x86_64/egg/wapitiCore/net
copying build/lib/wapitiCore/net/lamejs.py -> build/bdist.linux-x86_64/egg/wapitiCore/net
copying build/lib/wapitiCore/net/HTTP.py -> build/bdist.linux-x86_64/egg/wapitiCore/net
creating build/bdist.linux-x86_64/egg/wapitiCore/net/jsparser
copying build/lib/wapitiCore/net/jsparser/jsparser.py -> build/bdist.linux-x86_64/egg/wapitiCore/net/jsparser
copying build/lib/wapitiCore/net/jsparser/__init__.py -> build/bdist.linux-x86_64/egg/wapitiCore/net/jsparser
creating build/bdist.linux-x86_64/egg/wapitiCore/language
copying build/lib/wapitiCore/language/vulnerability.py -> build/bdist.linux-x86_64/egg/wapitiCore/language
copying build/lib/wapitiCore/language/__init__.py -> build/bdist.linux-x86_64/egg/wapitiCore/language
copying build/lib/wapitiCore/language/language.py -> build/bdist.linux-x86_64/egg/wapitiCore/language
creating build/bdist.linux-x86_64/egg/wapitiCore/config
creating build/bdist.linux-x86_64/egg/wapitiCore/config/attacks
copying build/lib/wapitiCore/config/attacks/backupPayloads.txt -> build/bdist.linux-x86_64/egg/wapitiCore/config/attacks
copying build/lib/wapitiCore/config/attacks/blindSQLPayloads.txt -> build/bdist.linux-x86_64/egg/wapitiCore/config/attacks
copying build/lib/wapitiCore/config/attacks/execPayloads.txt -> build/bdist.linux-x86_64/egg/wapitiCore/config/attacks
copying build/lib/wapitiCore/config/attacks/fileHandlingPayloads.txt -> build/bdist.linux-x86_64/egg/wapitiCore/config/attacks
copying build/lib/wapitiCore/config/attacks/xssPayloads.txt -> build/bdist.linux-x86_64/egg/wapitiCore/config/attacks
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/de
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/de/LC_MESSAGES
copying build/lib/wapitiCore/config/language/de/LC_MESSAGES/wapiti.mo -> build/bdist.linux-x86_64/egg/wapitiCore/config/language/de/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/en
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/en/LC_MESSAGES
copying build/lib/wapitiCore/config/language/en/LC_MESSAGES/wapiti.mo -> build/bdist.linux-x86_64/egg/wapitiCore/config/language/en/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/es
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/es/LC_MESSAGES
copying build/lib/wapitiCore/config/language/es/LC_MESSAGES/wapiti.mo -> build/bdist.linux-x86_64/egg/wapitiCore/config/language/es/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/fr
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/fr/LC_MESSAGES
copying build/lib/wapitiCore/config/language/fr/LC_MESSAGES/wapiti.mo -> build/bdist.linux-x86_64/egg/wapitiCore/config/language/fr/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/ms
creating build/bdist.linux-x86_64/egg/wapitiCore/config/language/ms/LC_MESSAGES
copying build/lib/wapitiCore/config/language/ms/LC_MESSAGES/wapiti.mo -> build/bdist.linux-x86_64/egg/wapitiCore/config/language/ms/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/wapitiCore/config/reports
copying build/lib/wapitiCore/config/reports/generators.xml -> build/bdist.linux-x86_64/egg/wapitiCore/config/reports
creating build/bdist.linux-x86_64/egg/wapitiCore/config/vulnerabilities
copying build/lib/wapitiCore/config/vulnerabilities/anomalies.xml -> build/bdist.linux-x86_64/egg/wapitiCore/config/vulnerabilities
copying build/lib/wapitiCore/config/vulnerabilities/vulnerabilities.xml -> build/bdist.linux-x86_64/egg/wapitiCore/config/vulnerabilities
creating build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/de.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/en.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/es.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/file_list.txt -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/fr.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/generateSources.sh -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/generateTranslations.sh -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/ms.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
creating build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/de.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/en.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/es.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/file_list.txt -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/fr.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/generateSources.sh -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/generateTranslations.sh -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
copying build/lib/wapitiCore/language_sources/ms.po -> build/bdist.linux-x86_64/egg/wapitiCore/language_sources
creating build/bdist.linux-x86_64/egg/wapitiCore/report_template
copying build/lib/wapitiCore/report_template/index.html -> build/bdist.linux-x86_64/egg/wapitiCore/report_template
copying build/lib/wapitiCore/report_template/logo_clear.png -> build/bdist.linux-x86_64/egg/wapitiCore/report_template
creating build/bdist.linux-x86_64/egg/wapitiCore/report_template/css
copying build/lib/wapitiCore/report_template/css/kube.css -> build/bdist.linux-x86_64/egg/wapitiCore/report_template/css
copying build/lib/wapitiCore/report_template/css/kube.min.css -> build/bdist.linux-x86_64/egg/wapitiCore/report_template/css
copying build/lib/wapitiCore/report_template/css/master.css -> build/bdist.linux-x86_64/egg/wapitiCore/report_template/css
creating build/bdist.linux-x86_64/egg/wapitiCore/report_template/js
copying build/lib/wapitiCore/report_template/js/jquery-1.9.1.min.js -> build/bdist.linux-x86_64/egg/wapitiCore/report_template/js
copying build/lib/wapitiCore/report_template/js/kube.buttons.js -> build/bdist.linux-x86_64/egg/wapitiCore/report_template/js
copying build/lib/wapitiCore/report_template/js/kube.tabs.js -> build/bdist.linux-x86_64/egg/wapitiCore/report_template/js
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_file.py to mod_file.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/attack.py to attack.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_sql.py to mod_sql.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_htaccess.py to mod_htaccess.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_backup.py to mod_backup.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_blindsql.py to mod_blindsql.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_nikto.py to mod_nikto.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_crlf.py to mod_crlf.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_exec.py to mod_exec.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_xss.py to mod_xss.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/attack/mod_permanentxss.py to mod_permanentxss.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/report/jsonreportgenerator.py to jsonreportgenerator.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/report/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/report/txtreportgenerator.py to txtreportgenerator.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/report/vulneranetxmlreportgenerator.py to vulneranetxmlreportgenerator.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/report/openvasreportgenerator.py to openvasreportgenerator.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/report/htmlreportgenerator.py to htmlreportgenerator.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/report/reportgeneratorinfo.py to reportgeneratorinfo.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/report/reportgenerator.py to reportgenerator.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/report/xmlreportgenerator.py to xmlreportgenerator.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/file/auxtext.py to auxtext.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/file/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/file/vulnerabilityxmlparser.py to vulnerabilityxmlparser.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/file/anomalyxmlparser.py to anomalyxmlparser.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/file/reportgeneratorsxmlparser.py to reportgeneratorsxmlparser.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/swf_parser.py to swf_parser.pyc
File "build/bdist.linux-x86_64/egg/wapitiCore/net/swf_parser.py", line 293
with open(sys.argv[1], 'rb') as fh:
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/lswww.py to lswww.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/crawlerpersister.py to crawlerpersister.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/jsoncookie.py to jsoncookie.pyc
File "build/bdist.linux-x86_64/egg/wapitiCore/net/jsoncookie.py", line 45
dotdomain = domain if domain[0] == '.' else '.' + domain
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/lswww.py to lswww.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/crawlerpersister.py to crawlerpersister.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/jsoncookie.py to jsoncookie.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/lamejs.py to lamejs.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/HTTP.py to HTTP.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/jsparser/jsparser.py to jsparser.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/net/jsparser/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/language/vulnerability.py to vulnerability.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/language/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/wapitiCore/language/language.py to language.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build/bdist.linux-x86_64/egg/share
creating build/bdist.linux-x86_64/egg/share/doc
creating build/bdist.linux-x86_64/egg/share/doc/wapiti
copying doc/AUTHORS -> build/bdist.linux-x86_64/egg/share/doc/wapiti
copying doc/ChangeLog_Wapiti -> build/bdist.linux-x86_64/egg/share/doc/wapiti
copying doc/ChangeLog_lswww -> build/bdist.linux-x86_64/egg/share/doc/wapiti
copying doc/example.txt -> build/bdist.linux-x86_64/egg/share/doc/wapiti
copying INSTALL -> build/bdist.linux-x86_64/egg/share/doc/wapiti
copying README -> build/bdist.linux-x86_64/egg/share/doc/wapiti
copying TODO -> build/bdist.linux-x86_64/egg/share/doc/wapiti
copying VERSION -> build/bdist.linux-x86_64/egg/share/doc/wapiti
creating build/bdist.linux-x86_64/egg/share/man
creating build/bdist.linux-x86_64/egg/share/man/man1
copying doc/wapiti.1.gz -> build/bdist.linux-x86_64/egg/share/man/man1
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.4/wapiti -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.4/wapiti-cookie -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.4/wapiti-getcookie -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/wapiti to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/wapiti-cookie to 755
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/wapiti-getcookie to 755
copying wapiti.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying wapiti.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying wapiti.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying wapiti.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying wapiti.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
wapitiCore.attack.attack: module references __file__
wapitiCore.report.htmlreportgenerator: module references __file__
wapitiCore.language.language: module references __file__
creating 'dist/wapiti-2.3.0-py2.4.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing wapiti-2.3.0-py2.4.egg
removing '/usr/lib/python2.4/site-packages/wapiti-2.3.0-py2.4.egg' (and everything under it)
creating /usr/lib/python2.4/site-packages/wapiti-2.3.0-py2.4.egg
Extracting wapiti-2.3.0-py2.4.egg to /usr/lib/python2.4/site-packages
File "/usr/lib/python2.4/site-packages/wapiti-2.3.0-py2.4.egg/wapitiCore/net/swf_parser.py", line 293
with open(sys.argv[1], 'rb') as fh:
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/wapiti-2.3.0-py2.4.egg/wapitiCore/net/jsoncookie.py", line 45
dotdomain = domain if domain[0] == '.' else '.' + domain
^
SyntaxError: invalid syntax
Extracting wapiti-2.3.0-py2.4.egg to /usr/lib/python2.4/site-packages
wapiti 2.3.0 is already the active version in easy-install.pth
Installing wapiti script to /usr/bin
Installing wapiti-cookie script to /usr/bin
Installing wapiti-getcookie script to /usr/bin
Installed /usr/lib/python2.4/site-packages/wapiti-2.3.0-py2.4.egg
Processing dependencies for wapiti==2.3.0
Searching for requests>=1.2.3
Reading http://cheeseshop.python.org/pypi/requests/
Reading http://python-requests.org
Reading http://cheeseshop.python.org/pypi/requests/2.2.1
Best match: requests 2.2.1
Downloading https://pypi.python.org/packages/source/r/requests/requests-2.2.1.tar.gz#md5=ac27081135f58d1a43e4fb38258d6f4e
Processing requests-2.2.1.tar.gz
Running requests-2.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-KEPWKT/requests-2.2.1/egg-dist-tmp-dMjDIE
Traceback (most recent call last):
File "setup.py", line 60, in ?
install_requires=[
File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib/python2.4/site-packages/setuptools/command/install.py", line 76, in run
self.do_egg_install()
File "/usr/lib/python2.4/site-packages/setuptools/command/install.py", line 100, in do_egg_install
cmd.run()
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 473, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 518, in process_distribution
distros = WorkingSet([]).resolve(
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 481, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 717, in best_match
return self.obtain(req, installer) # try and download/install
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 729, in obtain
return installer(requirement)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 446, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 471, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 919, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.4/site-packages/setuptools/sandbox.py", line 26, in run_setup
DirectorySandbox(setup_dir).run(
File "/usr/lib/python2.4/site-packages/setuptools/sandbox.py", line 63, in run
return func()
File "/usr/lib/python2.4/site-packages/setuptools/sandbox.py", line 29, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 29
with open('README.rst') as f:
^
SyntaxError: invalid syntax
Two thoughts occur to me...first, is it possible that pip-1.5 uses syntax that is not compatible with your installed version of python (which appears to be 2.4)? The code in question is executing the ternary operation of python. If you do this in interactive mode what happens?
# python
>>> True if True else False
(it should print 'True')
The second, is whether or not you've actually stumbled on a pip bug.
I just checked the source https://github.com/pypa/pip/blob/develop/pip/log.py, and line 19 (quoted in your traceback) doesn't precisely match (it's close, but the lines are formatted slightly differently). It's possible you caught some sort of interm release. You could try:
# easy_install upgrade pip
That might fix it.
If not, you might downgrade to pip 1.3 (which I typically use most often).
# easy_install "pip==1.3.1"
I am a complete novice to the python world and have recently been asked to migrate a legacy application that runs on Python 2.4.15, SOAPpy Module & fpconst.
While installing SOAPpy 0.12.4 on the machine, I get an error saying that its unable to locate fpconst eventhough it has been installed on the server.
PFB the steps followed
Installed Python 2.4.15
Installed setuptools-0.6c11.win32-py2.4.exe
Installed wstools-0.3
installed fpconst-0.7.2
import fpconst
fpconst.version
'0.7.2'
Tried to install SOAPpy 0.12.4 but receiving an error saying
Installed d:\python2.4\lib\site-packages\soappy-0.12.4-py2.4.egg
Processing dependencies for SOAPpy==0.12.4
Searching for fpconst
Reading _http://pypi.python.org/simple/fpconst/
Download error: (11001, 'getaddrinfo failed') -- Some packages may not be found!
Couldn't find index page for 'fpconst' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading _http://pypi.python.org/simple/
Download error: (11001, 'getaddrinfo failed') -- Some packages may not be found!
PFB the complete installation log :
D:\Temp\SOAPpy
trial\SOAPpy-0.12.4>python setup.py
build running build running build_py
creating build creating build\lib
creating build\lib\SOAPpy copying
src\SOAPpy\Client.py ->
build\lib\SOAPpy copying
src\SOAPpy\Config.py ->
build\lib\SOAPpy copying
src\SOAPpy\Errors.py ->
build\lib\SOAPpy copying
src\SOAPpy\GSIServer.py ->
build\lib\SOAPpy copying
src\SOAPpy\NS.py -> build\lib\SOAPpy
copying src\SOAPpy\Parser.py ->
build\lib\SOAPpy copying
src\SOAPpy\Server.py ->
build\lib\SOAPpy copying
src\SOAPpy\SOAP.py -> build\lib\SOAPpy
copying src\SOAPpy\SOAPBuilder.py ->
build\lib\SOAPpy copying
src\SOAPpy\Types.py ->
build\lib\SOAPpy copying
src\SOAPpy\URLopener.py ->
build\lib\SOAPpy copying
src\SOAPpy\Utilities.py ->
build\lib\SOAPpy copying
src\SOAPpy\version.py ->
build\lib\SOAPpy copying
src\SOAPpy\WSDL.py -> build\lib\SOAPpy
copying src\SOAPpy__init__.py ->
build\lib\SOAPpy running egg_info
writing requirements to
src\SOAPpy.egg-info\requires.txt
writing src\SOAPpy.egg-info\PKG-INFO
writing top-level names to
src\SOAPpy.egg-info\top_level.txt
writing dependency_links to
src\SOAPpy.egg-info\dependency_links.txt
reading manifest file
'src\SOAPpy.egg-info\SOURCES.txt'
writing manifest file
'src\SOAPpy.egg-info\SOURCES.txt'
D:\Temp\SOAPpy
trial\SOAPpy-0.12.4>python setup.py
install running install running
bdist_egg running egg_info writing
requirements to
src\SOAPpy.egg-info\requires.txt
writing src\SOAPpy.egg-info\PKG-INFO
writing top-level names to
src\SOAPpy.egg-info\top_level.txt
writing dependency_links to
src\SOAPpy.egg-info\dependency_links.txt
reading manifest file
'src\SOAPpy.egg-info\SOURCES.txt'
writing manifest file
'src\SOAPpy.egg-info\SOURCES.txt'
installing library code to
build\bdist.win32\egg running
install_lib running build_py creating
build\bdist.win32 creating
build\bdist.win32\egg creating
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\Client.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\Config.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\Errors.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\GSIServer.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\NS.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\Parser.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\Server.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\SOAP.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\SOAPBuilder.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\Types.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\URLopener.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\Utilities.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\version.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy\WSDL.py ->
build\bdist.win32\egg\SOAPpy copying
build\lib\SOAPpy__init__.py ->
build\bdist.win32\egg\SOAPpy
byte-compiling
build\bdist.win32\egg\SOAPpy\Client.py
to Client.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\Config.py
to Config.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\Errors.py
to Errors.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\GSIServer.py
to GSIServer.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\NS.py to
NS.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\Parser.py
to Parser.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\Server.py
to Server.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\SOAP.py
to SOAP.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\SOAPBuilder.py
to SOAPBuilder.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\Types.py
to Types.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\URLopener.py
to URLopener.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\Utilities.py
to Utilities.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\version.py
to version.pyc byte-compiling
build\bdist.win32\egg\SOAPpy\WSDL.py
to WSDL.pyc byte-compiling
build\bdist.win32\egg\SOAPpy__init__.py
to init.pyc creating
build\bdist.win32\egg\EGG-INFO copying
src\SOAPpy.egg-info\PKG-INFO ->
build\bdist.win32\egg\EGG-INFO copying
src\SOAPpy.egg-info\SOURCES.txt ->
build\bdist.win32\egg\EGG-INFO copying
src\SOAPpy.egg-info\dependency_links.txt
-> build\bdist.win32\egg\EGG-IN FO copying
src\SOAPpy.egg-info\requires.txt ->
build\bdist.win32\egg\EGG-INFO copying
src\SOAPpy.egg-info\top_level.txt ->
build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing
archive contents... creating dist
creating
'dist\SOAPpy-0.12.4-py2.4.egg' and
adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and
everything under it) Processing
SOAPpy-0.12.4-py2.4.egg Copying
SOAPpy-0.12.4-py2.4.egg to
d:\python2.4\lib\site-packages Adding
SOAPpy 0.12.4 to easy-install.pth file
Installed
d:\python2.4\lib\site-packages\soappy-0.12.4-py2.4.egg
Processing dependencies for
SOAPpy==0.12.4 Searching for fpconst
Reading
http://pypi.python.org/simple/fpconst/
Download error: (11001, 'getaddrinfo
failed') -- Some packages may not be
found!
Couldn't find index page for 'fpconst'
(maybe misspelled?) Scanning index of
all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: (11001, 'getaddrinfo
failed') -- Some packages may not be
found!
No local packages or download links
found for fpconst Best match: None
Traceback (most recent call last):
File "setup.py", line 68, in ?
install_requires=[ File "D:\Python2.4\lib\distutils\core.py",
line 149, in setup
dist.run_commands() File "D:\Python2.4\lib\distutils\dist.py",
line 946, in run_commands
self.run_command(cmd) File "D:\Python2.4\lib\distutils\dist.py",
line 966, in run_command
cmd_obj.run() File "D:\Python2.4\Lib\site-packages\setuptools\command\install.py",
line 76, in run
self.do_egg_install() File "D:\Python2.4\Lib\site-packages\setuptools\command\install.py",
line 104, in do_egg_install
cmd.run() File "D:\Python2.4\Lib\site-packages\setuptools\command\easy_install.py",
line 211, in run
self.easy_install(spec, not self.no_deps) File
"D:\Python2.4\Lib\site-packages\setuptools\command\easy_install.py",
line 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True) File
"D:\Python2.4\Lib\site-packages\setuptools\command\easy_install.py",
line 478, in install_item
self.process_distribution(spec, dist, deps) File
"D:\Python2.4\Lib\site-packages\setuptools\command\easy_install.py",
line 518, in process_distribution
distros = WorkingSet([]).resolve( File
"D:\Python2.4\Lib\site-packages\pkg_resources.py",
line 563, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File
"D:\Python2.4\Lib\site-packages\pkg_resources.py",
line 799, in best_matc h
return self.obtain(req, installer) # try and download/install File "D:\Python2.4\Lib\site-packages\pkg_resources.py",
line 811, in obtain
return installer(requirement) File
"D:\Python2.4\Lib\site-packages\setuptools\command\easy_install.py",
line 434, in easy_install
self.local_index File "D:\Python2.4\Lib\site-packages\setuptools\package_index.py",
line 475, i n fetch_distribution
return dist.clone(location=self.download(dist.location,
tmpdir)) AttributeError: 'NoneType'
object has no attribute 'clone'
Error: No local packages or download links found ..
Go here -> decompress the file -> open a cmd and cd dir to SOAPpy files -> type python setup.py install to run it.
Then run IDE to check it, by import SOAPpy.