1: https://res.cloudinary.com/eightcruz/image/upload/v1542263102/bwjuvefzfojq**strong text**qi8bksjp.jpg
Hello, I'm a beginner.
I thought it was a Python version problem, so I tried to run it in various versions, such as 2.7 and 3.7 versions
There was a problem like the image above, so I searched Google and
After receiving a program called aimsgb through git clone,
pip install .
I tried to install it by typing, but this problem was issued.
I used it in various ways, such as open('setup.py',rt,encoding='UTF8'), but
Not resolved.
Currently, we are using Python virtual environment using Anaconda.
And the second question
I could see the .py file with a program like pycharm.
Is there any way to view the script of the .py file in the same cmd window as the image file?
Please check. Thank you.
The file is written in utf8. Windows cmd is basically cp949 (euc-kr), so it's a problem.
Looking at the code, you only need to convert the README.rst file to cp949. Or it's a description anyway...I think it can be replaced with "" etc. accordingly
And the file output in the cmd window can be type filename.
I checked that it is installed in Windows 10 python 3.7.
Successfully installed aimsgb-0.1.0 monty-1.0.3 networkx-2.2 palettable-3.1.1 pandas-0.23.4 pydispatcher-2.0.5 pymatgen-2018.11.6 ruamel.yaml-0.15.77 scipy-1.1.0 spglib-1.11.1.post3 tabulate-0.8.2
But...If you want to develop it with Python, do it on Linux And the compilation of the expansion module.It's much more comfortable.
Modify line 4 to 5 at setup.py.
with open("README.rst") as f:
long_desc = f.read()
Please revise the above two lines as below.
long_desc = ""
© 2024 OneMinuteCode. All rights reserved.