Conda ERROR _sysconfigdata_x86_64_conda_linux_gnu - python

I have one error: ModuleNotFoundError: No module named '_sysconfigdata_x86_64_conda_linux_gnu'
Using comand: pip3 install --editable ./BindingSitesFromFragments

I had this problem after installing anaconda (w/ python3.8.8) on Ubuntu 20.04 on an aws ec2 instance.
Here is my error message:
"ModuleNotFoundError: No module named '_sysconfigdata_x86_64_conda_linux_gnu'"
After a search
sudo find / -name _sysconfigdata_x86_64*`
and found the file
/home/ubuntu/anaconda3/lib/python3.8/_sysconfigdata_x86_64_conda_cos6_linux_gnu.py
Copying this file to the name of the missing file solved my problem
cd ~/anaconda3/lib/python3.8
cp _sysconfigdata_x86_64_conda_cos6_linux_gnu.py _sysconfigdata_x86_64_conda_linux_gnu.py

works however, it will throw an another error, Downgrade the pandas to 0.20.3 or 1.4.1 worked for me
#--------------------------------
from pandas.util._exceptions import find_stack_level
ImportError: cannot import name 'find_stack_level' from 'pandas.util._exceptions' (/home/pontis/anaconda3/envs/stats1/lib/python3.8/site-packages/pandas/util/_exceptions.py)

Related

I want to create a dmg file on my mac but I'm getting this error :: ModuleNotFoundError: No module named 'kivy_deps'

ModuleNotFoundError: No module named 'kivy_deps'
I have already installed kivy but still getting this error.
Please check if you have installed these as well:
pip install kivy-deps.sdl2
pip install kivy-deps.glew
you may need to install these explicitly

no module named configobj ImportError

when I try to run my python programme in Kali Linux I get this error:
python myprogramme.py
ImportError: no module named configobj
so I installed this using these methods
sudo apt install python3-configobj
pip install configobj
both installed successfully however I'm still getting this same error and I wondered if there were any other factors that might be causing the error
thank you

ModuleNotFoundError: No module named 'camelot'

I want to extract tables from pdf and for that
I used Camelot. But I'm getting this error whenever I try to import it:
import camelot
Traceback (most recent call last):
File "<ipython-input-11-679d8f55abf0>", line 1, in <module>
import camelot
ModuleNotFoundError: No module named 'camelot'
I've tried installing camelot using:
pip install camelot-py[cv]
and
pip install camelot-py[all]
but I'm getting the same error again and again. How do I remove this?
Your help would be appreciated!
Check for your python version by writing python --version in the command prompt with the path where python is installed.
For python 3.7, try:
pip install camelot-py
https://pypi.org/project/camelot-py/
I hope this works for you.
If using conda (this is what I'd recommend):
conda install -c conda-forge camelot-py
If using pip (may have to manually handle dependencies): pip install camelot-py[cv]
Official installation instructions: https://camelot-py.readthedocs.io/en/master/user/install.html#install
Try to install Camelot in correct python version directory using
''''python2.7 -m pip install''''
Use your python version number instead of 2.7 above
In your python environment you have to install padas library.
You can install Camelot python with following command:
pip install Camelot
After the installation of Camelot python library, ModuleNotFoundError: No module named 'Camelot' error will be solved.
Thanks

Installing Faiss on Lambda Stack

I want to install Faiss-GPU on Lambda Stack by conda install -c pytorch faiss-gpu but there is no conda installed.
I tried the solution mentioned here: Installing faiss on Google Colaboratory with this version of faiss https://anaconda.org/pytorch/faiss-gpu/1.6.0/download/linux-64/faiss-gpu-1.6.0-py36h1a5d453_0.tar.bz2 but is says:
ImportError: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory
ModuleNotFoundError: No module named '_swigfaiss_avx2'
ImportError: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory
ModuleNotFoundError: No module named '_swigfaiss'
What is the correct way to install Faiss on Lambda Stack?
if you are colab just try the following:
!sudo apt-get install libomp-dev
Then it works.

ModuleNotFoundError: No module named 'feather.compat'

I installed feather using
conda install feather-format -c conda-forge
and I believe that it was successfully installed but when I try to run a program with
from feather.compat import pdapi
I get an error saying that there is no module named 'feather.compat'. How do I fix this?

Categories

Resources