-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Straditize Fail to launch on Windows & convert image all black #21
Comments
This problem has also confused me. I really have no idea .. |
dear @Freebilbil and @zhouborui97! I feel sorry that you ran into these issues. Unfortunately I could not spend resources on maintaining the straditize library which is why you are facing these issues. They are just not up-to-date with the latest libraries... I do not yet know when I will be able to make a new release of straditize as there are a few more things to fix, but the problems you mention here should hopefully be resolved by the changes in #22. Can you please try the following? conda activate straditize
pip install git+https://github.com/Chilipp/straditize.git@fix/black-image to solve the second issue, you should use matplotlib 3.4, i.e. conda install matplotlib=3.4 which hopefully resolves the issue. |
Thank you very much for your reply!@Chilipp WARNING: Discarding git+https://github.com/Chilipp/straditize.git@fix/black-image. Command errored out with exit status 128: git clone --filter=blob:none -q https://github.com/Chilipp/straditize.git /private/var/folders/gr/3b5jcvq926l2xc7jt3z4hj980000gn/T/pip-req-build-kr4exwr7 Check the logs for full command output. |
sounds to me like your having issue with reaching out to the internet from the corresponding device, do you @Freebilbil? Otherwise you can also try to do it manually, e.g. via conda activate straditize
git clone https://github.com/Chilipp/straditize
cd straditize
git checkout fix/black-image
pip install . |
I'm sorry. I am not quite understand. the"fix/black-image"solution is for the"convert image all black" problem and the matplotlib3.4 is for the "fail to launch" problem? |
yes indeed @zhouborui97 |
ok i will check. |
@Chilipp sry,I run the wrong code to install straditize Collecting package metadata (current_repodata.json): done PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're
and use the search bar at the top of the page. I am not sure.Is this still a network problem? |
thanks a lot, the matplotlib 3.4 did solve the launching problem. i will continue to work on the convert image black problem @Chilipp |
my apologies @Freebilbil, it was a typo. You need to use |
use " pip install matplotlib==3.4.3" after using "pip uninstall matplotlib" to uninstall the 3.5 version of matplotlib @Freebilbil |
after gei image-black from github and run "pip install .", this error comes out
|
hmm ok. this is weird. Maybe you just uncomment line 59 in the |
yeah, after i delect that line, it finally work. No more black image! thanks a lot! Appreciate the help! |
you're welcome! and my apologies again for the issues. that's the problem with open-source software in research. too hard to maintain if the developer changes the job 😞 although I will try to put this repository here in a better condition |
Dear Sir,
I'm writing to inquiry about the project Stratidize you published on Github.
I am a graduate student from China, and I study in the field of paleoecology and pollen analysis. I have been using your marvelous python package Straditize for a year, but some problem have haunted me for a long time. Therefore, I would be grateful to discuss it with you.
The first problem is: I download Straditize 0.1.3 in November 2020, and the package is still functional. But all the package installed afterwards had a same problem in every computer( WINDOWS version). After I "select data part" and pressed "convert image", the image of the selected part blacked out totally. Then I tried to "digitize", and the curve of the diagram could still be found and marked by Straditze, but the data part was still total black. However, the package installed the earliest is still working properly.
The second problem is the major one : when I used other computers to install Straditize by running "conda create -n straditize -c conda-forge straditize", it didn't work. Because I not really familiar with Python, I would really appreciate your help.
Yours sincerely.
Zhou
More information below about the second problem.
psyplot -aV
(straditize) C:\Users\A>psyplot -aV
WARNING:psyplot.config.rcsetup:Failed to import plugin = psy_simple.plugin!
WARNING:psyplot.config.rcsetup:Failed to import plugin = psy_strat.plugin!
WARNING:psyplot:Could not import plugin = psy_simple.plugin
Traceback (most recent call last):
File "C:\Users\A\anaconda3\envs\straditize\Scripts\psyplot-script.py", line 10, in
sys.exit(main())
File "C:\Users\A\anaconda3\envs\straditize\lib\site-packages\psyplot_main_.py", line 73, in main
parser.parse_known2func(args)
File "C:\Users\A\anaconda3\envs\straditize\lib\site-packages\funcargparse_init_.py", line 956, in parse_known2func
ns, remainder = self.parse_known_args(args)
File "C:\Users\A\anaconda3\envs\straditize\lib\site-packages\funcargparse_init_.py", line 746, in parse_known_args
return super(FuncArgParser, self).parse_known_args(args, namespace)
File "C:\Users\A\anaconda3\envs\straditize\lib\argparse.py", line 1800, in parse_known_args
namespace, args = self.parse_known_args(args, namespace)
File "C:\Users\A\anaconda3\envs\straditize\lib\argparse.py", line 2006, in parse_known_args
start_index = consume_optional(start_index)
File "C:\Users\A\anaconda3\envs\straditize\lib\argparse.py", line 1946, in consume_optional
take_action(action, args, option_string)
File "C:\Users\A\anaconda3\envs\straditize\lib\argparse.py", line 1874, in take_action
action(self, namespace, argument_values, option_string)
File "C:\Users\A\anaconda3\envs\straditize\lib\site-packages\psyplot_main.py", line 364, in call
print(yaml.dump(psyplot.get_versions(), default_flow_style=False))
File "C:\Users\A\anaconda3\envs\straditize\lib\site-packages\psyplot_init.py", line 139, in get_versions
ret[str(ep.module_name)] = mod.get_versions(requirements)
UnboundLocalError: local variable 'mod' referenced before assignment
straditize -V
(straditize) C:\Users\A>straditize -V
WARNING:psyplot.config.rcsetup:Failed to import plugin = psy_simple.plugin!
WARNING:psyplot.config.rcsetup:Failed to import plugin = psy_strat.plugin!
0.1.3
conda info -a
conda list
The text was updated successfully, but these errors were encountered: