six

PyInstaller on 32-bit Linux - ImportError: The 'six' package is required

萝らか妹 提交于 2019-12-05 01:36:09
问题 I'm making a program using Python2.7 and Kivy1.9.2-dev , and trying to package it with PyInstaller-3.0 for different systems as a single executable. The systems I'm trying to package it for are these: 64-bit Linux Mint 17.3 32-bit Linux Mint 17 (also tried while upgrading to 17.1 and 17.3) 32-bit Windows XP SP3 Raspbian (Raspberry Pi) On all these systems the program is working well when just run with Python, uncompiled. (so, all Kivy dependencies are fine, too). However, out of the

How to install the Six module in Python2.7

烂漫一生 提交于 2019-12-04 00:32:21
问题 I am using Python 2.7 and trying to use dateutil as follows: from dateutil import parser as _date_parser However, I get the following error: Traceback (most recent call last): File "<pyshell#17>", line 1, in <module> from dateutil import parser as _date_parser File "C:\Python27\Lib\dateutil\parser.py", line 24, in <module> from six import text_type, binary_type, integer_types ImportError: No module named six Could you please let me know what is the six module for and how to get it installed

PyInstaller on 32-bit Linux - ImportError: The 'six' package is required

白昼怎懂夜的黑 提交于 2019-12-03 16:39:42
I'm making a program using Python2.7 and Kivy1.9.2-dev , and trying to package it with PyInstaller-3.0 for different systems as a single executable. The systems I'm trying to package it for are these: 64-bit Linux Mint 17.3 32-bit Linux Mint 17 (also tried while upgrading to 17.1 and 17.3) 32-bit Windows XP SP3 Raspbian (Raspberry Pi) On all these systems the program is working well when just run with Python, uncompiled. (so, all Kivy dependencies are fine, too). However, out of the executables made with PyInstaller, only the one made on 64-bit Linux works as one file. The Windows and Raspbian

On OS X El Capitan I can not upgrade a python package dependent on the six compatibility utilities NOR can I remove six

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 07:28:24
问题 I am trying to use scrape, but I have a problem. from six.moves import xmlrpc_client as xmlrpclib ImportError: cannot import name xmlrpc_client Then, I tried pip install --upgrade six scrape , but: Found existing installation: six 1.4.1 DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. Uninstalling six-1.4.1:

Scrapy: AttributeError: 'list' object has no attribute 'iteritems'

和自甴很熟 提交于 2019-12-03 06:38:38
问题 This is my first question on stack overflow. Recently I want to use linked-in-scraper, so I downloaded and instruct "scrapy crawl linkedin.com" and get the below error message. For your information, I use anaconda 2.3.0 and python 2.7.11. All the related packages, including scrapy and six, are updated by pip before executing the program. Traceback (most recent call last): File "/Users/byeongsuyu/anaconda/bin/scrapy", line 11, in <module> sys.exit(execute()) File "/Users/byeongsuyu/anaconda

On OS X El Capitan I can not upgrade a python package dependent on the six compatibility utilities NOR can I remove six

无人久伴 提交于 2019-12-02 20:10:24
I am trying to use scrape, but I have a problem. from six.moves import xmlrpc_client as xmlrpclib ImportError: cannot import name xmlrpc_client Then, I tried pip install --upgrade six scrape , but: Found existing installation: six 1.4.1 DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. Uninstalling six-1.4.1: Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip/basecommand.py", line

Scrapy: AttributeError: 'list' object has no attribute 'iteritems'

时间秒杀一切 提交于 2019-12-02 19:10:37
This is my first question on stack overflow. Recently I want to use linked-in-scraper , so I downloaded and instruct "scrapy crawl linkedin.com" and get the below error message. For your information, I use anaconda 2.3.0 and python 2.7.11. All the related packages, including scrapy and six, are updated by pip before executing the program. Traceback (most recent call last): File "/Users/byeongsuyu/anaconda/bin/scrapy", line 11, in <module> sys.exit(execute()) File "/Users/byeongsuyu/anaconda/lib/python2.7/site-packages/scrapy/cmdline.py", line 108, in execute settings = get_project_settings()

python 2.7 - Requirement.parse('six>=1.6.0'))

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 07:45:19
Python ... why does this happen? All of a sudden I get this error: Traceback (most recent call last): File "setup.py", line 36, in <module> zip_safe=False) File "/usr/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 320, in __init__ _Distribution.__init__(self, attrs) File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__ self.finalize_options() File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 386, in finalize_options ep.require(installer=self

PIP Installation doesn't work (six, numpy and python-dateutil requirements)

杀马特。学长 韩版系。学妹 提交于 2019-12-02 03:45:11
I'm a quite new to Python and want to install the Pillow package on Mac for Python 3.5. I use the pip install pillow command and get this error: Jaspers-MBP:~ jasperherrmann$ pip install pillow Collecting pillow Using cached Pillow-5.1.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl prompt-toolkit 1.0.15 has requirement six>=1.9.0, but you'll have six 1.4.1 which is incompatible. pandas 0.22.0 has requirement numpy>=1.9.0, but you'll have numpy 1.8.0rc1 which is incompatible. html5lib 1.0.1 has requirement six>=1.9, but you'll have

PIP Installation doesn't work (six, numpy and python-dateutil requirements)

ε祈祈猫儿з 提交于 2019-12-02 02:04:38
问题 I'm a quite new to Python and want to install the Pillow package on Mac for Python 3.5. I use the pip install pillow command and get this error: Jaspers-MBP:~ jasperherrmann$ pip install pillow Collecting pillow Using cached Pillow-5.1.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl prompt-toolkit 1.0.15 has requirement six>=1.9.0, but you'll have six 1.4.1 which is incompatible. pandas 0.22.0 has requirement numpy>=1.9.0, but you