Python-docx installation error. Cannot import 'etree' - pip

I am using using Pycharms to program using Python3.5. I tried to import docx module and I am getting the error shown in the picture. I am not able to do any pip install either. I get a fatal error shown in the second picture.

Related

shiboken2 & PySide2 issues

I get this error when trying to run a PyQt5 Application, I keep getting it and I think it's when I use pyuic5 to export code from QT Designer and then try to run it.
from .shiboken2 import *
ImportError: DLL load failed: The specified procedure could not be found.
I have used pip freeze to find the versions of shiboken2 and pyside2 and they are both the same version.
I installed Python 3.7 + And it works.

linecache error while creating python exe

I am trying to create an exe of my Python application using py2exe. I am getting this error: "Import error: No module named linecache"
I've tried everything that has been suggested on this forum in the past, but nothing works. Please help.

How to import Mlpy on IPython?

I am using IPyhton(py 3.4) notebook. I want to import mlpy module by typing import mlpy command. However I get the following error "No module named mlpy". I tried to install it by using "pip install" on the command prompt but this time I take the invalid syntax error. What should I need to do in order to install mlpy?

Error "matplotlib is not a package" on Mac problems

Getting the No module named 'matplotlib.pyplot'; matplotlib is not a package error when trying to run:
import matplotlib.pyplot
plt.plot([1,2,3,4],[4,7,8,12])
plt.show()
Im running python 3.3, and have installed the correct matplotlib, and six library. i have checked this by running pip list.
I have also tried running the file in terminal, and when i do this the error changes from matplotlib is not a module to no module named pyplot.

Error executing the result of cx_freeze using pycrypto

I am trying to freeze a Little python program using pycrypto library in Windows. Last version of everything including cx_freeze.
After running >python setup.py build apparently everything goes nice.
But running the exe file generated reports the following error : ImportError: cannot import name _AES
The error is reported by AES.py file which is part of pycrypto lybrary.
I have copied the pycrypto structure in the same directory where setup.py is and I played with the contents of setup.py making a lot of subtle changes but I always get the same error.
Does someone know what I am missing?

Resources