It’s installed but doesn’t work for the same reason. If it was fixed last week, 
should I see it in this set:

[root@tofu ~]# pkgin update
database for http://pkgsrc.joyent.com/packages/SmartOS/2014Q2/i386/All is 
up-to-date
[root@tofu ~]#




[root@tofu /opt/local/lib/python3.4/site-packages]# pkgin list |grep py34
py34-pip-1.5.6       Installs Python packages as an easy_install replacement
py34-setuptools-5.0.1 New Python packaging system
[root@tofu /opt/local/lib/python3.4/site-packages]# which pip
/opt/local/bin/pip
[root@tofu /opt/local/lib/python3.4/site-packages]# pip list
Traceback (most recent call last):
  File "/opt/local/bin/pip", line 9, in <module>
    load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
  File 
"/opt/local/lib/python3.4/site-packages/distribute-0.6.49-py3.4.egg/pkg_resources.py",
 line 345, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File 
"/opt/local/lib/python3.4/site-packages/distribute-0.6.49-py3.4.egg/pkg_resources.py",
 line 2382, in load_entry_point
    return ep.load()
  File 
"/opt/local/lib/python3.4/site-packages/distribute-0.6.49-py3.4.egg/pkg_resources.py",
 line 2088, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/opt/local/lib/python3.4/site-packages/pip/__init__.py", line 9, in 
<module>
    from pip.log import logger
  File "/opt/local/lib/python3.4/site-packages/pip/log.py", line 8, in <module>
    from pip import backwardcompat
  File "/opt/local/lib/python3.4/site-packages/pip/backwardcompat/__init__.py", 
line 39, in <module>
    import xmlrpc.client as xmlrpclib
  File "/opt/local/lib/python3.4/xmlrpc/client.py", line 136, in <module>
    from xml.parsers import expat
  File "/opt/local/lib/python3.4/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: No module named 'pyexpat'
[root@tofu /opt/local/lib/python3.4/site-packages]#




On Jul 28, 2014, at 1:39 AM, Filip Hajny via smartos-discuss 
<[email protected]> wrote:

> Yes, the expat module has always been provided as a separate package (same as 
> other modules that come with the Python source tarball). Please make sure you 
> install that explicitly, if building pip yourself.
> 
> And it’s the py-setuptools package that should come with a dependency on 
> py-expat. I see that has been fixed in pkgsrc last week:
> 
> https://github.com/joyent/pkgsrc/commit/67981bb397b95d5894a601479dfa261d68a6076e#diff-be46ff3cbbe0f4dc018cc9ae129624e4
> 
> -F
> 
> 28. 7. 2014 v 6:52, Anil Jangity via smartos-discuss 
> <[email protected]>:
> 
>> … and I couldn’t use pip that was available for the same reason.
>> 
>> [root@tofu ~]# pkgin in py34-pip-1.5.6
>> calculating dependencies... done.
>> 
>> nothing to upgrade.
>> 2 packages to be installed: py34-setuptools-5.0.1 py34-pip-1.5.6 (2691K to 
>> download, 8909K to install)
>> 
>> proceed ? [Y/n] y
>> downloading packages...
>> py34-setuptools-5.0.1.tgz                                                   
>> 100%  556KB 555.9KB/s 555.9KB/s   00:00
>> py34-pip-1.5.6.tgz                                                          
>> 100% 2135KB   2.1MB/s 2.1MB/s   00:00
>> installing packages...
>> installing py34-setuptools-5.0.1...
>> installing py34-pip-1.5.6...
>> pkg_install warnings: 0, errors: 0
>> reading local summary...
>> processing local summary...
>> updating database: 100%
>> marking py34-pip-1.5.6 as non auto-removable
>> [root@tofu ~]# pip
>> Traceback (most recent call last):
>> File "/opt/local/bin/pip", line 9, in <module>
>>   load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
>> File "/opt/local/lib/python3.4/site-packages/pkg_resources.py", line 356, in 
>> load_entry_point
>>   return get_distribution(dist).load_entry_point(group, name)
>> File "/opt/local/lib/python3.4/site-packages/pkg_resources.py", line 2439, 
>> in load_entry_point
>>   return ep.load()
>> File "/opt/local/lib/python3.4/site-packages/pkg_resources.py", line 2155, 
>> in load
>>   ['__name__'])
>> File "/opt/local/lib/python3.4/site-packages/pip/__init__.py", line 9, in 
>> <module>
>>   from pip.log import logger
>> File "/opt/local/lib/python3.4/site-packages/pip/log.py", line 8, in <module>
>>   from pip import backwardcompat
>> File 
>> "/opt/local/lib/python3.4/site-packages/pip/backwardcompat/__init__.py", 
>> line 39, in <module>
>>   import xmlrpc.client as xmlrpclib
>> File "/opt/local/lib/python3.4/xmlrpc/client.py", line 136, in <module>
>>   from xml.parsers import expat
>> File "/opt/local/lib/python3.4/xml/parsers/expat.py", line 4, in <module>
>>   from pyexpat import *
>> ImportError: No module named 'pyexpat'
>> [root@tofu ~]#
>> 
>> 
>> 
>> 
>> On Jul 27, 2014, at 9:42 PM, Anil Jangity via smartos-discuss 
>> <[email protected]> wrote:
>> 
>>> Trying to build/install pip with the build in python3.4:
>>> 
>>> [admin@tofu ~]$ python3.4 get-pip.py
>>> Traceback (most recent call last):
>>> File "get-pip.py", line 17474, in <module>
>>>  main()
>>> File "get-pip.py", line 17466, in main
>>>  bootstrap(tmpdir=tmpdir)
>>> File "get-pip.py", line 17406, in bootstrap
>>>  import pip
>>> File "/tmp/tmpuur_wm8i/pip.zip/pip/__init__.py", line 9, in <module>
>>> File "/tmp/tmpuur_wm8i/pip.zip/pip/log.py", line 8, in <module>
>>> File "/tmp/tmpuur_wm8i/pip.zip/pip/backwardcompat/__init__.py", line 39, in 
>>> <module>
>>> File "/opt/local/lib/python3.4/xmlrpc/client.py", line 136, in <module>
>>>  from xml.parsers import expat
>>> File "/opt/local/lib/python3.4/xml/parsers/expat.py", line 4, in <module>
>>>  from pyexpat import *
>>> ImportError: No module named 'pyexpat'
>>> [admin@tofu ~]$
>>> 
>>> 
>>> I am not finding pyexpat.so anywhere, is this not included in this version 
>>> of python?
>>> 
>>> -------------------------------------------
>>> smartos-discuss
>>> Archives: https://www.listbox.com/member/archive/184463/=now
>>> RSS Feed: 
>>> https://www.listbox.com/member/archive/rss/184463/22338985-90400dfa
>>> Modify Your Subscription: https://www.listbox.com/member/?&;
>>> Powered by Listbox: http://www.listbox.com
>> 
>> 
>> 
>> -------------------------------------------
>> smartos-discuss
>> Archives: https://www.listbox.com/member/archive/184463/=now
>> RSS Feed: https://www.listbox.com/member/archive/rss/184463/21516860-abdb3ed6
>> Modify Your Subscription: https://www.listbox.com/member/?&;
>> Powered by Listbox: http://www.listbox.com
> 
> 
> 
> -------------------------------------------
> smartos-discuss
> Archives: https://www.listbox.com/member/archive/184463/=now
> RSS Feed: https://www.listbox.com/member/archive/rss/184463/22338985-90400dfa
> Modify Your Subscription: https://www.listbox.com/member/?&;
> Powered by Listbox: http://www.listbox.com



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to