No such file or directory error when installing github package in anaconda

Lulu Firdaus

I am trying to install this module from github.

https://github.com/ChristianSchneeweiss/Chat-txt-to-csv

First, I am following the steps listed here. https://medium.com/i-want-to-be-the-very-best/installing-packages-from-github-with-conda-commands-ebf10de396f4

so I used this line in Anaconda Powershell Prompt

pip install git+git://github.com/ChristianSchneeweiss/Chat-txt-to-csv.git

it didn't work. and then I used this code, based on the suggestions here. Use package from Github in Conda Virtual Environment

pip install C:\Users\Lulz\Documents\mamanitip\chat_wa\Chat-txt-to-csv-master.zip

it didn't work either. both codes resulted in this error.

     command: 'C:\ProgramData\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Lulz\\AppData\\Local\\Temp\\pip-req-build-2cr6dd41\\setup.py'"'"'; __file__='"'"'C:\\Users\\Lulz\\AppData\\Local\\Temp\\pip-req-build-2cr6dd41\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Lulz\AppData\Local\Temp\pip-pip-egg-info-3o0zsjkm'
         cwd: C:\Users\Lulz\AppData\Local\Temp\pip-req-build-2cr6dd41\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\ProgramData\Anaconda3\lib\tokenize.py", line 447, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Lulz\\AppData\\Local\\Temp\\pip-req-build-2cr6dd41\\setup.py'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

i've tried creating new Microsoft accounts, and installing in a new environment, but it still didn't work. it always resulted in the same error, just different users (as I change Microsoft accounts). what did I do wrong? thank you so much for your help.

jakub

The package at https://github.com/ChristianSchneeweiss/Chat-txt-to-csv cannot be installed with pip because it does not have the file setup.py. What you can do instead is to download the project onto your computer, install the project's dependencies, and then use the project from its directory. If you run python from within that project's directory, it will find the package.

git clone https://github.com/ChristianSchneeweiss/Chat-txt-to-csv
cd Chat-txt-to-csv
python -m pip install --no-cache-dir -r requirements.txt
python convert.py chat.txt

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

No such file or directory error when installing python package compound-split

Syntax error when calling github package in anaconda

Installing github version of package with Anaconda

Installing python Github package error: package directory 'src' does not exist

"fatal error: Eigen/Core: No such file or directory" when installing rpf package in rstudio

Installing node package globally without internet on server error: No such file or directory

Im getting an error "No such file or directory" when installing Composer Globally

error installing package on a branch with install_github

Error installing my published package in npm registry - Errorno - 4058. No such file or directory main.js error

Installing openCV in anaconda3 - Python.h: No such file or directory

HTTP 404 error when installing R package from public repo on Github

Github Actions: No such file or Directory error

Github actions, 401 unauthorized when installing a Github Package with npm or yarn

Error while installing Anaconda

Installing specific BUILD of an anaconda package

Error Installing Libffm: 'No such file or directory.'

"No such file or directory" when installing OCI CLI client

Error,when installing a new package in Octave

Peer Package Error with Codelyzer when installing breeze

Error when installing TDA package on R

Encountering an error when installing a package in Julia

Error when installing "devtools" package for R in Ubuntu

RcppArmadillo: Error when installing package on Mac

Getting error when installing package "cufflinks" in pycharm

Installing a GitHub Package in CircleCI

Error 'postgres.h: No such file or directory' when installing Apache AGE from the latest release

`ERROR: EOFError: read end of file` when using package after installing new Julia version

Error installing a python package from github in canopy terminal

Error while installing SparkR package using install_github