I am currently using Linux Ubuntu 16.04 and python as the language. I am trying to convert an XLSX file to pdf and I came across this question with answer. Python - Converting XLSX to PDF.
One of the answer requires me to install pandas and also wkhtmltopdf and use them to convert the files into pdf format.
I tried installing pandas but after installing pandas, I am face with builtins.ImportError: No module named 'pandas'.
So far I have tried this solution but it did not work for me.
ImportError: No module named pandas
Is it possible for me not to also install Anaconda to help me.
Can someone guide me through this.
Thanks!
-
How did you install pandas? did it result in any error? are you in virtual env?Tom Ron– Tom Ron2020年07月09日 16:58:49 +00:00Commented Jul 9, 2020 at 16:58
-
I installed panda using pip install pandas. I have tried using pip3 install pandas but I was met with this error Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zj48c0_y/pandas/. Yes i am in a virtual environmentJohn– John2020年07月09日 17:00:50 +00:00Commented Jul 9, 2020 at 17:00
1 Answer 1
If you are using PyCharm IDE, you can try: Settings => Project Interpreter => plus button => search package to install