Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails using conda, pip, setup.py using Python v3.11 and Pandas v2.1.2 -- cannot get this installed !! #11

Open
hilaryshea1 opened this issue Nov 7, 2023 · 0 comments

Comments

@hilaryshea1
Copy link

This looks like a nice package, but I am having trouble installing it with the current versions of pandas, Python, conda, and pip. I even tried using the setup.py file, which is a deprecated method.

I want to use it for data science and data analytics work, so having a conda package is going to be the most robust.
Please, please rebuild and distribute this as a standard conda package.

The setup.cfg and pyproject.toml files were not helpful in terms of helping me figure out package dependencies.

Can someone please explain the best way to install this?

I am using the following pertinent package versions:
Python v3.11
pandas v2.1.2

I tried several ways to install this package:

conda install -c conda-forge pandas_csv_sniffer ---> FAILED
pip install pandas_csv_sniffer ---> FAILED
python setup.py install ---> 

The setup.py installation SEEMED to work, but then when I try to import it the package cannot be found.

(pandas_tools2) C:\Users\hilar\Desktop\00_PythonWIP\pandas_csv_sniffer>python
Python 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:29:11) [MSC v.1935 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import pandas_csv_sniffer
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'pandas_csv_sniffer'

conda install -c conda-forge pandas_csv_sniffer ---> FAILED
This fails with a message "package not available in conda channels".

pip install pandas_csv_sniffer ---> FAILED

##################################################################################
Here is a snapshot of the current environment, created specifically to try to install this package. (conda and pip install commands failed, then "python setup.py install" was used.

(pandas_tools2) C:\Users\hilar\Desktop\00_PythonWIP\pandas_csv_sniffer>pip list

DEPRECATION: Loading egg at c:\programdata\anaconda3\envs\pandas_tools2\lib\site-packages\csv_sniffer_jdfekete-0.1-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at pypa/pip#12330
DEPRECATION: Loading egg at c:\programdata\anaconda3\envs\pandas_tools2\lib\site-packages\fsspec-2023.10.0-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at pypa/pip#12330
Package Version


agate 1.9.0
agate-dbf 0.2.2
agate-excel 0.2.3
agate-sql 0.5.8
anyio 3.7.1
archspec 0.2.2
argon2-cffi 23.1.0
argon2-cffi-bindings 21.2.0
arrow 1.3.0
astor 0.8.1
asttokens 2.4.1
async-lru 2.0.4
attrs 23.1.0
Babel 2.13.1
backports.functools-lru-cache 1.6.5
beautifulsoup4 4.12.2
bleach 6.1.0
boltons 23.0.0
Brotli 1.1.0
cached-property 1.5.2
certifi 2023.7.22
cffi 1.16.0
charset-normalizer 3.3.2
colorama 0.4.6
comm 0.1.4
conda 23.10.0
conda-libmamba-solver 23.11.0
conda-package-handling 2.2.0
conda_package_streaming 0.9.0
contourpy 1.2.0
cryptography 41.0.5
csv-sniffer-jdfekete 0.1
csv-sniffer-jdfekete 0.1
csv-sniffer-jdfekete 0.1
csvkit 1.3.0
cycler 0.12.1
dbfread 2.0.7
debugpy 1.8.0
decorator 5.1.1
deepmerge 1.1.0
defusedxml 0.7.1
duckdb 0.9.0
entrypoints 0.4
et-xmlfile 1.1.0
exceptiongroup 1.1.3
executing 2.0.1
fastjsonschema 2.18.1
fonttools 4.44.0
fqdn 1.5.1
fsspec 2023.10.0
fsspec 2023.10.0
future 0.18.3
greenlet 3.0.1
gw_dsl_parser 0.1.6a1
idna 3.4
imbalanced-learn 0.11.0
importlib-metadata 6.8.0
importlib-resources 6.1.1
ipykernel 6.26.0
ipympl 0.9.3
ipython 8.17.2
ipython-genutils 0.2.0
ipywidgets 8.1.1
isodate 0.6.1
isoduration 20.11.0
jedi 0.19.1
Jinja2 3.1.2
joblib 1.3.2
json5 0.9.14
jsonpatch 1.33
jsonpointer 2.4
jsonschema 4.19.2
jsonschema-specifications 2023.7.1
jupyter_client 8.6.0
jupyter_core 5.5.0
jupyter-events 0.9.0
jupyter-lsp 2.2.0
jupyter_server 2.10.0
jupyter_server_terminals 0.4.4
jupyterlab 4.0.8
jupyterlab-pygments 0.2.2
jupyterlab_recents 3.3.0
jupyterlab_server 2.25.0
jupyterlab-widgets 3.0.9
kiwisolver 1.4.5
langchain 0.0.308
langsmith 0.0.43
leather 0.3.4
libmambapy 1.5.3
MarkupSafe 2.1.3
matplotlib 3.8.1
matplotlib-inline 0.1.6
menuinst 1.4.20
mistune 3.0.2
munkres 1.1.4
nbclient 0.8.0
nbconvert 7.11.0
nbformat 5.9.2
nest-asyncio 1.5.8
notebook_shim 0.2.3
numpy 1.26.0
openpyxl 3.1.2
overrides 7.4.0
packaging 23.2
pandas 2.1.1
pandocfilters 1.5.0
parsedatetime 2.4
parso 0.8.3
patsy 0.5.3
pickleshare 0.7.5
Pillow 10.0.1
pip 23.3.1
pkgutil_resolve_name 1.3.10
platformdirs 3.11.0
pluggy 1.3.0
ply 3.11
prometheus-client 0.18.0
prompt-toolkit 3.0.39
psutil 5.9.5
pure-eval 0.2.2
pyarrow 13.0.0
pycosat 0.6.6
pycparser 2.21
Pygments 2.16.1
pygwalker 0.3.7
pyOpenSSL 23.3.0
pyparsing 3.1.1
PyQt5 5.15.10
PyQt5-sip 12.13.0
PySocks 1.7.1
python-dateutil 2.8.2
python-json-logger 2.0.7
python-slugify 8.0.1
pytimeparse 1.1.8
pytz 2023.3.post1
pywin32 306
pywinpty 2.0.12
PyYAML 6.0.1
pyzmq 25.1.1
referencing 0.30.2
regex 2023.10.3
requests 2.31.0
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rpds-py 0.12.0
ruamel.yaml 0.17.40
ruamel.yaml.clib 0.2.7
scikit-learn 1.3.2
scipy 1.11.3
seaborn 0.13.0
Send2Trash 1.8.2
setuptools 68.2.2
sip 6.7.12
six 1.16.0
sniffio 1.3.0
soupsieve 2.5
SQLAlchemy 2.0.23
sqlglot 18.8.0
stack-data 0.6.2
statsmodels 0.14.0
terminado 0.17.1
text-unidecode 1.3
threadpoolctl 3.2.0
tinycss2 1.2.1
tomli 2.0.1
tornado 6.3.3
tqdm 4.66.1
traitlets 5.13.0
truststore 0.8.0
types-python-dateutil 2.8.19.14
typing_extensions 4.8.0
typing-utils 0.1.0
tzdata 2023.3
uri-template 1.3.0
urllib3 2.0.7
wasmtime 12.0.0
wcwidth 0.2.9
webcolors 1.13
webencodings 0.5.1
websocket-client 1.6.4
wheel 0.41.3
widgetsnbextension 4.0.9
win-inet-pton 1.1.0
xlrd 2.0.1
zipp 3.17.0
zstandard 0.22.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant