I've used pip to install pyarrow for python 3.8 on Mac and Linux and am getting errors like:
ModuleNotFoundError: No module named 'pyarrow.gandiva'
ModuleNotFoundError: No module named 'pyarrow.csv'
AttributeError: module 'pyarrow.fs' has no attribute 'S3FileSystem'
I've also tried the conda forge installation which resolves the
AttributeError: module 'pyarrow.fs' has no attribute 'S3FileSystem' problem but creates other errors. What do I do here?
It seems like both the pip and conda forge installations are not complete for Python 3.8. I've tried the pip installation for 3.7 on Linux and this seems to be working fine.
please check here https://github.com/apache/arrow/issues/5987. This has provided the solution.
Related
I tried to use torch in spyder but I got error ModuleNotFoundError: No module named 'torch' so I tried use pip module not in cmd but in spyder itself following
import pip
pip.main(["install","torch"])
but got ModuleNotFoundError: No module named 'pip' and I know I had successfully used it in spyder before but recent automatic spyder updates probably have caused this error so I tried to install pip in my all python environments in cmd with cd {environment_path}but the pip was installed there. I also used python -m ensurepip in all environments but I still get ModuleNotFoundError: No module named 'pip'.
seems the problem is caused by reseting spyder(maybe there other causes) changing different python interpreters (environments) also is no help!! and installing or reinstalling with windows installer solved problem for me.
update: after restarting again many modules like 'pip', 'torch' and 'keyboard' are not recognized and reinstalling is no answer(no difference between installing for 'this user' or 'all users').
I am using Python 3.6 in anaconda on Windows 10.
I have tried to install the resource package using pip install resource.
It says Requirements already satisfied. But still import resource showing the same error.
How to resolve this issue on Windows?
I am facing a situation where modules like pyodbc which used to work earlier (3 weeks back) are not working anymore in my laptop. I am repeatedly getting Module not found error.
To resolve it by myself, I have gone through similar articles in stack overflow and implemented some suggestions like this. Yet the issue still persists. My machine (Windows 10) has only one python version (python v3.7.2), and I have never created any virtualenv.
C:\Users\Kris\eclipse-workspace\SQLPyODBC>conntest.py --serverName "IDEA-PC\SQLEXPRESS" --name "SampleStore" --trustedConn "yes"
Traceback (most recent call last):
File "C:\Users\Kris\eclipse-workspace\SQLPyODBC\conntest.py", line 1, in <module>
import pyodbc
ModuleNotFoundError: No module named 'pyodbc'
The referenced package is available under C:\Users\Kris\AppData\Local\Programs\Python\Python37-32\Lib\site-packages directory. Also the path of python interpreter in eclipse IDE (PyDev) is pointing to correct python executable path.
Just to test, I have downloaded pymssql module, and guess what... it is also showing the same error message. I have uninstalled and re-installed packages. No solution.
If you're using Anaconda install using following code,
conda install -c anaconda pyodbc
Before importing pyodbc in python, you should install the module by using pip directly from cmd.
pip install pyodbc
if that does not work, try using pip to uninstall and install it again after a restart (Or kill all python related tasks). Hope it works
While importing turicreate i get below error in jupyter notebook:
No module named 'turicreate.cython.cy_unity'
I have tried uninstalling and re-installing the package. Not sure what i am doing wrong here. I am using windows 10 64 bit machine and Python 3.7.
Please help. Thanks
TC does not support Python 3.7, the latest supported version is 3.6
You need to configure Python 3.6 virtual environment, which is easy to do with Anaconda.
Check out this article about details on setting up TC and other ML packages - https://medium.com/#maxim.volgin/machine-learning-compass-fcee3d9ac3b3
I am using Python 3.6 and I have miniconda. I have installed matplotlib using the command 'conda install matplotlib'. Courtsey other answers here, I also used the pip package to install matplotlib. However, when I try to import matplotlib on my Python Shell, it gives me a 'No Module named 'matplotlib' ' error.
I have tried reinstalling my python and tried it with python 3.7 and the issue has persisted.
None of the answers to other questions similar to this are working, what should I do? Any help is appreciated, thanks