Home > Blockchain >  Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml�
Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml�

Time:09-09

Yes, I checked previously asked questions with same subject but could not get answer (sorry for being noob).

I also cloned the repo and placed it under /Lib/site-packages folder but I guess it needs to be added to /.idea/workspace.xml file too though not sure how to do that (using PyCharm as ide).

I am trying to add https://github.com/Talha-Tariq/poptions to my project but getting the error while I try to install it using pip. I could not find the files (either setup.py or pyproject.toml) in the public repo of poptions. Please suggest how to address this? Thanks!

CodePudding user response:

It looks like there is no pypi package for poption and the way you should use it is just... copy the poptions directory to your project. With that way you can just use import poptions in your code (assuming you copy the directory visible by your PYTHONPATH).

Ah and do not forget to install poptions requirements with pip install -r requirements.txt.

  • Related