Closed aleko205 closed 2 years ago
I am seeing similar error messages also (with Python 3.8. 3.9, and 3.10), but I cannot see why this is happening. The requirements.txt file is included in the distribution! At this time, all I can suggest is to get the files directly. You have two options: the first is to download the tar file from GitHub, the other is to use git to clone the repository from GitHub.
Once you have the files, change directory to the top level directory, and run
pip install .
(note the "." after "install") Or you can run
python setup.py install
Either of these should work and install the package.
Thank you! Now it's works.
Thanks for the report. I think this is because only .py
files are shipped in a package to pypi. requirement.txt
should not be required when installing. I'll debug that.
Ok @aleko205 could you tests on a newly created venv ?
requirements.txt
file to the package@RemiDesgrange I tested it on another centos and installed successfully and works fine! But only one thing, as I see in the previous commit note "Fix case problem in windows (and linux) making everything lowercase" but I can't run it with pyotdr, I have to enter pyOTDR
[root@localhost ~]#
[root@localhost ~]# pyotdr
-bash: pyotdr: command not found
[root@localhost ~]#
[root@localhost ~]# pyOTDR
usage: pyOTDR [-h] SOR_file [{JSON,XML}]
pyOTDR: error: the following arguments are required: SOR_file
[root@localhost ~]#
Anyway it's not problem for me, Thank you
Yes, I think I messed up something when changing the README.
pyOTDR
: pyOTDR my.sor
pyotdr
: import pyotdr
pyotdr.sorparse("my.sor")
@RemiDesgrange Thank you
I'm trying to install pyotdr with
pip install pyotdr
But there is a some errorDo you have a suggestion what is the problem?
thank you in advance