Home > centos > ImportError: No module named '_struct' when installing setuptools

ImportError: No module named '_struct' when installing setuptools

February 13Hits:0

I've installed separate Python versions on Centos 6.7 using the instructions listed here, using a local install (not my package manager).

When I tried to install setuptools (e.g. python3.5 ez_setup.py) to my new Python versions, I got the titular error message ("No module named '_struct'"). I can't install versions of Python more recent than 2.6 using the package manager (a suggested solution to similar post) due to priority protections.

Does anybody know a simpler solution that does not require messing with the package manager? Or, alternately, is there some obvious way to work around the priority protections that doesn't involve any risk to other programs?

Related Articles

  • ImportError: No module named '_struct' when installing setuptoolsFebruary 13

    I've installed separate Python versions on Centos 6.7 using the instructions listed here, using a local install (not my package manager). When I tried to install setuptools (e.g. python3.5 ez_setup.py) to my new Python versions, I got the titular err

  • 'ImportError: No module named _struct' error when managing packagesAugust 13

    I'm running elementary OS 0.2 (based on Ubuntu 12.04) and starting today I'm seeing a weird error when attempting to install/upgrade packages. Just now for example I did a: sudo apt-get update which worked fine, followed by a: sudo apt-get upgrade wh

  • "ImportError: No module named Peppermint" after installing Ice from PeppermintJune 6

    Software Center is not opening since I installed "Ice" software (used in Peppermint OS) from ppa:kendalltweaver/peppermint and i keep getting this error - $ software-center ERROR:root:DebFileApplication import Traceback (most recent call last):

  • ImportError: No module named 'win32con' after installing ConcurrentLogHandlerJanuary 20

    i'm currently developing in Django under Windows when my colleague installed the ConcurrentLogHandler this error came up to me ImportError: No module named 'win32con' it works fine in Ubuntu since he is develop there but not on windows So, i installe

  • Error from install file: "No module named: _struct"April 4

    OK, so this all started trying to install OpenBazaar, but I've talked to their devs and it's my python that seems messed up somehow. I think I may have created/deleted a symbolic link somewhere like a year or so ago, and have NO memory of what/where

  • Cannot create Python 3.5 virtualenv ImportError: No module named 'gdbm'December 7

    I'm experiencing the same issue as this individual but unfortunately switching back to Python 3.4 is not an option for me, I need to be running 3.5. I've broken command not found? Here is what I'm trying mkvirtualenv --python=/usr/local/bin/python3 t

  • Installing PyCuda causes "ImportError: no module named setuptools"January 15

    I'm getting "ImportError: no module named setuptools" from the command: "sudo python setup.py install" by following: http://wiki.tiker.net/PyCuda/Installation/Linux/Ubuntu I did NOT follow all the steps on the guide, as I have installe

  • "ImportError: No module named eventlog" with eventlog installedFebruary 10

    I am trying out pinax. It will not run: cchilders:~/projects/pinax$ ./manage.py migrate Traceback (most recent call last): File "./manage.py", line 12, in <module> execute_from_command_line(sys.argv) File "/home/cchilders/.virtualenvs

  • one click install django image on digitalocean. importError: no module namedJanuary 26

    i followed this tutorial git cloned my project under user django and changed "django_project" to my own project for some reason, i keep getting internal server error. i checked gunicorn log file. the error message was: importError: no module nam

  • Error Installing Pandas: ImportError: No module named 'urllib3'January 27

    I have Python 2.7 and anaconda on my mac though I think some of the files related to these programs may have been deleted. I'm trying to download pandas but I keep getting a long error message that ends in "ImportError: No module named 'urllib3'"

  • "ImportError: No module named yagmail" installing/removing package broke python across entire pcFebruary 10

    yagmail and I combined to entirely break python on my computer. I installed yagmail, but after naming a script email.py, I came across all sorts of inexplainable problems, usually complaining about not being able to import from email.py. I see anothe

  • python 2.7 = ImportError: No module named _ioApril 14

    I decided to switch from Windows to Linux, so I installed Ubuntu Raring final beta. Unfortunately I have a Python problem. I was trying to use pip from a virtualenv I created, to install packages from a requirements.txt file like this: pip install -r

  • ImportError: No module named unstableFebruary 3

    I get the following error when I execute the gui.py script on my newly installed Ubuntu 12.04 LTS. Please help as I have recently started using Ubuntu, I am not too good at debugging yet. I get this error when I am trying to open the GUI of an open s

  • Ubuntu 14.04 Another ImportError: No module named qgis.coreSeptember 6

    Issue I feel like this is covered territory here, but the issue is has appeared on two separate occasions for me--first when upgrading from Ubuntu 12.04 to 14.04 in May. I got it fixed then, but I recently set up a virtualenv with and that has caused

  • ImportError: No module named sklearnMarch 21

    I installed scikit-learn on following these instructions Even when I try now to run again: sudo pip install -U scikit-learn I get this message proving again that installation is ok: Requirement already up-to-date: scikit-learn in /home/begueradj/.loc

  • ImportError: No module named pytz, even though sys.path says it's thereJanuary 15

    Trying to use pandas with Python 2.7.6 and it can't seem to load the pytz module. Here's everything I have leading up to this error: Matts-MacBook-Pro-2:~ mattrosenthal$ which python /Library/Frameworks/Python.framework/Versions/2.7/bin/python Matts-

  • virtualenv ImportError: No module named urllib3January 24

    I installed virtualenv on ubuntu. However, when I try to create a virtualenv I get an error. My Zenv folder does not contain "activate". How can I fix it? I would do this frequently. This is the first time I get this error. [email protected]

  • ImportError: No module named numpy.distutils.core (Ubuntu xgboost installation)February 11

    I recently downloaded Ubuntu 14.04 desktop version alongside Windows 10. My PC configs are: 4 GB RAM, 64 bit I installed Anaconda after downloading the file using: bash Anaconda3-2.5.0-Linux-x86_64.sh Installation was successful. Now in my ubuntu ter

  • ImportError: No module named externFebruary 17

    I'm getting this error when trying to install any package with pip. I have two pip instances, one with Python 2.7 and other with Python 3. Could not import setuptools which is required to install from a source distribution. Traceback (most recent cal

  • ImportError: No module named _md5November 17

    I am trying to install Altera's Quartus 10 web edition 32 bit (but I think only the 32bit part is relevant to my problem) on Fedora 14 (x86_64bit), which runs inside a VM. When I run the installer: ./altera_installer_cmd --install=quartus_free (...an

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.921 s.