GithubHelp home page GithubHelp logo

Comments (8)

dylanbaxter avatar dylanbaxter commented on June 11, 2024 2

I was able to resolve this issue...

The set_it_up function in setup.py, line 13 references conf_path, which is None because the installation evidently did not set the irs_config_dir environment variable. The previous line in setup.py attempts to locate this environment variable, which should resemble [HOMEDIR]/.irs.

So I ran the following (on Ubuntu):

export irs_config_dir=/home/dylan/.irs

I also added the line to /home/dylan/.bash_profile in order to persist the setting after restarts...

For Winders:

setx irs_config_dir "%HOMEPATH%\.irs"

You will have to close and reopen the command prompt for the variable to take effect...

'Hope that helps!

from irs.

palmenros avatar palmenros commented on June 11, 2024

I also have found this error. Have you find a workaround?

from irs.

amit-bhandari avatar amit-bhandari commented on June 11, 2024

No

from irs.

NightMachinery avatar NightMachinery commented on June 11, 2024

Ubuntu 18, Python 3.7.3

irs --setup
Traceback (most recent call last):
  File "/home/mary/miniconda3/bin/irs", line 10, in <module>
    sys.exit(main())
  File "/home/mary/miniconda3/lib/python3.7/site-packages/irs/cli/cli.py", line 40, in main
    set_it_up()
  File "/home/mary/miniconda3/lib/python3.7/site-packages/irs/install/setup.py", line 13, in set_it_up
    bin_path = os.path.join(conf_path, "bin")
  File "/home/mary/miniconda3/lib/python3.7/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
                                                                    

from irs.

NightMachinery avatar NightMachinery commented on June 11, 2024

I found this alternative, https://github.com/ritiek/spotify-downloader.
Works great.

from irs.

Mhowser avatar Mhowser commented on June 11, 2024

from irs.

cooperhammond avatar cooperhammond commented on June 11, 2024

Sorry about this, I've been working on a crystal port for the past 6 months in between school and other personal projects, and as such I'm not really supporting the python build anymore. It was a cluster fuck of code that was taking far too much time to actively maintain.

I'd highly recommend checking out the new version on Windows Subsystem for Linux, but there was so much disparity between systems on the python version that I gave up on it.

from irs.

Mhowser avatar Mhowser commented on June 11, 2024

from irs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.