Git Product home page Git Product logo

Comments (6)

kentang2017 avatar kentang2017 commented on July 29, 2024 1

please download the whole project

from kinqimen.

kentang2017 avatar kentang2017 commented on July 29, 2024 1

please follow the below steps:

  1. download the entire folder "kinqimen" from Github
  2. create a new .py file in the "kinqimen" folder , for example new.py
  3. enter below code on new.py:
    from kinqimen import Qimen
    print(Qimen(2024,5,13,11,32).pan(2))
    the code should be executed without problems

from kinqimen.

P-Rainbow avatar P-Rainbow commented on July 29, 2024

@kentang2017 , thank you for your reply!

I did use "Download ZIP" from the green Code option, then unzip the content to my ......Python38\Lib\site-packages\kinqimen.

It still shows the same error....

image

from kinqimen.

kentang2017 avatar kentang2017 commented on July 29, 2024

Did you uninstall the old one on your pc ,like pip uninstall kinqimen

from kinqimen.

P-Rainbow avatar P-Rainbow commented on July 29, 2024

@kentang2017, thank you for your reply.

I've used "pip uninstall kinqimen", and make sure my "......Python38\Lib\site-packages" has no any sub-solders for kinqimen.

Then I download the whole project as kinqimen-master.zip. Then I create a sub-folder "kinqimen" in "......Python38\Lib\site-packages". Unzip "kinqimen-master.zip"'s content to "......Python38\Lib\site-packages\kinqimen".

When used:

qimen = kinqimen.Qimen(2021,12,13,18, 26).pan(1)

It still shows:

File "C:\Users\name\AppData\Local\Programs\Python\Python38\lib\site-packages\kinqimen\kinqimen.py", line 291, in pan
gz = config.gangzhi(self.year,
AttributeError: module 'config' has no attribute 'gangzhi'

from kinqimen.

P-Rainbow avatar P-Rainbow commented on July 29, 2024

@kentang2017 thank you again for the reply, and step by step guide.

Yes, now it works!

from kinqimen.

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.